najm-kit 2.6.3 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { a as NajmThemeProviderProps, b as NajmAppearance, c as NajmMode, d as NajmDesignConfig, e as NajmThemeConfig, f as NajmAccent, g as NajmThemeTokens, h as NajmPreset, i as NajmComponentName, j as NajmComponentStyleConfig, k as NajmComponentThemeConfig, l as NajmTypographyConfig, m as NajmLayoutConfig, n as NajmVariantStyle, o as NTablePaginationVariant, p as NTablePaginationLabels, q as NTableCardPagination, r as NajmResponsiveBreakpoint, s as NajmResponsiveValue } from './NajmUIProvider-BsCoDjHH.js';
3
+ export { D as DEFAULT_PAGINATION_KEY_PREFIX, t as DEFAULT_TIME_ZONE, u as NAJM_COMPONENT_NAMES, v as NTableDefaults, w as NTableDefaultsProvider, x as NTableInfinitePagination, y as NTableLoadMorePagination, z as NajmComponentRadius, A as NajmDensity, B as NajmPreferencesContextValue, C as NajmPreferencesProvider, E as NajmPreferencesProviderProps, F as NajmSlotStyle, G as NajmTranslate, H as NajmUIProvider, N as NajmUIProviderProps, R as RADIUS_VALUE_MAP, I as buildPaginationLabels, J as resolveRadiusValue, K as useNTableDefaults, L as useNajmPreferencesContext, M as useNajmTheme, O as useNajmTimeZone } from './NajmUIProvider-BsCoDjHH.js';
2
4
  import * as React$1 from 'react';
3
5
  import React__default, { RefObject, ReactNode, ComponentType, InputHTMLAttributes, Ref, ImgHTMLAttributes, CSSProperties, MouseEvent, MouseEventHandler } from 'react';
4
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
@@ -36,169 +38,11 @@ export { N as NTableJson } from './NTableJson-tXqgfZI1.js';
36
38
  import * as _tanstack_table_core from '@tanstack/table-core';
37
39
  import { ClassValue } from 'clsx';
38
40
 
39
- type NajmMode = 'light' | 'dark';
40
- type NajmAccent = 'neutral' | 'emerald' | 'green' | 'slate' | 'blue' | 'violet';
41
- type NajmPreset = 'light' | 'dark' | 'dark-emerald' | 'dark-green' | 'dark-slate' | 'dark-blue' | 'dark-violet';
42
- interface NajmAppearance {
43
- /** Global border thickness, e.g. `'0'`, `'1px'`, `'2px'`. `'0'` hides borders. */
44
- borderWidth?: string;
45
- }
46
- interface NajmThemeTokens {
47
- background?: string;
48
- foreground?: string;
49
- card?: string;
50
- 'card-foreground'?: string;
51
- popover?: string;
52
- 'popover-foreground'?: string;
53
- primary?: string;
54
- 'primary-foreground'?: string;
55
- secondary?: string;
56
- 'secondary-foreground'?: string;
57
- tertiary?: string;
58
- 'tertiary-foreground'?: string;
59
- muted?: string;
60
- 'muted-foreground'?: string;
61
- accent?: string;
62
- 'accent-foreground'?: string;
63
- destructive?: string;
64
- 'destructive-foreground'?: string;
65
- border?: string;
66
- input?: string;
67
- ring?: string;
68
- sidebar?: string;
69
- 'sidebar-foreground'?: string;
70
- 'sidebar-primary'?: string;
71
- 'sidebar-primary-foreground'?: string;
72
- 'sidebar-accent'?: string;
73
- 'sidebar-accent-foreground'?: string;
74
- 'sidebar-border'?: string;
75
- 'sidebar-ring'?: string;
76
- 'chart-1'?: string;
77
- 'chart-2'?: string;
78
- 'chart-3'?: string;
79
- 'chart-4'?: string;
80
- 'chart-5'?: string;
81
- radius?: string;
82
- }
83
- /** Serializable theme settings suitable for JSON files, APIs, or local storage. */
84
- interface NajmThemeConfig {
85
- preset?: NajmPreset;
86
- mode?: NajmMode;
87
- accent?: NajmAccent;
88
- tokens?: NajmThemeTokens;
89
- /**
90
- * Per-mode token overrides authored on top of the composed preset. Keeps
91
- * light and dark customizations independent: editing a token in one mode
92
- * records it here so it survives switching to the other mode and back.
93
- * Providers resolve this field on top of the composed mode/accent preset.
94
- */
95
- overrides?: Partial<Record<NajmMode, NajmThemeTokens>>;
96
- accentOnly?: boolean;
97
- appearance?: NajmAppearance;
98
- radius?: string;
99
- }
100
- interface NajmThemeProviderProps {
101
- /** Serializable theme settings. Explicit provider props override this config. */
102
- config?: NajmThemeConfig;
103
- preset?: NajmPreset;
104
- mode?: NajmMode;
105
- accent?: NajmAccent;
106
- tokens?: NajmThemeTokens;
107
- /** When true, only inject accent tokens (primary, ring, accent and their foregrounds).
108
- * Everything else (bg, card, fg…) is inherited from the parent cascade. */
109
- accentOnly?: boolean;
110
- /** App-wide UI preferences (currently global border width). */
111
- appearance?: NajmAppearance;
112
- /** Global base radius, for example `0`, `0.5rem`, or `0.75rem`. */
113
- radius?: string;
114
- className?: string;
115
- asChild?: boolean;
116
- children: React.ReactNode;
117
- }
118
-
119
41
  /** Returns the active mode inherited from the nearest Najm theme provider. */
