najm-kit 0.0.19 → 0.0.21

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
@@ -23,10 +23,12 @@ import { Command as Command$1 } from 'cmdk';
23
23
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
24
24
  import * as TogglePrimitive from '@radix-ui/react-toggle';
25
25
  import { ToasterProps } from 'sonner';
26
+ export { toast } from 'sonner';
26
27
  import * as react_hook_form from 'react-hook-form';
27
28
  import { FieldValues, FieldPath, ControllerProps, UseFormProps, SubmitHandler, UseFormReturn } from 'react-hook-form';
28
29
  import { Slot } from '@radix-ui/react-slot';
29
30
  import { LucideProps, LucideIcon } from 'lucide-react';
31
+ import * as culori from 'culori';
30
32
  import * as SliderPrimitive from '@radix-ui/react-slider';
31
33
  import { ZodTypeAny, TypeOf } from 'zod';
32
34
  import { SortingState, ExpandedState, ColumnDef, Row, ColumnFiltersState, VisibilityState, RowSelectionState } from '@tanstack/react-table';
@@ -37,14 +39,10 @@ import { ClassValue } from 'clsx';
37
39
  type NajmMode = 'light' | 'dark';
38
40
  type NajmAccent = 'neutral' | 'emerald' | 'green' | 'slate' | 'blue' | 'violet';
39
41
  type NajmPreset = 'light' | 'dark' | 'dark-emerald' | 'dark-green' | 'dark-slate' | 'dark-blue' | 'dark-violet';
40
- /**
41
- * Semantic border contrast preference. Components interpret this based on
42
- * their role (surface container, input, floating surface, etc.) so a single
43
- * app-wide value can drive border contrast for many components at once.
44
- */
45
- type NajmBorderDegree = 'none' | 'subtle' | 'default' | 'strong';
42
+ type NajmRadiusScale = 'shadcn' | 'uniform';
46
43
  interface NajmAppearance {
47
- borderDegree?: NajmBorderDegree;
44
+ /** Global border thickness, e.g. `'0'`, `'1px'`, `'2px'`. `'0'` hides borders. */
45
+ borderWidth?: string;
48
46
  }
49
47
  interface NajmThemeTokens {
50
48
  background?: string;
@@ -66,13 +64,51 @@ interface NajmThemeTokens {
66
64
  destructive?: string;
67
65
  'destructive-foreground'?: string;
68
66
  border?: string;
69
- 'border-subtle'?: string;
70
- 'border-strong'?: string;
71
67
  input?: string;
72
68
  ring?: string;
69
+ sidebar?: string;
70
+ 'sidebar-foreground'?: string;
71
+ 'sidebar-primary'?: string;
72
+ 'sidebar-primary-foreground'?: string;
73
+ 'sidebar-accent'?: string;
74
+ 'sidebar-accent-foreground'?: string;
75
+ 'sidebar-border'?: string;
76
+ 'sidebar-ring'?: string;
77
+ 'chart-1'?: string;
78
+ 'chart-2'?: string;
79
+ 'chart-3'?: string;
80
+ 'chart-4'?: string;
81
+ 'chart-5'?: string;
73
82
  radius?: string;
74
83
  }
84
+ /** Serializable theme settings suitable for JSON files, APIs, or local storage. */
85
+ interface NajmThemeConfig {
86
+ preset?: NajmPreset;
87
+ mode?: NajmMode;
88
+ accent?: NajmAccent;
89
+ tokens?: NajmThemeTokens;
90
+ /**
91
+ * Per-mode token overrides authored on top of the composed preset. Keeps
92
+ * light and dark customizations independent: editing a token in one mode
93
+ * records it here so it survives switching to the other mode and back.
94
+ * Providers resolve this field on top of the composed mode/accent preset.
95
+ */
96
+ overrides?: Partial<Record<NajmMode, NajmThemeTokens>>;
97
+ accentOnly?: boolean;
98
+ appearance?: NajmAppearance;
99
+ radius?: string;
100
+ radiusScale?: NajmRadiusScale;
101
+ /**
102
+ * Global spacing base that scales every spacing utility (padding, gap,
103
+ * margin, sizing) in the subtree. Maps to Tailwind v4's `--spacing` token,
104
+ * for example `'0.25rem'` (default), `'0.2rem'` (compact), `'0.3rem'`
105
+ * (comfortable). Acts as a single density dial for the whole UI.
106
+ */
107
+ spacing?: string;
108
+ }
75
109
  interface NajmThemeProviderProps {
110
+ /** Serializable theme settings. Explicit provider props override this config. */
111
+ config?: NajmThemeConfig;
76
112
  preset?: NajmPreset;
77
113
  mode?: NajmMode;
78
114
  accent?: NajmAccent;
@@ -80,29 +116,150 @@ interface NajmThemeProviderProps {
80
116
  /** When true, only inject accent tokens (primary, ring, accent and their foregrounds).
81
117
  * Everything else (bg, card, fg…) is inherited from the parent cascade. */
82
118
  accentOnly?: boolean;
83
- /** App-wide UI preferences (currently border contrast). */
119
+ /** App-wide UI preferences (currently global border width). */
84
120
  appearance?: NajmAppearance;
121
+ /** Global base radius, for example `0`, `0.5rem`, or `0.75rem`. */
122
+ radius?: string;
123
+ /**
124
+ * `shadcn` keeps the standard sm/md/lg offsets around the base radius.
125
+ * `uniform` makes every non-pill radius utility use the same value.
126
+ */
127
+ radiusScale?: NajmRadiusScale;
128
+ /** Global spacing base mapped to Tailwind's `--spacing` token. Scales all
129
+ * padding/gap/margin/sizing utilities in the subtree (density dial). */
130
+ spacing?: string;
85
131
  className?: string;
86
132
  asChild?: boolean;
87
133
  children: React.ReactNode;
88
134
  }
89
135
 
90
- declare function useNajmAppearance(): Required<NajmAppearance>;
91
- declare function NajmThemeProvider({ preset, mode, accent, tokens, accentOnly, appearance, className, asChild, children, }: NajmThemeProviderProps): react_jsx_runtime.JSX.Element;
136
+ declare function useNajmAppearance(): NajmAppearance;
137
+ declare function NajmThemeProvider({ config, preset, mode, accent, tokens, accentOnly, appearance, radius, radiusScale, spacing, className, asChild, children, }: NajmThemeProviderProps): react_jsx_runtime.JSX.Element;
138
+
139
+ /** Keeps authored TypeScript theme objects type-checked without changing them. */
140
+ declare function defineNajmThemeConfig(config: NajmThemeConfig): NajmThemeConfig;
141
+ /** Parses and validates theme settings loaded from JSON, an API, or local storage. */
142
+ declare function parseNajmThemeConfig(input: unknown): NajmThemeConfig;
143
+ declare function stringifyNajmThemeConfig(config: NajmThemeConfig, space?: number): string;
92
144
 
93
145
  declare function composePreset(mode: NajmMode, accent: NajmAccent): NajmThemeTokens;
94
146
  declare function resolvePreset(preset: NajmPreset): NajmThemeTokens;
95
147
 
96
- interface BorderResolutionOptions {
97
- borderDegree?: NajmBorderDegree;
98
- bordered?: boolean;
99
- fallback?: NajmBorderDegree;
148
+ type NajmDensity = "compact" | "default" | "comfortable";
149
+ type NajmComponentRadius = "inherit" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | string;
150
+ interface NajmSlotStyle {
151
+ className?: string;
152
+ radius?: NajmComponentRadius;
153
+ borderWidth?: string;
154
+ padding?: string;
155
+ paddingTop?: string;
156
+ }
157
+ interface NajmVariantStyle {
158
+ /** Reuse another variant's recipe. Example: primary badge uses secondary. */
159
+ use?: string;
160
+ className?: string;
161
+ tokens?: Record<string, string>;
100
162
  }
101
- declare function resolveBorderDegree(borderDegree: NajmBorderDegree | undefined, bordered: boolean | undefined, globalBorderDegree: NajmBorderDegree | undefined, fallback?: NajmBorderDegree): NajmBorderDegree;
102
- declare function borderColorClassForDegree(degree: NajmBorderDegree): string;
103
- declare function inputBorderColorClassForDegree(degree: NajmBorderDegree): string;
104
- declare function useResolvedBorderDegree(options?: BorderResolutionOptions): NajmBorderDegree;
105
- declare function surfaceBorderClasses(degree: NajmBorderDegree): string;
163
+ interface NajmComponentStyleConfig {
164
+ /** Render components that support it as a card-like surface. */
165
+ card?: boolean;
166
+ /** Sidebar-only: render section titles above grouped nav items. */
167
+ showSectionLabels?: boolean;
168
+ /** Sidebar-only: render separator lines between nav item sections. */
169
+ showSectionSeparators?: boolean;
170
+ defaultVariant?: string;
171
+ defaultSize?: string;
172
+ density?: NajmDensity;
173
+ /** NTable-only: CSS color used for the table header and add button. */
174
+ headerColor?: string;
175
+ /** NTable-only: CSS color used for table header text and add button text. */
176
+ headerTextColor?: string;
177
+ /** NTable-only: CSS color used for table container and row borders. */
178
+ borderColor?: string;
179
+ radius?: NajmComponentRadius;
180
+ borderWidth?: string;
181
+ slots?: Record<string, NajmSlotStyle>;
182
+ variants?: Record<string, NajmVariantStyle>;
183
+ }
184
+ type NajmComponentName = "button" | "badge" | "card" | "table" | "tabs" | "dialog" | "alert" | "sidebar" | "pageHeader" | "input" | "select" | "sheet" | "popover" | "tooltip" | "progress" | "avatar";
185
+ type NajmComponentThemeConfig = Partial<Record<NajmComponentName, NajmComponentStyleConfig>>;
186
+ interface NajmTypographyConfig {
187
+ fontSans?: string;
188
+ fontHeading?: string;
189
+ fontMono?: string;
190
+ baseSize?: string;
191
+ scale?: "compact" | "default" | "comfortable";
192
+ lineHeight?: string;
193
+ letterSpacing?: string;
194
+ }
195
+ interface NajmLayoutConfig {
196
+ /** Page inline padding, usually used by NPageLayout. */
197
+ pageGutter?: string;
198
+ /** Vertical page padding and stacked section gap, usually used by NPageLayout. */
199
+ sectionGap?: string;
200
+ }
201
+ interface NajmDesignConfig {
202
+ version: 1;
203
+ theme: NajmThemeConfig;
204
+ typography?: NajmTypographyConfig;
205
+ components?: NajmComponentThemeConfig;
206
+ layout?: NajmLayoutConfig;
207
+ }
208
+ declare const NAJM_COMPONENT_NAMES: readonly NajmComponentName[];
209
+ /** Maps a NajmComponentRadius keyword to a CSS value (or var). */
210
+ declare const RADIUS_VALUE_MAP: Record<string, string>;
211
+ declare function resolveRadiusValue(radius: NajmComponentRadius | undefined): string | undefined;
212
+
213
+ interface NajmDesignContextValue {
214
+ components: NajmComponentThemeConfig;
215
+ typography?: NajmTypographyConfig;
216
+ layout?: NajmLayoutConfig;
217
+ }
218
+ declare function useNajmDesign(): NajmDesignContextValue;
219
+ /** Returns the resolved component style recipe for a given component name. */
220
+ declare function useNajmComponentStyle(name: NajmComponentName): NajmComponentStyleConfig | undefined;
221
+ interface NajmDesignProviderProps {
222
+ config: NajmDesignConfig;
223
+ mode?: NajmMode;
224
+ className?: string;
225
+ children: React$1.ReactNode;
226
+ }
227
+ /**
228
+ * Applies a full design config: wraps children in NajmThemeProvider for theme
229
+ * tokens, applies typography CSS variables, and exposes component recipes via
230
+ * context. NajmThemeProvider continues to work standalone for token-only needs.
231
+ */
232
+ declare function NajmDesignProvider({ config, mode, className, children, }: NajmDesignProviderProps): react_jsx_runtime.JSX.Element;
233
+
234
+ /** Keeps authored TypeScript design objects type-checked without changing them. */
235
+ declare function defineNajmDesignConfig(config: NajmDesignConfig): NajmDesignConfig;
236
+ /** Parses and validates a design config (theme + typography + component recipes). */
237
+ declare function parseNajmDesignConfig(input: unknown): NajmDesignConfig;
238
+ declare function stringifyNajmDesignConfig(config: NajmDesignConfig, space?: number): string;
239
+ /**
240
+ * Resolves a variant against its recipe, following `use` aliases while guarding
241
+ * against loops. Returns the effective variant name and merged style.
242
+ */
243
+ declare function resolveVariantAlias(variants: Record<string, NajmVariantStyle> | undefined, variant: string): {
244
+ variant: string;
245
+ style?: NajmVariantStyle;
246
+ };
247
+
248
+ type NajmBorderSide = 'all' | 'top' | 'right' | 'bottom' | 'left';
249
+ /**
250
+ * Border utility for structural surfaces (cards, tables, dividers, side rails).
251
+ * `bordered === false` returns a per-side reset so primitives that already
252
+ * include a base Tailwind `border`/`border-r`/etc. still drop the border.
253
+ */
254
+ declare function surfaceBorderClasses(bordered?: boolean | undefined, side?: NajmBorderSide): string;
255
+ /**
256
+ * Border utility for sidebar surfaces. Uses the dedicated `sidebar-border`
257
+ * token so the sidebar edge can be themed independently from the main
258
+ * `border` token.
259
+ */
260
+ declare function sidebarBorderClasses(bordered?: boolean | undefined, side?: NajmBorderSide): string;
261
+ /** Border utility for form fields (inputs, selects). */
262
+ declare function inputBorderClasses(bordered?: boolean | undefined): string;
106
263
 
107
264
  interface KeyboardOptions {
108
265
  enabled?: boolean;
@@ -173,9 +330,9 @@ type NIconProps = Omit<React__default.HTMLAttributes<HTMLElement>, "children"> &
173
330
  declare const NIcon: React__default.FC<NIconProps>;
174
331
 
175
332
  declare const buttonVariants: (props?: {
176
- variant?: "subtle" | "default" | "secondary" | "tertiary" | "destructive" | "link" | "outline" | "ghost" | "success" | "warning" | "info" | "soft" | "plain";
177
- size?: "default" | "icon" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl";
178
- rounded?: "none" | "default" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
333
+ variant?: "secondary" | "tertiary" | "destructive" | "default" | "link" | "outline" | "ghost" | "success" | "warning" | "info" | "soft" | "subtle" | "plain";
334
+ size?: "default" | "icon" | "xs" | "sm" | "md" | "lg" | "xl" | "2xs" | "2xl" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl";
335
+ rounded?: "none" | "default" | "sm" | "md" | "lg" | "xl" | "full" | "2xl";
179
336
  fullWidth?: boolean;
180
337
  } & class_variance_authority_types.ClassProp) => string;
181
338
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
@@ -196,7 +353,6 @@ interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
196
353
  leftIcon?: ButtonIcon;
197
354
  rightIcon?: ButtonIcon;
198
355
  bordered?: boolean;
199
- borderDegree?: NajmBorderDegree;
200
356
  onClick?: AsyncClickHandler;
201
357
  }
202
358
  type NButtonProps = ButtonProps;
@@ -204,7 +360,7 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
204
360
  declare const NButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
205
361
 
206
362
  declare const badgeVariants: (props?: {
207
- variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning";
363
+ variant?: "secondary" | "destructive" | "default" | "outline" | "success" | "warning";
208
364
  } & class_variance_authority_types.ClassProp) => string;
209
365
  declare const badgeColorVariants: (props?: {
210
366
  color?: "neutral" | "primary" | "accent" | "secondary" | "destructive" | "success" | "warning" | "info";
@@ -236,7 +392,7 @@ type BadgeProps = React$1.ComponentProps<"span"> & {
236
392
  iconMap?: Record<string, BadgeIcon>;
237
393
  iconPosition?: "left" | "right";
238
394
  };
239
- declare function Badge({ className, variant, status, statusMap, label, showIcon, color, look, size, shape, icon, iconMap, iconPosition, asChild, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
395
+ declare function Badge({ className, variant, status, statusMap, label, showIcon, color, look, size, shape, icon, iconMap, iconPosition, asChild, children, style, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
240
396
  declare const NBadge: typeof Badge;
241
397
  type NBadgeLook = BadgeDisplayLook;
242
398
  type NBadgeProps = BadgeProps;
@@ -501,7 +657,7 @@ declare function NSheet({ open, onOpenChange, title, description, width, side, p
501
657
  declare function useDialog(store?: DialogStore): DialogApi;
502
658
 
503
659
  declare const alertVariants: (props?: {
504
- tone?: "default" | "destructive" | "error" | "success" | "warning" | "info";
660
+ tone?: "destructive" | "default" | "error" | "success" | "warning" | "info";
505
661
  look?: "solid" | "outline" | "soft" | "dash";
506
662
  size?: "sm" | "md" | "lg";
507
663
  orientation?: "horizontal" | "vertical" | "responsive";
@@ -741,7 +897,7 @@ type AvatarShape$1 = "circle" | "rounded" | "square";
741
897
  type AvatarStatusType = "online" | "offline" | "busy" | "away";
742
898
  declare const avatarVariants: (props?: {
743
899
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
744
- shape?: "circle" | "square" | "rounded";
900
+ shape?: "square" | "circle" | "rounded";
745
901
  ring?: boolean;
746
902
  } & class_variance_authority_types.ClassProp) => string;
747
903
  type AvatarRingColor = "background" | "primary" | "secondary" | "muted" | "destructive";
@@ -756,7 +912,7 @@ interface AvatarProps$1 extends Omit<React$1.ComponentProps<typeof AvatarPrimiti
756
912
  }
757
913
  declare function Avatar({ className, size, shape, ring, ringColor, src, alt, fallback, status, imageClassName, fallbackClassName, children, ...props }: AvatarProps$1): react_jsx_runtime.JSX.Element;
758
914
  declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
759
- declare function AvatarFallback({ className, delayMs: _delayMs, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
915
+ declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
760
916
  declare function AvatarStatus({ status, size, className, }: {
761
917
  status: AvatarStatusType;
762
918
  size?: AvatarSize;
@@ -1049,11 +1205,10 @@ interface CardProps {
1049
1205
  noPadding?: boolean;
1050
1206
  separator?: boolean;
1051
1207
  bordered?: boolean;
1052
- borderDegree?: NajmBorderDegree;
1053
1208
  className?: string;
1054
1209
  classNames?: CardClassNames;
1055
1210
  }
1056
- declare function NCard({ children, title, description, icon, iconColor, loading, error, empty, noData, loadingText, errorText, emptyText, noDataText, skeleton, onRetry, noPadding, separator, bordered, borderDegree, className, classNames, onClick, }: CardProps): react_jsx_runtime.JSX.Element;
1211
+ declare function NCard({ children, title, description, icon, iconColor, loading, error, empty, noData, loadingText, errorText, emptyText, noDataText, skeleton, onRetry, noPadding, separator, bordered, className, classNames, onClick, }: CardProps): react_jsx_runtime.JSX.Element;
1057
1212
 
1058
1213
  declare function truncateByCharacters(text: string, maxCharacters: number, suffix?: string): string;
1059
1214
  interface NSectionInfoProps {
@@ -1138,7 +1293,6 @@ interface BaseProps$1 {
1138
1293
  label: string;
1139
1294
  onClick?: () => void;
1140
1295
  bordered?: boolean;
1141
- borderDegree?: NajmBorderDegree;
1142
1296
  className?: string;
1143
1297
  classNames?: NStatCardClassNames;
1144
1298
  }
@@ -1455,6 +1609,12 @@ interface NFolderIconProps {
1455
1609
  }
1456
1610
  declare function NFolderIcon({ size, className }: NFolderIconProps): react_jsx_runtime.JSX.Element;
1457
1611
 
1612
+ type ColorFormat = "hex" | "rgb" | "hsl" | "oklch";
1613
+ declare function parseColor(input: string): culori.Color;
1614
+ declare function formatColor(input: string, format: ColorFormat): string;
1615
+ declare function detectFormat(input: string): ColorFormat;
1616
+ declare function toPickerHex(input: string): string;
1617
+
1458
1618
  type SliderVariant = "default" | "secondary" | "destructive" | "accent" | "success" | "warning" | "info";
1459
1619
  type SliderSize = "sm" | "md" | "lg";
1460
1620
  type SliderOrientation = "horizontal" | "vertical";
@@ -1512,7 +1672,6 @@ interface BaseProps {
1512
1672
  variant?: "default" | "rounded" | "ghost";
1513
1673
  status?: "default" | "error";
1514
1674
  bordered?: boolean;
1515
- borderDegree?: NajmBorderDegree;
1516
1675
  borderColor?: TailwindColor;
1517
1676
  iconColor?: string;
1518
1677
  }
@@ -1641,6 +1800,16 @@ interface ColorArrayInputProps extends BaseProps {
1641
1800
  onChange: (color: string) => void;
1642
1801
  colors?: string[];
1643
1802
  }
1803
+ interface ColorPickerInputProps extends ColorArrayInputProps {
1804
+ disabled?: boolean;
1805
+ /** `"swatches"` keeps the legacy inline UI. `"popover"` opens a tweakcn-style picker. */
1806
+ mode?: "popover" | "swatches";
1807
+ /** Which format tabs the popover exposes. */
1808
+ formats?: ColorFormat[];
1809
+ /** How emitted values are formatted. `"preserve"` keeps the input's own format. */
1810
+ output?: ColorFormat | "preserve";
1811
+ hideSwatches?: boolean;
1812
+ }
1644
1813
  interface TimeInputProps extends BaseProps {
1645
1814
  value?: string;
1646
1815
  onChange: (value: string) => void;
@@ -1700,7 +1869,6 @@ interface BaseInputProps extends React__default.HTMLAttributes<HTMLDivElement> {
1700
1869
  variant?: "default" | "rounded" | "ghost";
1701
1870
  status?: "default" | "error";
1702
1871
  bordered?: boolean;
1703
- borderDegree?: NajmBorderDegree;
1704
1872
  borderColor?: TailwindColor;
1705
1873
  hasIcon?: boolean;
1706
1874
  disabled?: boolean;
@@ -1726,7 +1894,7 @@ declare const RadioGroupInput: React__default.FC<RadioGroupInputProps>;
1726
1894
 
1727
1895
  declare const CheckboxInput: React__default.FC<CheckboxInputProps>;
1728
1896
 
1729
- declare function CheckboxGroupInput({ value, onChange, items, layout, className, variant, status, bordered, borderDegree, borderColor, disabled, }: CheckboxGroupInputProps & {
1897
+ declare function CheckboxGroupInput({ value, onChange, items, layout, className, variant, status, bordered, borderColor, disabled, }: CheckboxGroupInputProps & {
1730
1898
  disabled?: boolean;
1731
1899
  }): react_jsx_runtime.JSX.Element;
1732
1900
 
@@ -1757,12 +1925,11 @@ interface NUploaderProps {
1757
1925
  listTitle?: string;
1758
1926
  className?: string;
1759
1927
  dropzoneClassName?: string;
1760
- borderDegree?: NajmBorderDegree;
1761
1928
  onFilesSelected?: (files: File[]) => void;
1762
1929
  onCancel?: (id: string) => void;
1763
1930
  onRemove?: (id: string) => void;
1764
1931
  }
1765
- declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, borderDegree, onFilesSelected, onCancel, onRemove, }: NUploaderProps): react_jsx_runtime.JSX.Element;
1932
+ declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, onFilesSelected, onCancel, onRemove, }: NUploaderProps): react_jsx_runtime.JSX.Element;
1766
1933
 
1767
1934
  declare function ImageInput({ value, onChange, previewClassName, showPreview, previewPosition, allowClear, accept, defaultImage, imageSize, imageVersion, disabled, }: ImageInputProps & {
1768
1935
  disabled?: boolean;
@@ -1772,22 +1939,19 @@ declare const StarRatingInput: React__default.FC<StarRatingInputProps>;
1772
1939
 
1773
1940
  declare const ColorArrayInput: React__default.FC<ColorArrayInputProps>;
1774
1941
 
1775
- declare function ColorPickerInput({ value, onChange, colors, className, variant, status, bordered, borderDegree, borderColor, disabled, }: ColorArrayInputProps & {
1776
- disabled?: boolean;
1777
- }): react_jsx_runtime.JSX.Element;
1942
+ declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element;
1778
1943
 
1779
- declare function EmojiInput({ value, onChange, options, className, variant, status, bordered, borderDegree, borderColor, disabled, }: EmojiInputProps & {
1944
+ declare function EmojiInput({ value, onChange, options, className, variant, status, bordered, borderColor, disabled, }: EmojiInputProps & {
1780
1945
  disabled?: boolean;
1781
1946
  }): react_jsx_runtime.JSX.Element;
1782
1947
 
1783
1948
  declare function LangInput({ value, onChange, items, disabled, className, }: LangInputProps): react_jsx_runtime.JSX.Element;
1784
1949
 
1785
- declare function PhoneInput({ value, onChange, defaultCountry, placeholder, disabled, className, variant, status, bordered, borderDegree, borderColor, }: PhoneInputProps & {
1950
+ declare function PhoneInput({ value, onChange, defaultCountry, placeholder, disabled, className, variant, status, bordered, borderColor, }: PhoneInputProps & {
1786
1951
  variant?: "default" | "rounded" | "ghost";
1787
1952
  status?: "default" | "error";
1788
1953
  borderColor?: TailwindColor;
1789
1954
  bordered?: boolean;
1790
- borderDegree?: NajmBorderDegree;
1791
1955
  }): react_jsx_runtime.JSX.Element;
1792
1956
 
1793
1957
  declare const TimeInput: React__default.FC<TimeInputProps>;
@@ -1849,7 +2013,6 @@ interface FormSlotClassNames {
1849
2013
  declare const VariantProvider: React__default.FC<{
1850
2014
  variant?: FormVariant;
1851
2015
  bordered?: boolean;
1852
- borderDegree?: NajmBorderDegree;
1853
2016
  children: React__default.ReactNode;
1854
2017
  }>;
1855
2018
  declare const useVariant: () => FormVariant;
@@ -1906,7 +2069,6 @@ type FormProps<T extends ZodTypeAny = ZodTypeAny> = {
1906
2069
  form?: UseFormReturn<TypeOf<T>>;
1907
2070
  variant?: FormVariant;
1908
2071
  bordered?: boolean;
1909
- borderDegree?: NajmBorderDegree;
1910
2072
  as?: "form" | "div";
1911
2073
  className?: string;
1912
2074
  id?: string;
@@ -1991,7 +2153,6 @@ interface WizardFormProps {
1991
2153
  submitLabel?: string;
1992
2154
  variant?: FormVariant;
1993
2155
  bordered?: boolean;
1994
- borderDegree?: NajmBorderDegree;
1995
2156
  className?: string;
1996
2157
  classNames?: WizardClassNames;
1997
2158
  footerSlot?: ReactNode;
@@ -2003,7 +2164,7 @@ interface StepMeta {
2003
2164
  title: string;
2004
2165
  }
2005
2166
 
2006
- declare function WizardForm({ steps, schema, defaultValues, onSubmit, currentStep: controlledStep, onCurrentStepChange, onStepComplete, showHeader, showFooter, nextLabel, previousLabel, submitLabel, variant, bordered, borderDegree, className, classNames, footerSlot, }: WizardFormProps): react_jsx_runtime.JSX.Element;
2167
+ declare function WizardForm({ steps, schema, defaultValues, onSubmit, currentStep: controlledStep, onCurrentStepChange, onStepComplete, showHeader, showFooter, nextLabel, previousLabel, submitLabel, variant, bordered, className, classNames, footerSlot, }: WizardFormProps): react_jsx_runtime.JSX.Element;
2007
2168
 
2008
2169
  interface StepIndicatorProps {
2009
2170
  stepNumber: number;
@@ -2111,9 +2272,10 @@ interface TableState {
2111
2272
  className: string;
2112
2273
  classNames: NTableClassNames;
2113
2274
  bordered?: boolean;
2114
- borderDegree?: NajmBorderDegree;
2115
2275
  headerClassName: string;
2116
2276
  headerColor: string | undefined;
2277
+ headerTextColor: string | undefined;
2278
+ borderColor: string | undefined;
2117
2279
  showCheckbox: boolean;
2118
2280
  selectedRowId: string | null;
2119
2281
  headerSlot: ReactNode | null;
@@ -2225,9 +2387,10 @@ declare const createTableStore: () => {
2225
2387
  className: () => string;
2226
2388
  classNames: () => NTableClassNames;
2227
2389
  bordered?: () => boolean;
2228
- borderDegree?: () => NajmBorderDegree;
2229
2390
  headerClassName: () => string;
2230
2391
  headerColor: () => string;
2392
+ headerTextColor: () => string;
2393
+ borderColor: () => string;
2231
2394
  showCheckbox: () => boolean;
2232
2395
  selectedRowId: () => string;
2233
2396
  headerSlot: () => ReactNode;
@@ -2307,44 +2470,16 @@ declare const createTableStore: () => {
2307
2470
  };
2308
2471
  };
2309
2472
 
2310
- declare const HEADER_COLORS: {
2311
- readonly primary: {
2312
- readonly bg: "bg-primary/15";
2313
- readonly text: "[&_th]:text-foreground";
2314
- readonly row: "hover:bg-primary/5";
2315
- };
2316
- readonly violet: {
2317
- readonly bg: "bg-violet-600/30";
2318
- readonly text: "[&_th]:text-violet-800 dark:[&_th]:text-violet-300";
2319
- readonly row: "hover:bg-violet-500/5";
2320
- };
2321
- readonly blue: {
2322
- readonly bg: "bg-blue-600/30";
2323
- readonly text: "[&_th]:text-blue-800 dark:[&_th]:text-blue-300";
2324
- readonly row: "hover:bg-blue-500/5";
2325
- };
2326
- readonly emerald: {
2327
- readonly bg: "bg-emerald-600/30";
2328
- readonly text: "[&_th]:text-emerald-800 dark:[&_th]:text-emerald-400";
2329
- readonly row: "hover:bg-emerald-500/5";
2330
- };
2331
- readonly amber: {
2332
- readonly bg: "bg-amber-500/30";
2333
- readonly text: "[&_th]:text-amber-800 dark:[&_th]:text-amber-300";
2334
- readonly row: "hover:bg-amber-500/5";
2335
- };
2336
- readonly rose: {
2337
- readonly bg: "bg-rose-600/30";
2338
- readonly text: "[&_th]:text-rose-800 dark:[&_th]:text-rose-300";
2339
- readonly row: "hover:bg-rose-500/5";
2340
- };
2341
- readonly slate: {
2342
- readonly bg: "bg-slate-700/60";
2343
- readonly text: "[&_th]:text-slate-100 dark:[&_th]:text-slate-400";
2344
- readonly row: "hover:bg-slate-500/5";
2345
- };
2473
+ declare const TABLE_HEADER_COLOR_PRESETS: {
2474
+ readonly primary: "var(--primary)";
2475
+ readonly violet: "#7c3aed";
2476
+ readonly blue: "#2563eb";
2477
+ readonly emerald: "#059669";
2478
+ readonly amber: "#f59e0b";
2479
+ readonly rose: "#e11d48";
2480
+ readonly slate: "#475569";
2346
2481
  };
2347
- type TableHeaderColor = keyof typeof HEADER_COLORS;
2482
+ type TableHeaderColor = keyof typeof TABLE_HEADER_COLOR_PRESETS;
2348
2483
 
2349
2484
  interface NTableState {
2350
2485
  sorting: SortingState;
@@ -2395,7 +2530,6 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
2395
2530
  classNames?: NTableClassNames;
2396
2531
  /** Use a border instead of a shadow for the table container and cards. */
2397
2532
  bordered?: boolean;
2398
- borderDegree?: NajmBorderDegree;
2399
2533
  density?: "compact" | "comfortable" | "spacious";
2400
2534
  availableModes?: readonly M[];
2401
2535
  mode?: M;
@@ -2444,7 +2578,12 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
2444
2578
  toolbarLabels?: boolean;
2445
2579
  dynamicHeight?: boolean;
2446
2580
  headerClassName?: string;
2447
- headerColor?: TableHeaderColor;
2581
+ /** CSS color or Najm token name for the table header background. Defaults to primary. */
2582
+ headerColor?: string;
2583
+ /** CSS color or Najm token name for table header text. Defaults to primary foreground. */
2584
+ headerTextColor?: string;
2585
+ /** CSS color or Najm token name for table borders. Defaults to border. */
2586
+ borderColor?: string;
2448
2587
  showCheckbox?: boolean;
2449
2588
  onRowClick?: (row: T) => void;
2450
2589
  onRowContextMenu?: (e: React__default.MouseEvent, row: T) => void;
@@ -2496,9 +2635,8 @@ interface NDataCardShellProps {
2496
2635
  openRowMenu?: ((e: React__default.MouseEvent, row: any) => void) | null;
2497
2636
  menuButton?: boolean;
2498
2637
  bordered?: boolean;
2499
- borderDegree?: NajmBorderDegree;
2500
2638
  }
2501
- declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderDegree }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
2639
+ declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
2502
2640
 
2503
2641
  interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> {
2504
2642
  card: {
@@ -2605,9 +2743,10 @@ declare const TableStoreContext: React$1.Context<{
2605
2743
  className: () => string;
2606
2744
  classNames: () => NTableClassNames;
2607
2745
  bordered?: () => boolean;
2608
- borderDegree?: () => NajmBorderDegree;
2609
2746
  headerClassName: () => string;
2610
2747
  headerColor: () => string;
2748
+ headerTextColor: () => string;
2749
+ borderColor: () => string;
2611
2750
  showCheckbox: () => boolean;
2612
2751
  selectedRowId: () => string;
2613
2752
  headerSlot: () => React$1.ReactNode;
@@ -2723,9 +2862,10 @@ declare function useStoreSync(props: any): {
2723
2862
  className: () => string;
2724
2863
  classNames: () => NTableClassNames;
2725
2864
  bordered?: () => boolean;
2726
- borderDegree?: () => NajmBorderDegree;
2727
2865
  headerClassName: () => string;
2728
2866
  headerColor: () => string;
2867
+ headerTextColor: () => string;
2868
+ borderColor: () => string;
2729
2869
  showCheckbox: () => boolean;
2730
2870
  selectedRowId: () => string;
2731
2871
  headerSlot: () => React__default.ReactNode;
@@ -2918,15 +3058,20 @@ interface SidebarProps {
2918
3058
  defaultCollapsed?: boolean;
2919
3059
  onCollapsedChange?: (collapsed: boolean) => void;
2920
3060
  showCollapseButton?: boolean;
2921
- /** Where the collapse toggle lives: a full-width button in the footer, or a small floating circle on the sidebar's edge. */
2922
- collapseButtonPosition?: 'footer' | 'edge';
3061
+ /**
3062
+ * Where the collapse toggle lives:
3063
+ * - `'footer'` — a full-width button in the footer.
3064
+ * - `'edge'` — a small floating circle on the sidebar's edge.
3065
+ * - `'rail'` — (default) an interactive strip along the right border. Hovering it
3066
+ * shows a resize cursor + accent line; clicking or dragging the edge collapses/expands.
3067
+ */
3068
+ collapseButtonPosition?: 'footer' | 'edge' | 'rail';
2923
3069
  widths?: SidebarWidths;
2924
3070
  showSectionLabels?: boolean;
2925
3071
  showSectionIcons?: boolean;
2926
3072
  showSectionSeparators?: boolean;
2927
3073
  /** Use a border instead of the default flat sidebar edge. */
2928
3074
  bordered?: boolean;
2929
- borderDegree?: NajmBorderDegree;
2930
3075
  footer?: ReactNode;
2931
3076
  className?: string;
2932
3077
  classNames?: NAppShellClassNames;
@@ -2987,6 +3132,7 @@ interface NSidebarContentProps {
2987
3132
  showSectionLabels: boolean;
2988
3133
  showSectionIcons: boolean;
2989
3134
  showSectionSeparators: boolean;
3135
+ contentStyle?: CSSProperties;
2990
3136
  classNames?: NAppShellClassNames;
2991
3137
  }
2992
3138
  interface NSidebarSectionProps {
@@ -3029,22 +3175,21 @@ interface NSidebarMobileProps {
3029
3175
  showHamburgerButton?: boolean;
3030
3176
  children?: ReactNode;
3031
3177
  bordered?: boolean;
3032
- borderDegree?: NajmBorderDegree;
3033
3178
  }
3034
3179
 
3035
3180
  declare function NSidebarHeader({ children, collapsed, className, classNames }: NSidebarHeaderProps): react_jsx_runtime.JSX.Element;
3036
3181
 
3037
3182
  declare function NSidebarLogo({ icon, title, subtitle, onClick, collapsed, }: NSidebarLogoProps): react_jsx_runtime.JSX.Element;
3038
3183
 
3039
- declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, classNames, }: NSidebarContentProps): react_jsx_runtime.JSX.Element;
3184
+ declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, contentStyle, classNames, }: NSidebarContentProps): react_jsx_runtime.JSX.Element;
3040
3185
 
3041
3186
  declare function NSidebarSection({ group, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, isFirst, classNames, }: NSidebarSectionProps): react_jsx_runtime.JSX.Element;
3042
3187
 
3043
3188
  declare function NSidebarFooter({ children, onSettings, settingsLabel, onLogout, logoutLabel, showCollapseButton, collapsed, onToggleCollapsed, collapseLabel, expandLabel, isMobile, className, classNames, }: NSidebarFooterProps): react_jsx_runtime.JSX.Element;
3044
3189
 
3045
- declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, borderDegree, }: NSidebarMobileProps): react_jsx_runtime.JSX.Element;
3190
+ declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, }: NSidebarMobileProps): react_jsx_runtime.JSX.Element;
3046
3191
 
3047
- declare function NSidebar({ logo, navItems, activePath, isActive, onNavigate, linkComponent, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, showCollapseButton, collapseButtonPosition, showSectionLabels, showSectionIcons, showSectionSeparators, bordered, borderDegree, footer, className, classNames, mobileBreakpoint, mobileOpen: mobileOpenProp, defaultMobileOpen, onMobileOpenChange, closeOnNavigate, hamburgerLabel, closeLabel, collapseLabel, expandLabel, hamburgerClassName, showHamburgerButton, logoIcon, logoTitle, logoSubtitle, onLogoClick, onSettings, settingsLabel, onLogout, logoutLabel, widths, }: SidebarProps): react_jsx_runtime.JSX.Element;
3192
+ declare function NSidebar({ logo, navItems, activePath, isActive, onNavigate, linkComponent, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, showCollapseButton, collapseButtonPosition, showSectionLabels, showSectionIcons, showSectionSeparators, bordered, footer, className, classNames, mobileBreakpoint, mobileOpen: mobileOpenProp, defaultMobileOpen, onMobileOpenChange, closeOnNavigate, hamburgerLabel, closeLabel, collapseLabel, expandLabel, hamburgerClassName, showHamburgerButton, logoIcon, logoTitle, logoSubtitle, onLogoClick, onSettings, settingsLabel, onLogout, logoutLabel, widths, }: SidebarProps): react_jsx_runtime.JSX.Element;
3048
3193
 
3049
3194
  declare function NSidebarItem({ item, activePath, isActive, onNavigate, linkComponent: LinkComponent, collapsed, depth, classNames, }: SidebarItemProps): react_jsx_runtime.JSX.Element;
3050
3195
 
@@ -3136,6 +3281,11 @@ declare function NNavbar({ title, logo, user, actions, userMenuActions, onLogout
3136
3281
 
3137
3282
  declare function NCommandPalette({ commands, open, onOpenChange, placeholder, emptyMessage, className, }: NCommandPaletteProps): react_jsx_runtime.JSX.Element;
3138
3283
 
3284
+ interface NPageLayoutProps extends React$1.HTMLAttributes<HTMLElement> {
3285
+ as?: "main" | "div" | "section";
3286
+ }
3287
+ declare function NPageLayout({ as: Comp, className, style, ...props }: NPageLayoutProps): react_jsx_runtime.JSX.Element;
3288
+
3139
3289
  interface PageHeaderSlotProps {
3140
3290
  children: ReactNode;
3141
3291
  className?: string;
@@ -3156,8 +3306,9 @@ interface NPageHeaderProps {
3156
3306
  children?: ReactNode;
3157
3307
  className?: string;
3158
3308
  headerClassName?: string;
3309
+ /** Renders the header as a card-like surface. `bordered` is kept as an alias. */
3310
+ card?: boolean;
3159
3311
  bordered?: boolean;
3160
- borderDegree?: NajmBorderDegree;
3161
3312
  }
3162
3313
  declare function NPageHeaderActions({ children, className }: PageHeaderSlotProps): react_jsx_runtime.JSX.Element;
3163
3314
  declare namespace NPageHeaderActions {
@@ -3171,7 +3322,7 @@ declare function NPageHeaderTop({ children, className }: PageHeaderSlotProps): r
3171
3322
  declare namespace NPageHeaderTop {
3172
3323
  var displayName: string;
3173
3324
  }
3174
- declare function NPageHeader({ icon: Icon, title, subtitle, actions, filters, top, search, children, className, headerClassName, bordered, borderDegree }: NPageHeaderProps): react_jsx_runtime.JSX.Element;
3325
+ declare function NPageHeader({ icon: Icon, title, subtitle, actions, filters, top, search, children, className, headerClassName, card, bordered }: NPageHeaderProps): react_jsx_runtime.JSX.Element;
3175
3326
 
3176
3327
  interface InspectorSheetProps {
3177
3328
  open: boolean;
@@ -3181,4 +3332,4 @@ interface InspectorSheetProps {
3181
3332
  }
3182
3333
  declare function NInspectorSheet({ open, onClose, title, children }: InspectorSheetProps): react_jsx_runtime.JSX.Element;
3183
3334
 
3184
- export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupProps, AvatarImage, 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 BorderResolutionOptions, 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, ColorPickerInput, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, 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 FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, NCardFooter, type CardProps as NCardProps, 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 NDialogDirectProps, type NDialogProps, 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, NIcon, type NIconProps, type NIconSource, NIndicator, NInspectorSheet, NLoadingState, type NLoadingStateProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, 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 NSheetProps, NSidebar, NSidebarContent, type NSidebarContentProps, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarLogo, type NSidebarLogoProps, NSidebarMobile, type NSidebarMobileProps, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSlider, type NSliderProps, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, Swap as NSwap, type NSwapProps, NTable, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, NTablePagination, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, type NajmAccent, type NajmAppearance, type NajmBorderDegree, type NajmMode, type NajmPreset, NajmScroll, type NajmScrollProps, NajmThemeProvider, type NajmThemeProviderProps, type NajmThemeTokens, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarItemProps, type SidebarProps, type 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, 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, borderColorClassForDegree, buildDefaultFileColumns, buttonVariants, cn, composePreset, createDialogStore, createTableStore, dialogVariants, formatFileBytes, formatFileRelative, getIconColorProps, indicatorVariants, inputBorderColorClassForDegree, resolveBorderDegree, resolvePreset, resolveSlot, sliderVariants, surfaceBorderClasses, swapVariants, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNForm, useNPortalScope, useNajmAppearance, usePrefix, useResolvedBorderDegree, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
3335
+ export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupProps, AvatarImage, 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, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, 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 FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_COMPONENT_NAMES, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarProps, type AvatarShape as NAvatarShape, NBadge, type NBadgeLook, type NBadgeProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, NCardFooter, type CardProps as NCardProps, 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 NDialogDirectProps, type NDialogProps, 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, NIcon, type NIconProps, type NIconSource, NIndicator, NInspectorSheet, NLoadingState, type NLoadingStateProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPortalScopeProvider, NProgress, type NProgressProps, NRowActions, NSection, NSectionHeader, type NSectionHeaderActionsProps, type NSectionHeaderContentProps, type NSectionHeaderProps, type NSectionHeaderSubtitleProps, type NSectionHeaderTitleProps, NSectionInfo, type NSectionInfoProps, type NSectionProps, NSectionWithInfo, type NSectionWithInfoItem, type NSectionWithInfoProps, NSheet, type NSheetProps, NSidebar, NSidebarContent, type NSidebarContentProps, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarLogo, type NSidebarLogoProps, NSidebarMobile, type NSidebarMobileProps, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSlider, type NSliderProps, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, Swap as NSwap, type NSwapProps, NTable, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, NTablePagination, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, 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 NajmRadiusScale, NajmScroll, type NajmScrollProps, type NajmSlotStyle, type NajmThemeConfig, NajmThemeProvider, type NajmThemeProviderProps, type NajmThemeTokens, type NajmTypographyConfig, type NajmVariantStyle, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RADIUS_VALUE_MAP, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarItemProps, type SidebarProps, type 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, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseContextMenuResult, type UseNFormOptions, type UseStorageContextMenuOptions, type UseStorageContextMenuResult, type UserMenuAction, VariantProvider, type WizardClassNames, WizardForm, type WizardFormProps, alertVariants, avatarVariants, badgeColorVariants, badgeVariants, buildDefaultFileColumns, buttonVariants, cn, composePreset, createDialogStore, createTableStore, defineNajmDesignConfig, defineNajmThemeConfig, detectFormat, dialogVariants, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, indicatorVariants, inputBorderClasses, parseColor, parseNajmDesignConfig, parseNajmThemeConfig, resolvePreset, resolveRadiusValue, resolveSlot, resolveVariantAlias, sidebarBorderClasses, sliderVariants, stringifyNajmDesignConfig, stringifyNajmThemeConfig, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useNForm, useNPortalScope, useNajmAppearance, useNajmComponentStyle, useNajmDesign, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };