najm-kit 0.0.18 → 0.0.20

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
+ * The provider ignores this field — consumers compose `tokens` from it.
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,143 @@ 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
+ radius?: NajmComponentRadius;
174
+ borderWidth?: string;
175
+ slots?: Record<string, NajmSlotStyle>;
176
+ variants?: Record<string, NajmVariantStyle>;
177
+ }
178
+ type NajmComponentName = "button" | "badge" | "card" | "table" | "tabs" | "dialog" | "alert" | "sidebar" | "pageHeader" | "input" | "select" | "sheet" | "popover" | "tooltip" | "progress" | "avatar";
179
+ type NajmComponentThemeConfig = Partial<Record<NajmComponentName, NajmComponentStyleConfig>>;
180
+ interface NajmTypographyConfig {
181
+ fontSans?: string;
182
+ fontHeading?: string;
183
+ fontMono?: string;
184
+ baseSize?: string;
185
+ scale?: "compact" | "default" | "comfortable";
186
+ lineHeight?: string;
187
+ letterSpacing?: string;
188
+ }
189
+ interface NajmLayoutConfig {
190
+ /** Page inline padding, usually used by NPageLayout. */
191
+ pageGutter?: string;
192
+ /** Vertical page padding and stacked section gap, usually used by NPageLayout. */
193
+ sectionGap?: string;
194
+ }
195
+ interface NajmDesignConfig {
196
+ version: 1;
197
+ theme: NajmThemeConfig;
198
+ typography?: NajmTypographyConfig;
199
+ components?: NajmComponentThemeConfig;
200
+ layout?: NajmLayoutConfig;
201
+ }
202
+ declare const NAJM_COMPONENT_NAMES: readonly NajmComponentName[];
203
+ /** Maps a NajmComponentRadius keyword to a CSS value (or var). */
204
+ declare const RADIUS_VALUE_MAP: Record<string, string>;
205
+ declare function resolveRadiusValue(radius: NajmComponentRadius | undefined): string | undefined;
206
+
207
+ interface NajmDesignContextValue {
208
+ components: NajmComponentThemeConfig;
209
+ typography?: NajmTypographyConfig;
210
+ layout?: NajmLayoutConfig;
211
+ }
212
+ declare function useNajmDesign(): NajmDesignContextValue;
213
+ /** Returns the resolved component style recipe for a given component name. */
214
+ declare function useNajmComponentStyle(name: NajmComponentName): NajmComponentStyleConfig | undefined;
215
+ interface NajmDesignProviderProps {
216
+ config: NajmDesignConfig;
217
+ className?: string;
218
+ children: React$1.ReactNode;
219
+ }
220
+ /**
221
+ * Applies a full design config: wraps children in NajmThemeProvider for theme
222
+ * tokens, applies typography CSS variables, and exposes component recipes via
223
+ * context. NajmThemeProvider continues to work standalone for token-only needs.
224
+ */
225
+ declare function NajmDesignProvider({ config, className, children, }: NajmDesignProviderProps): react_jsx_runtime.JSX.Element;
226
+
227
+ /** Keeps authored TypeScript design objects type-checked without changing them. */
228
+ declare function defineNajmDesignConfig(config: NajmDesignConfig): NajmDesignConfig;
229
+ /** Parses and validates a design config (theme + typography + component recipes). */
230
+ declare function parseNajmDesignConfig(input: unknown): NajmDesignConfig;
231
+ declare function stringifyNajmDesignConfig(config: NajmDesignConfig, space?: number): string;
232
+ /**
233
+ * Resolves a variant against its recipe, following `use` aliases while guarding
234
+ * against loops. Returns the effective variant name and merged style.
235
+ */
236
+ declare function resolveVariantAlias(variants: Record<string, NajmVariantStyle> | undefined, variant: string): {
237
+ variant: string;
238
+ style?: NajmVariantStyle;
239
+ };
240
+
241
+ type NajmBorderSide = 'all' | 'top' | 'right' | 'bottom' | 'left';
242
+ /**
243
+ * Border utility for structural surfaces (cards, tables, dividers, side rails).
244
+ * `bordered === false` returns a per-side reset so primitives that already
245
+ * include a base Tailwind `border`/`border-r`/etc. still drop the border.
246
+ */
247
+ declare function surfaceBorderClasses(bordered?: boolean | undefined, side?: NajmBorderSide): string;
248
+ /**
249
+ * Border utility for sidebar surfaces. Uses the dedicated `sidebar-border`
250
+ * token so the sidebar edge can be themed independently from the main
251
+ * `border` token.
252
+ */
253
+ declare function sidebarBorderClasses(bordered?: boolean | undefined, side?: NajmBorderSide): string;
254
+ /** Border utility for form fields (inputs, selects). */
255
+ declare function inputBorderClasses(bordered?: boolean | undefined): string;
106
256
 
107
257
  interface KeyboardOptions {
108
258
  enabled?: boolean;
@@ -173,9 +323,9 @@ type NIconProps = Omit<React__default.HTMLAttributes<HTMLElement>, "children"> &
173
323
  declare const NIcon: React__default.FC<NIconProps>;
174
324
 
175
325
  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";
326
+ variant?: "secondary" | "tertiary" | "destructive" | "default" | "link" | "outline" | "ghost" | "success" | "warning" | "info" | "soft" | "subtle" | "plain";
327
+ size?: "default" | "icon" | "xs" | "sm" | "md" | "lg" | "xl" | "2xs" | "2xl" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl";
328
+ rounded?: "none" | "default" | "sm" | "md" | "lg" | "xl" | "full" | "2xl";
179
329
  fullWidth?: boolean;
180
330
  } & class_variance_authority_types.ClassProp) => string;
181
331
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
@@ -196,7 +346,6 @@ interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElemen
196
346
  leftIcon?: ButtonIcon;
197
347
  rightIcon?: ButtonIcon;
198
348
  bordered?: boolean;
199
- borderDegree?: NajmBorderDegree;
200
349
  onClick?: AsyncClickHandler;
201
350
  }
202
351
  type NButtonProps = ButtonProps;
@@ -204,7 +353,7 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
204
353
  declare const NButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
205
354
 
206
355
  declare const badgeVariants: (props?: {
207
- variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning";
356
+ variant?: "secondary" | "destructive" | "default" | "outline" | "success" | "warning";
208
357
  } & class_variance_authority_types.ClassProp) => string;
209
358
  declare const badgeColorVariants: (props?: {
210
359
  color?: "neutral" | "primary" | "accent" | "secondary" | "destructive" | "success" | "warning" | "info";
@@ -236,7 +385,7 @@ type BadgeProps = React$1.ComponentProps<"span"> & {
236
385
  iconMap?: Record<string, BadgeIcon>;
237
386
  iconPosition?: "left" | "right";
238
387
  };
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;
388
+ 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
389
  declare const NBadge: typeof Badge;
241
390
  type NBadgeLook = BadgeDisplayLook;
242
391
  type NBadgeProps = BadgeProps;
@@ -501,7 +650,7 @@ declare function NSheet({ open, onOpenChange, title, description, width, side, p
501
650
  declare function useDialog(store?: DialogStore): DialogApi;
502
651
 
503
652
  declare const alertVariants: (props?: {
504
- tone?: "default" | "destructive" | "error" | "success" | "warning" | "info";
653
+ tone?: "destructive" | "default" | "error" | "success" | "warning" | "info";
505
654
  look?: "solid" | "outline" | "soft" | "dash";
506
655
  size?: "sm" | "md" | "lg";
507
656
  orientation?: "horizontal" | "vertical" | "responsive";
@@ -741,7 +890,7 @@ type AvatarShape$1 = "circle" | "rounded" | "square";
741
890
  type AvatarStatusType = "online" | "offline" | "busy" | "away";
742
891
  declare const avatarVariants: (props?: {
743
892
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
744
- shape?: "circle" | "square" | "rounded";
893
+ shape?: "square" | "circle" | "rounded";
745
894
  ring?: boolean;
746
895
  } & class_variance_authority_types.ClassProp) => string;
747
896
  type AvatarRingColor = "background" | "primary" | "secondary" | "muted" | "destructive";
@@ -756,7 +905,7 @@ interface AvatarProps$1 extends Omit<React$1.ComponentProps<typeof AvatarPrimiti
756
905
  }
757
906
  declare function Avatar({ className, size, shape, ring, ringColor, src, alt, fallback, status, imageClassName, fallbackClassName, children, ...props }: AvatarProps$1): react_jsx_runtime.JSX.Element;
758
907
  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;
908
+ declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
760
909
  declare function AvatarStatus({ status, size, className, }: {
761
910
  status: AvatarStatusType;
762
911
  size?: AvatarSize;
@@ -1049,11 +1198,10 @@ interface CardProps {
1049
1198
  noPadding?: boolean;
1050
1199
  separator?: boolean;
1051
1200
  bordered?: boolean;
1052
- borderDegree?: NajmBorderDegree;
1053
1201
  className?: string;
1054
1202
  classNames?: CardClassNames;
1055
1203
  }
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;
1204
+ 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
1205
 
1058
1206
  declare function truncateByCharacters(text: string, maxCharacters: number, suffix?: string): string;
1059
1207
  interface NSectionInfoProps {
@@ -1138,7 +1286,6 @@ interface BaseProps$1 {
1138
1286
  label: string;
1139
1287
  onClick?: () => void;
1140
1288
  bordered?: boolean;
1141
- borderDegree?: NajmBorderDegree;
1142
1289
  className?: string;
1143
1290
  classNames?: NStatCardClassNames;
1144
1291
  }
@@ -1455,6 +1602,12 @@ interface NFolderIconProps {
1455
1602
  }
1456
1603
  declare function NFolderIcon({ size, className }: NFolderIconProps): react_jsx_runtime.JSX.Element;
1457
1604
 
1605
+ type ColorFormat = "hex" | "rgb" | "hsl" | "oklch";
1606
+ declare function parseColor(input: string): culori.Color;
1607
+ declare function formatColor(input: string, format: ColorFormat): string;
1608
+ declare function detectFormat(input: string): ColorFormat;
1609
+ declare function toPickerHex(input: string): string;
1610
+
1458
1611
  type SliderVariant = "default" | "secondary" | "destructive" | "accent" | "success" | "warning" | "info";
1459
1612
  type SliderSize = "sm" | "md" | "lg";
1460
1613
  type SliderOrientation = "horizontal" | "vertical";
@@ -1512,7 +1665,6 @@ interface BaseProps {
1512
1665
  variant?: "default" | "rounded" | "ghost";
1513
1666
  status?: "default" | "error";
1514
1667
  bordered?: boolean;
1515
- borderDegree?: NajmBorderDegree;
1516
1668
  borderColor?: TailwindColor;
1517
1669
  iconColor?: string;
1518
1670
  }
@@ -1641,6 +1793,16 @@ interface ColorArrayInputProps extends BaseProps {
1641
1793
  onChange: (color: string) => void;
1642
1794
  colors?: string[];
1643
1795
  }
1796
+ interface ColorPickerInputProps extends ColorArrayInputProps {
1797
+ disabled?: boolean;
1798
+ /** `"swatches"` keeps the legacy inline UI. `"popover"` opens a tweakcn-style picker. */
1799
+ mode?: "popover" | "swatches";
1800
+ /** Which format tabs the popover exposes. */
1801
+ formats?: ColorFormat[];
1802
+ /** How emitted values are formatted. `"preserve"` keeps the input's own format. */
1803
+ output?: ColorFormat | "preserve";
1804
+ hideSwatches?: boolean;
1805
+ }
1644
1806
  interface TimeInputProps extends BaseProps {
1645
1807
  value?: string;
1646
1808
  onChange: (value: string) => void;
@@ -1700,7 +1862,6 @@ interface BaseInputProps extends React__default.HTMLAttributes<HTMLDivElement> {
1700
1862
  variant?: "default" | "rounded" | "ghost";
1701
1863
  status?: "default" | "error";
1702
1864
  bordered?: boolean;
1703
- borderDegree?: NajmBorderDegree;
1704
1865
  borderColor?: TailwindColor;
1705
1866
  hasIcon?: boolean;
1706
1867
  disabled?: boolean;
@@ -1726,7 +1887,7 @@ declare const RadioGroupInput: React__default.FC<RadioGroupInputProps>;
1726
1887
 
1727
1888
  declare const CheckboxInput: React__default.FC<CheckboxInputProps>;
1728
1889
 
1729
- declare function CheckboxGroupInput({ value, onChange, items, layout, className, variant, status, bordered, borderDegree, borderColor, disabled, }: CheckboxGroupInputProps & {
1890
+ declare function CheckboxGroupInput({ value, onChange, items, layout, className, variant, status, bordered, borderColor, disabled, }: CheckboxGroupInputProps & {
1730
1891
  disabled?: boolean;
1731
1892
  }): react_jsx_runtime.JSX.Element;
1732
1893
 
@@ -1757,12 +1918,11 @@ interface NUploaderProps {
1757
1918
  listTitle?: string;
1758
1919
  className?: string;
1759
1920
  dropzoneClassName?: string;
1760
- borderDegree?: NajmBorderDegree;
1761
1921
  onFilesSelected?: (files: File[]) => void;
1762
1922
  onCancel?: (id: string) => void;
1763
1923
  onRemove?: (id: string) => void;
1764
1924
  }
1765
- declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, borderDegree, onFilesSelected, onCancel, onRemove, }: NUploaderProps): react_jsx_runtime.JSX.Element;
1925
+ declare function NUploader({ title, subtitle, accept, multiple, disabled, items, listTitle, className, dropzoneClassName, onFilesSelected, onCancel, onRemove, }: NUploaderProps): react_jsx_runtime.JSX.Element;
1766
1926
 
1767
1927
  declare function ImageInput({ value, onChange, previewClassName, showPreview, previewPosition, allowClear, accept, defaultImage, imageSize, imageVersion, disabled, }: ImageInputProps & {
1768
1928
  disabled?: boolean;
@@ -1772,22 +1932,19 @@ declare const StarRatingInput: React__default.FC<StarRatingInputProps>;
1772
1932
 
1773
1933
  declare const ColorArrayInput: React__default.FC<ColorArrayInputProps>;
1774
1934
 
1775
- declare function ColorPickerInput({ value, onChange, colors, className, variant, status, bordered, borderDegree, borderColor, disabled, }: ColorArrayInputProps & {
1776
- disabled?: boolean;
1777
- }): react_jsx_runtime.JSX.Element;
1935
+ declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element;
1778
1936
 
1779
- declare function EmojiInput({ value, onChange, options, className, variant, status, bordered, borderDegree, borderColor, disabled, }: EmojiInputProps & {
1937
+ declare function EmojiInput({ value, onChange, options, className, variant, status, bordered, borderColor, disabled, }: EmojiInputProps & {
1780
1938
  disabled?: boolean;
1781
1939
  }): react_jsx_runtime.JSX.Element;
1782
1940
 
1783
1941
  declare function LangInput({ value, onChange, items, disabled, className, }: LangInputProps): react_jsx_runtime.JSX.Element;
1784
1942
 
1785
- declare function PhoneInput({ value, onChange, defaultCountry, placeholder, disabled, className, variant, status, bordered, borderDegree, borderColor, }: PhoneInputProps & {
1943
+ declare function PhoneInput({ value, onChange, defaultCountry, placeholder, disabled, className, variant, status, bordered, borderColor, }: PhoneInputProps & {
1786
1944
  variant?: "default" | "rounded" | "ghost";
1787
1945
  status?: "default" | "error";
1788
1946
  borderColor?: TailwindColor;
1789
1947
  bordered?: boolean;
1790
- borderDegree?: NajmBorderDegree;
1791
1948
  }): react_jsx_runtime.JSX.Element;
1792
1949
 
1793
1950
  declare const TimeInput: React__default.FC<TimeInputProps>;
@@ -1849,7 +2006,6 @@ interface FormSlotClassNames {
1849
2006
  declare const VariantProvider: React__default.FC<{
1850
2007
  variant?: FormVariant;
1851
2008
  bordered?: boolean;
1852
- borderDegree?: NajmBorderDegree;
1853
2009
  children: React__default.ReactNode;
1854
2010
  }>;
1855
2011
  declare const useVariant: () => FormVariant;
@@ -1906,7 +2062,6 @@ type FormProps<T extends ZodTypeAny = ZodTypeAny> = {
1906
2062
  form?: UseFormReturn<TypeOf<T>>;
1907
2063
  variant?: FormVariant;
1908
2064
  bordered?: boolean;
1909
- borderDegree?: NajmBorderDegree;
1910
2065
  as?: "form" | "div";
1911
2066
  className?: string;
1912
2067
  id?: string;
@@ -1991,7 +2146,6 @@ interface WizardFormProps {
1991
2146
  submitLabel?: string;
1992
2147
  variant?: FormVariant;
1993
2148
  bordered?: boolean;
1994
- borderDegree?: NajmBorderDegree;
1995
2149
  className?: string;
1996
2150
  classNames?: WizardClassNames;
1997
2151
  footerSlot?: ReactNode;
@@ -2003,7 +2157,7 @@ interface StepMeta {
2003
2157
  title: string;
2004
2158
  }
2005
2159
 
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;
2160
+ 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
2161
 
2008
2162
  interface StepIndicatorProps {
2009
2163
  stepNumber: number;
@@ -2111,7 +2265,6 @@ interface TableState {
2111
2265
  className: string;
2112
2266
  classNames: NTableClassNames;
2113
2267
  bordered?: boolean;
2114
- borderDegree?: NajmBorderDegree;
2115
2268
  headerClassName: string;
2116
2269
  headerColor: string | undefined;
2117
2270
  showCheckbox: boolean;
@@ -2225,7 +2378,6 @@ declare const createTableStore: () => {
2225
2378
  className: () => string;
2226
2379
  classNames: () => NTableClassNames;
2227
2380
  bordered?: () => boolean;
2228
- borderDegree?: () => NajmBorderDegree;
2229
2381
  headerClassName: () => string;
2230
2382
  headerColor: () => string;
2231
2383
  showCheckbox: () => boolean;
@@ -2395,7 +2547,6 @@ interface NTableProps<T = any, M extends ViewMode = ViewMode> {
2395
2547
  classNames?: NTableClassNames;
2396
2548
  /** Use a border instead of a shadow for the table container and cards. */
2397
2549
  bordered?: boolean;
2398
- borderDegree?: NajmBorderDegree;
2399
2550
  density?: "compact" | "comfortable" | "spacious";
2400
2551
  availableModes?: readonly M[];
2401
2552
  mode?: M;
@@ -2496,9 +2647,8 @@ interface NDataCardShellProps {
2496
2647
  openRowMenu?: ((e: React__default.MouseEvent, row: any) => void) | null;
2497
2648
  menuButton?: boolean;
2498
2649
  bordered?: boolean;
2499
- borderDegree?: NajmBorderDegree;
2500
2650
  }
2501
- declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered, borderDegree }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
2651
+ declare function NDataCardShell({ row, onClick, onContextMenu, actions, children, className, showCheckbox, selectedRowId, openRowMenu, menuButton, bordered }: NDataCardShellProps): react_jsx_runtime.JSX.Element;
2502
2652
 
2503
2653
  interface NTableCardRootProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onContextMenu"> {
2504
2654
  card: {
@@ -2605,7 +2755,6 @@ declare const TableStoreContext: React$1.Context<{
2605
2755
  className: () => string;
2606
2756
  classNames: () => NTableClassNames;
2607
2757
  bordered?: () => boolean;
2608
- borderDegree?: () => NajmBorderDegree;
2609
2758
  headerClassName: () => string;
2610
2759
  headerColor: () => string;
2611
2760
  showCheckbox: () => boolean;
@@ -2723,7 +2872,6 @@ declare function useStoreSync(props: any): {
2723
2872
  className: () => string;
2724
2873
  classNames: () => NTableClassNames;
2725
2874
  bordered?: () => boolean;
2726
- borderDegree?: () => NajmBorderDegree;
2727
2875
  headerClassName: () => string;
2728
2876
  headerColor: () => string;
2729
2877
  showCheckbox: () => boolean;
@@ -2918,15 +3066,20 @@ interface SidebarProps {
2918
3066
  defaultCollapsed?: boolean;
2919
3067
  onCollapsedChange?: (collapsed: boolean) => void;
2920
3068
  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';
3069
+ /**
3070
+ * Where the collapse toggle lives:
3071
+ * - `'footer'` — a full-width button in the footer.
3072
+ * - `'edge'` — a small floating circle on the sidebar's edge.
3073
+ * - `'rail'` — (default) an interactive strip along the right border. Hovering it
3074
+ * shows a resize cursor + accent line; clicking or dragging the edge collapses/expands.
3075
+ */
3076
+ collapseButtonPosition?: 'footer' | 'edge' | 'rail';
2923
3077
  widths?: SidebarWidths;
2924
3078
  showSectionLabels?: boolean;
2925
3079
  showSectionIcons?: boolean;
2926
3080
  showSectionSeparators?: boolean;
2927
3081
  /** Use a border instead of the default flat sidebar edge. */
2928
3082
  bordered?: boolean;
2929
- borderDegree?: NajmBorderDegree;
2930
3083
  footer?: ReactNode;
2931
3084
  className?: string;
2932
3085
  classNames?: NAppShellClassNames;
@@ -2987,6 +3140,7 @@ interface NSidebarContentProps {
2987
3140
  showSectionLabels: boolean;
2988
3141
  showSectionIcons: boolean;
2989
3142
  showSectionSeparators: boolean;
3143
+ contentStyle?: CSSProperties;
2990
3144
  classNames?: NAppShellClassNames;
2991
3145
  }
2992
3146
  interface NSidebarSectionProps {
@@ -3029,22 +3183,21 @@ interface NSidebarMobileProps {
3029
3183
  showHamburgerButton?: boolean;
3030
3184
  children?: ReactNode;
3031
3185
  bordered?: boolean;
3032
- borderDegree?: NajmBorderDegree;
3033
3186
  }
3034
3187
 
3035
3188
  declare function NSidebarHeader({ children, collapsed, className, classNames }: NSidebarHeaderProps): react_jsx_runtime.JSX.Element;
3036
3189
 
3037
3190
  declare function NSidebarLogo({ icon, title, subtitle, onClick, collapsed, }: NSidebarLogoProps): react_jsx_runtime.JSX.Element;
3038
3191
 
3039
- declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, classNames, }: NSidebarContentProps): react_jsx_runtime.JSX.Element;
3192
+ declare function NSidebarContent({ groups, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, contentStyle, classNames, }: NSidebarContentProps): react_jsx_runtime.JSX.Element;
3040
3193
 
3041
3194
  declare function NSidebarSection({ group, activePath, isActive, onNavigate, linkComponent, collapsed, showSectionLabels, showSectionIcons, showSectionSeparators, isFirst, classNames, }: NSidebarSectionProps): react_jsx_runtime.JSX.Element;
3042
3195
 
3043
3196
  declare function NSidebarFooter({ children, onSettings, settingsLabel, onLogout, logoutLabel, showCollapseButton, collapsed, onToggleCollapsed, collapseLabel, expandLabel, isMobile, className, classNames, }: NSidebarFooterProps): react_jsx_runtime.JSX.Element;
3044
3197
 
3045
- declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, borderDegree, }: NSidebarMobileProps): react_jsx_runtime.JSX.Element;
3198
+ declare function NSidebarMobile({ open, onOpen, onClose, mobileBreakpoint, width, hamburgerLabel, closeLabel, hamburgerClassName, showHamburgerButton, children, bordered, }: NSidebarMobileProps): react_jsx_runtime.JSX.Element;
3046
3199
 
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;
3200
+ 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
3201
 
3049
3202
  declare function NSidebarItem({ item, activePath, isActive, onNavigate, linkComponent: LinkComponent, collapsed, depth, classNames, }: SidebarItemProps): react_jsx_runtime.JSX.Element;
3050
3203
 
@@ -3136,6 +3289,11 @@ declare function NNavbar({ title, logo, user, actions, userMenuActions, onLogout
3136
3289
 
3137
3290
  declare function NCommandPalette({ commands, open, onOpenChange, placeholder, emptyMessage, className, }: NCommandPaletteProps): react_jsx_runtime.JSX.Element;
3138
3291
 
3292
+ interface NPageLayoutProps extends React$1.HTMLAttributes<HTMLElement> {
3293
+ as?: "main" | "div" | "section";
3294
+ }
3295
+ declare function NPageLayout({ as: Comp, className, style, ...props }: NPageLayoutProps): react_jsx_runtime.JSX.Element;
3296
+
3139
3297
  interface PageHeaderSlotProps {
3140
3298
  children: ReactNode;
3141
3299
  className?: string;
@@ -3156,8 +3314,9 @@ interface NPageHeaderProps {
3156
3314
  children?: ReactNode;
3157
3315
  className?: string;
3158
3316
  headerClassName?: string;
3317
+ /** Renders the header as a card-like surface. `bordered` is kept as an alias. */
3318
+ card?: boolean;
3159
3319
  bordered?: boolean;
3160
- borderDegree?: NajmBorderDegree;
3161
3320
  }
3162
3321
  declare function NPageHeaderActions({ children, className }: PageHeaderSlotProps): react_jsx_runtime.JSX.Element;
3163
3322
  declare namespace NPageHeaderActions {
@@ -3171,7 +3330,7 @@ declare function NPageHeaderTop({ children, className }: PageHeaderSlotProps): r
3171
3330
  declare namespace NPageHeaderTop {
3172
3331
  var displayName: string;
3173
3332
  }
3174
- declare function NPageHeader({ icon: Icon, title, subtitle, actions, filters, top, search, children, className, headerClassName, bordered, borderDegree }: NPageHeaderProps): react_jsx_runtime.JSX.Element;
3333
+ declare function NPageHeader({ icon: Icon, title, subtitle, actions, filters, top, search, children, className, headerClassName, card, bordered }: NPageHeaderProps): react_jsx_runtime.JSX.Element;
3175
3334
 
3176
3335
  interface InspectorSheetProps {
3177
3336
  open: boolean;
@@ -3181,4 +3340,4 @@ interface InspectorSheetProps {
3181
3340
  }
3182
3341
  declare function NInspectorSheet({ open, onClose, title, children }: InspectorSheetProps): react_jsx_runtime.JSX.Element;
3183
3342
 
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 };
3343
+ 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 };