120
42
  declare function useNajmThemeMode(): NajmMode | undefined;
121
43
  declare function useNajmAppearance(): NajmAppearance;
122
44
  declare function NajmThemeProvider({ config, preset, mode, accent, tokens, accentOnly, appearance, radius, className, asChild, children, }: NajmThemeProviderProps): react_jsx_runtime.JSX.Element;
123
45
 
124
- type NajmDensity = "compact" | "default" | "comfortable";
125
- /** Tailwind's mobile-first viewport breakpoints, plus the default value. */
126
- type NajmResponsiveBreakpoint = "base" | "sm" | "md" | "lg" | "xl" | "2xl";
127
- /**
128
- * A scalar value for every viewport, or mobile-first breakpoint overrides.
129
- * For example: `{ base: 164, lg: 200, xl: 240 }`.
130
- */
131
- type NajmResponsiveValue<T> = T | Partial<Record<NajmResponsiveBreakpoint, T>>;
132
- type NajmComponentRadius = "inherit" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | string;
133
- interface NajmSlotStyle {
134
- className?: string;
135
- radius?: NajmComponentRadius;
136
- borderWidth?: string;
137
- padding?: string;
138
- paddingTop?: string;
139
- }
140
- interface NajmVariantStyle {
141
- /** Reuse another variant's recipe. Example: primary badge uses secondary. */
142
- use?: string;
143
- className?: string;
144
- tokens?: Record<string, string>;
145
- }
146
- interface NajmComponentStyleConfig {
147
- /** Render components that support it as a card-like surface. */
148
- card?: boolean;
149
- /** Sidebar-only: render section titles above grouped nav items. */
150
- showSectionLabels?: boolean;
151
- /** Sidebar-only: render separator lines between nav item sections. */
152
- showSectionSeparators?: boolean;
153
- /** Sidebar-only: expanded width in px (default 240). Supports responsive overrides. */
154
- expandedWidth?: NajmResponsiveValue<number>;
155
- /** Sidebar-only: collapsed width in px (default 64). Supports responsive overrides. */
156
- collapsedWidth?: NajmResponsiveValue<number>;
157
- /** Sidebar-only: mobile drawer width in px. Defaults to the expanded width. */
158
- mobileWidth?: NajmResponsiveValue<number>;
159
- defaultVariant?: string;
160
- defaultSize?: string;
161
- density?: NajmDensity;
162
- /** NTable-only: CSS color used for the table header and add button. */
163
- headerColor?: string;
164
- /** NTable-only: CSS color used for table header text and add button text. */
165
- headerTextColor?: string;
166
- /** NTable-only: CSS color used for table container and row borders. */
167
- borderColor?: string;
168
- radius?: NajmComponentRadius;
169
- borderWidth?: string;
170
- slots?: Record<string, NajmSlotStyle>;
171
- variants?: Record<string, NajmVariantStyle>;
172
- }
173
- type NajmComponentName = "button" | "badge" | "card" | "table" | "tabs" | "dialog" | "alert" | "sidebar" | "pageHeader" | "input" | "select" | "dropdown" | "sheet" | "popover" | "tooltip" | "progress" | "avatar";
174
- type NajmComponentThemeConfig = Partial<Record<NajmComponentName, NajmComponentStyleConfig>>;
175
- interface NajmTypographyConfig {
176
- fontSans?: string;
177
- fontHeading?: string;
178
- fontMono?: string;
179
- baseSize?: string;
180
- scale?: "compact" | "default" | "comfortable";
181
- lineHeight?: string;
182
- letterSpacing?: string;
183
- }
184
- interface NajmLayoutConfig {
185
- /** Page inline padding, usually used by NPageLayout. */
186
- pageGutter?: string;
187
- /** Vertical page padding and stacked section gap, usually used by NPageLayout. */
188
- sectionGap?: string;
189
- }
190
- interface NajmDesignConfig {
191
- version: 1;
192
- theme: NajmThemeConfig;
193
- typography?: NajmTypographyConfig;
194
- components?: NajmComponentThemeConfig;
195
- layout?: NajmLayoutConfig;
196
- }
197
- declare const NAJM_COMPONENT_NAMES: readonly NajmComponentName[];
198
- /** Maps a NajmComponentRadius keyword to a CSS value (or var). */
199
- declare const RADIUS_VALUE_MAP: Record<string, string>;
200
- declare function resolveRadiusValue(radius: NajmComponentRadius | undefined): string | undefined;
201
-
202
46
  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"];
203
47
  type ThemeCustomizerTokenKey = (typeof THEME_TOKEN_KEYS)[number];
204
48
 
@@ -2882,121 +2726,6 @@ type StepSubmitResult = {
2882
2726
  };
2883
2727
  declare function useFormSubmission({ steps, schema, defaultValues, onSubmit, currentStep, isLastStep, handleNext, markStepCompleted, reset, }: UseFormSubmissionOptions): FormSubmissionState;
2884
2728
 
2885
- /**
2886
- * How the page controls present position within the result.
2887
- *
2888
- * `numbered` renders a windowed list of page buttons. `compact` renders the
2889
- * `Page X of Y` text with first/previous/next/last controls.
2890
- *
2891
- * `numbered` needs a trustworthy page count. Under `manualPagination` that
2892
- * means the application must pass a `pageCount` derived from a real result
2893
- * total, or — when its endpoint reports no total — pass `hasNextPage` and no
2894
- * `pageCount` at all, which renders the unbounded bar described on the NTable
2895
- * prop. With neither, the bar falls back to `compact` on its own rather than
2896
- * inviting clicks on pages that may not exist.
2897
- *
2898
- * What it must never be handed is a `pageCount` that is really a lower bound,
2899
- * such as `pageIndex + 2`. That reads as a two-page result on page one and a
2900
- * three-page result on page two, so the bar grows a number per click with
2901
- * nothing to say why. NTable warns in development when it catches a count
2902
- * moving in lockstep with the page index.
2903
- */
2904
- type NTablePaginationVariant = "numbered" | "compact";
2905
- /**
2906
- * Accessible names and visible copy for the page controls.
2907
- *
2908
- * Every field is optional and falls back to English. Supply them to localize —
2909
- * the numbered variant is mostly digits, but its controls still need names.
2910
- */
2911
- interface NTablePaginationLabels {
2912
- /** Labels the rows-per-page select. Defaults to `"Rows/page"`. */
2913
- rowsPerPage?: string;
2914
- /** Accessible name of the whole page control group. Defaults to `"Pagination"`. */
2915
- pagination?: string;
2916
- /** Accessible name for one page button, given a 1-based page. */
2917
- goToPage?: (page: number) => string;
2918
- /** Accessible name of the current page button, given a 1-based page. */
2919
- currentPage?: (page: number) => string;
2920
- firstPage?: string;
2921
- previousPage?: string;
2922
- nextPage?: string;
2923
- lastPage?: string;
2924
- /** The `compact` variant's position text, given 1-based values. */
2925
- pageOf?: (page: number, pageCount: number) => string;
2926
- /**
2927
- * The position text when the result has no known total, given the 1-based
2928
- * page. Defaults to `"Page X"` — there is no `of Y` to state, and repeating
2929
- * the moving lower bound there would be the same lie the numbered bar avoids.
2930
- */
2931
- pageOfUnknown?: (page: number) => string;
2932
- /** The selection summary, given selected and total row counts. */
2933
- rowsSelected?: (selected: number, total: number) => string;
2934
- }
2935
- interface NTableLoadMorePagination {
2936
- /** Render the supplied rows as one card list with an explicit continuation control. */
2937
- mode: "load-more";
2938
- /** Whether the owning application has another server page available. */
2939
- hasNextPage: boolean;
2940
- /** True while the owning application is appending the next page. */
2941
- loadingMore?: boolean;
2942
- /** A controlled append error. Existing rows remain rendered and the control becomes Retry. */
2943
- loadMoreError?: ReactNode;
2944
- /** Fetch exactly one additional page. Najm Kit never constructs or owns the request. */
2945
- onLoadMore: () => unknown | Promise<unknown>;
2946
- loadMoreLabel?: string;
2947
- loadingMoreLabel?: string;
2948
- retryLabel?: string;
2949
- endLabel?: string;
2950
- loadMoreErrorLabel?: string;
2951
- /** Localize the polite announcement made after appended rows arrive. */
2952
- itemsLoadedLabel?: (count: number) => string;
2953
- }
2954
- interface NTableInfinitePagination {
2955
- /**
2956
- * Render the supplied rows as one card list that continues automatically when
2957
- * the end of the list scrolls into view. No control and no end-of-list
2958
- * element are rendered while the list is healthy; the continuation button
2959
- * appears only after an append failure, as the retry target.
2960
- */
2961
- mode: "infinite";
2962
- /** Whether the owning application has another server page available. */
2963
- hasNextPage: boolean;
2964
- /** True while the owning application is appending the next page. */
2965
- loadingMore?: boolean;
2966
- /** A controlled append error. Existing rows remain rendered and Retry appears. */
2967
- loadMoreError?: ReactNode;
2968
- /** Fetch exactly one additional page. Najm Kit never constructs or owns the request. */
2969
- onLoadMore: () => unknown | Promise<unknown>;
2970
- /**
2971
- * Distance ahead of the list end at which the next page is requested.
2972
- * Defaults to `"80px"`.
2973
- */
2974
- rootMargin?: string;
2975
- loadingMoreLabel?: string;
2976
- retryLabel?: string;
2977
- loadMoreErrorLabel?: string;
2978
- /** Localize the polite announcement made after appended rows arrive. */
2979
- itemsLoadedLabel?: (count: number) => string;
2980
- }
2981
- /**
2982
- * Presentation policy used while NTable is actually rendering cards.
2983
- *
2984
- * `paged` preserves the existing page controls. `all` renders every supplied
2985
- * row without a footer, in card and table modes alike. `load-more` renders
2986
- * every supplied row and adds a guarded, accessible continuation control.
2987
- * `infinite` renders every supplied row and continues on scroll instead.
2988
- *
2989
- * Applications remain responsible for fetching, accumulating, filtering,
2990
- * sorting, authorization, and privacy. `all` renders exactly the rows it is
2991
- * given and never fetches, so a caller that has not loaded the whole set must
2992
- * not select it.
2993
- */
2994
- type NTableCardPagination = {
2995
- mode?: "paged";
2996
- } | {
2997
- mode: "all";
2998
- } | NTableLoadMorePagination | NTableInfinitePagination;
2999
-
3000
2729
  interface NTableClassNames {
3001
2730
  root?: string;
3002
2731
  header?: string;
@@ -3537,30 +3266,6 @@ type NTablePageItem = {
3537
3266
  */
3538
3267
  declare function buildPageItems(pageIndex: number, pageCount: number, siblingCount?: number, unbounded?: boolean): NTablePageItem[];
3539
3268
 
3540
- /**
3541
- * Defaults every `NTable` beneath the provider inherits.
3542
- *
3543
- * Localized copy is the motivating case: an application with more than a couple
3544
- * of tables should not repeat the same label bundle at every render site, and
3545
- * an application with more than one locale should not have to remember to.
3546
- */
3547
- interface NTableDefaults {
3548
- paginationLabels?: NTablePaginationLabels;
3549
- }
3550
- /**
3551
- * Supply table defaults to everything below.
3552
- *
3553
- * `value` is passed straight through, so memoize it in the caller — an inline
3554
- * object literal rebuilds on every render of the shell and re-renders every
3555
- * table beneath it. Most label fields are functions, so `useMemo` on the
3556
- * translator is usually the whole job.
3557
- */
3558
- declare function NTableDefaultsProvider({ children, value, }: {
3559
- children: React__default.ReactNode;
3560
- value: NTableDefaults;
3561
- }): react_jsx_runtime.JSX.Element;
3562
- declare function useNTableDefaults(): NTableDefaults;
3563
-
3564
3269
  declare function NTableContent({ effectiveMode }: {
3565
3270
  effectiveMode?: string;
3566
3271
  }): react_jsx_runtime.JSX.Element;
@@ -4391,4 +4096,4 @@ interface NGridItemProps extends Omit<React$1.AllHTMLAttributes<HTMLDivElement>,
4391
4096
  declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps): react_jsx_runtime.JSX.Element;
4392
4097
  declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps): react_jsx_runtime.JSX.Element;
4393
4098
 
4394
- export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, type AvatarInputProps, type AvatarInputRadius, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, Badge, type BadgeColor, type BadgeIcon, type BadgeLook, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, type CheckboxGroupInputProps, CheckboxInput, type CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, type ColorArrayInputProps, type ColorFormat, ColorPickerInput, type ColorPickerInputProps, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_THEME_FILE_NAME, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormField, FormInput, type FormInputBackground, type FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputPreviewError, type ImageInputPreviewSource, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_COMPONENT_NAMES, NAJM_SAVED_THEME_VALUE, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, NBarChart, type NBarChartProps, NBrandingProvider, type NBrandingValue, 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, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NEmptyState, type NEmptyStateProps, NErrorBoundary, NErrorState, type NErrorStateProps, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIcon, type NIconProps, type NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NLoadingState, type NLoadingStateProps, 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, type NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, type NTableDefaults, NTableDefaultsProvider, NTableHeader, type NTableInfinitePagination, type NTableLoadMorePagination, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, type NTablePageItem, NTablePagination, type NTablePaginationLabels, type 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, type NajmAccent, type NajmAppearance, type NajmBorderSide, type NajmComponentName, type NajmComponentRadius, type NajmComponentStyleConfig, type NajmComponentThemeConfig, type NajmDensity, type NajmDesignConfig, NajmDesignProvider, type NajmDesignProviderProps, type NajmLayoutConfig, type NajmMode, type NajmPreset, type NajmResponsiveBreakpoint, type NajmResponsiveValue, NajmScroll, type NajmScrollProps, type NajmSlotStyle, type NajmThemeConfig, NajmThemeProvider, type NajmThemeProviderProps, type NajmThemeTokens, type NajmTypographyConfig, type NajmVariantStyle, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, OtpInput, type OtpInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RADIUS_VALUE_MAP, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarItemProps, type 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, badgeColorVariants, badgeVariants, buildDefaultFileColumns, buildPageItems, buttonVariants, cn, composePreset, createDialogStore, createTableStore, defineNajmDesignConfig, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, normalizeThemeFileName, parseColor, parseNajmDesignConfig, parseNajmThemeConfig, parseThemeFile, resolveHiddenBelowClass, resolvePreset, resolveRadiusValue, resolveSlot, resolveVariantAlias, sidebarBorderClasses, sliderVariants, stringifyNajmDesignConfig, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNBranding, useNForm, useNPortalScope, useNSidebar, useNTableDefaults, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
4099
+ export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, type AvatarInputProps, type AvatarInputRadius, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, Badge, type BadgeColor, type BadgeIcon, type BadgeLook, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, type CheckboxGroupInputProps, CheckboxInput, type CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, type ColorArrayInputProps, type ColorFormat, ColorPickerInput, type ColorPickerInputProps, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_THEME_FILE_NAME, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormField, FormInput, type FormInputBackground, type FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputPreviewError, type ImageInputPreviewSource, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_SAVED_THEME_VALUE, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, NBarChart, type NBarChartProps, NBrandingProvider, type NBrandingValue, 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, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NEmptyState, type NEmptyStateProps, NErrorBoundary, NErrorState, type NErrorStateProps, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIcon, type NIconProps, type NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NLoadingState, type NLoadingStateProps, 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, NajmDesignProvider, type NajmDesignProviderProps, NajmLayoutConfig, NajmMode, NajmPreset, NajmResponsiveBreakpoint, NajmResponsiveValue, NajmScroll, type NajmScrollProps, NajmThemeConfig, NajmThemeProvider, NajmThemeProviderProps, NajmThemeTokens, NajmTypographyConfig, NajmVariantStyle, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, OtpInput, type OtpInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, 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, badgeColorVariants, badgeVariants, buildDefaultFileColumns, buildPageItems, buttonVariants, cn, composePreset, createDialogStore, createTableStore, defineNajmDesignConfig, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, normalizeThemeFileName, parseColor, parseNajmDesignConfig, parseNajmThemeConfig, parseThemeFile, resolveHiddenBelowClass, resolvePreset, resolveSlot, resolveVariantAlias, sidebarBorderClasses, sliderVariants, stringifyNajmDesignConfig, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNBranding, useNForm, useNPortalScope, useNSidebar, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };