najm-kit 2.11.23 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -12
- package/README.md +28 -1
- package/dist/NIcon-D73-C51g.d.ts +21 -0
- package/dist/{NNotFoundState-BmGDW2Bx.d.ts → NNotFoundState-Z2n2gbhS.d.ts} +1 -16
- package/dist/{NajmUIProvider-BwL5HFIV.d.ts → NajmUIProvider-C9IJW1ya.d.ts} +2 -19
- package/dist/adapters/app.d.ts +6 -4
- package/dist/adapters/app.mjs +9 -6
- package/dist/adapters/next.d.ts +2 -1
- package/dist/adapters/next.mjs +5 -3
- package/dist/chunk-5UY7U2ED.mjs +9 -0
- package/dist/chunk-A34LRQYI.mjs +7 -0
- package/dist/chunk-BFFTC7LD.mjs +66 -0
- package/dist/{chunk-5ZTOCWRA.mjs → chunk-F32O3WRX.mjs} +7 -197
- package/dist/chunk-FZX3DONZ.mjs +200 -0
- package/dist/chunk-GYPQLOQ5.mjs +2202 -0
- package/dist/{chunk-BDQK6ECA.mjs → chunk-LMW4DM5L.mjs} +43 -101
- package/dist/{chunk-DKHIQFXX.mjs → chunk-QDFLHSWO.mjs} +1 -1
- package/dist/{chunk-5JVFMOLI.mjs → chunk-QJ22WAQY.mjs} +2 -28
- package/dist/{chunk-LK3SMYUP.mjs → chunk-TZRTOQCC.mjs} +1 -6
- package/dist/chunk-VZXMMC72.mjs +31 -0
- package/dist/{chunk-M5VGBZ7R.mjs → chunk-WHGRN7PP.mjs} +2 -1
- package/dist/formFill-CQkTA0JS.d.ts +17 -0
- package/dist/index.d.ts +20 -436
- package/dist/index.mjs +338 -1950
- package/dist/json.mjs +5 -3
- package/dist/location/google.d.ts +14 -0
- package/dist/location/google.mjs +184 -0
- package/dist/location/index.d.ts +33 -0
- package/dist/location/index.mjs +9 -0
- package/dist/location/leaflet.d.ts +13 -0
- package/dist/location/leaflet.mjs +168 -0
- package/dist/theme.css +23 -2
- package/dist/types-BQBx0RZd.d.ts +578 -0
- package/package.json +30 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { RefObject, ReactNode, ComponentType, InputHTMLAttributes, Ref, ImgHTMLAttributes,
|
|
2
|
+
import React__default, { RefObject, ReactNode, ComponentType, InputHTMLAttributes, Ref, ImgHTMLAttributes, MouseEvent, MouseEventHandler, CSSProperties } from 'react';
|
|
3
3
|
import { N as NajmDesignConfig, f as NajmThemeProviderProps, g as NajmAppearance, b as NajmMode, h as NajmThemeConfig, i as NajmAccent, j as NajmThemeTokens, k as NajmPreset, l as NajmComponentName, m as NajmComponentStyleConfig, c as NajmComponentThemeConfig, e as NajmTypographyConfig, d as NajmLayoutConfig, n as NajmResponsiveBreakpoint, o as NajmResponsiveValue } from './design-types-DffH_9XC.js';
|
|
4
4
|
export { p as NAJM_COMPONENT_NAMES, q as NajmComponentRadius, r as NajmDensity, s as NajmSlotStyle, a as NajmVariantStyle, R as RADIUS_VALUE_MAP, t as resolveRadiusValue } from './design-types-DffH_9XC.js';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
export { FormLocationInput, NLocationDialog, NLocationInput, NLocationProvider, isCompleteCoordinatePair, normalizeLocationValue, useNLocationProvider } from './location/index.js';
|
|
6
|
+
import { T as TailwindColor, b as TextInputProps, c as NumberInputProps, P as PasswordInputProps, O as OtpInputProps, d as TextAreaInputProps, S as SelectInputProps, C as ComboboxInputProps, M as MultiSelectInputProps, R as RadioGroupInputProps, e as CheckboxInputProps, f as CheckboxGroupInputProps, g as SwitchInputProps, D as DateInputProps, F as FileInputProps, I as ImageInputProps, A as AvatarInputProps, h as StarRatingInputProps, i as ColorArrayInputProps, j as ColorPickerInputProps, E as EmojiInputProps, k as LangInputProps, l as PhoneInputProps, m as TimeInputProps, n as TimeZoneInputProps, o as FormProps, p as FormInputProps, q as FormVariant } from './types-BQBx0RZd.js';
|
|
7
|
+
export { r as AvatarInputRadius, s as ColorFormat, t as FormInputBackground, u as FormLocationInputProps, v as FormSlotClassNames, w as ImageInputPreviewError, x as ImageInputPreviewSource, y as InputIcon, z as NCoordinates, B as NLocationCandidate, H as NLocationClassNames, J as NLocationDialogProps, a as NLocationGeocoderAdapter, K as NLocationInputProps, Q as NLocationLabels, N as NLocationMapAdapter, U as NLocationMapProps, V as NLocationProviderProps, W as NLocationValue, X as NSlider, Y as NSliderProps, Z as SelectItemType, _ as Slider, $ as SliderInput, a0 as SliderInputProps, a1 as SliderOrientation, a2 as SliderProps, a3 as SliderSize, a4 as SliderVariant, a5 as VariantProvider, a6 as detectFormat, a7 as formatColor, a8 as parseColor, a9 as sliderVariants, aa as toPickerHex, ab as useVariant, ac as useVariantPreset } from './types-BQBx0RZd.js';
|
|
8
|
+
import { d as NTableToolbarLabels, B as BadgeColor, e as BadgeShape } from './NajmUIProvider-C9IJW1ya.js';
|
|
9
|
+
export { f as Badge, g as BadgeIcon, h as BadgeLook, i as BadgeProps, j as BadgeSize, k as BadgeVariant, D as DEFAULT_FEEDBACK_KEY_PREFIX, l as DEFAULT_TIME_ZONE, F as FeedbackKey, m as NBadge, n as NBadgeDefaults, o as NBadgeLook, p as NBadgeProps, N as NFeedbackDefaults, a as NFeedbackLabelKeys, b as NFeedbackLabels, q as NTableDefaults, r as NTableDefaultsProvider, s as NajmPreferencesContextValue, t as NajmPreferencesProvider, u as NajmPreferencesProviderProps, v as NajmUIProvider, c as NajmUIProviderProps, w as badgeColorVariants, x as badgeVariants, y as useDocumentDirection, z as useNTableDefaults, A as useNajmPreferencesContext, C as useNajmTheme, E as useNajmTimeZone, G as useResolvedToolbarLabels } from './NajmUIProvider-C9IJW1ya.js';
|
|
7
10
|
import { N as NajmTranslate, c as NTablePaginationVariant, b as NTablePaginationLabels, a as NTableCardPagination } from './paginationLabels-dZLSNxfo.js';
|
|
8
11
|
export { D as DEFAULT_PAGINATION_KEY_PREFIX, d as NTableInfinitePagination, e as NTableLoadMorePagination, f as buildPaginationLabels } from './paginationLabels-dZLSNxfo.js';
|
|
9
12
|
export { d as defineNajmDesignConfig, p as parseNajmDesignConfig, r as resolveVariantAlias, s as stringifyNajmDesignConfig } from './design-config-CL9vqqQ9.js';
|
|
10
13
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
14
|
import { VariantProps } from 'class-variance-authority';
|
|
15
|
+
import { N as NIconSource } from './NIcon-D73-C51g.js';
|
|
16
|
+
export { a as NIcon, b as NIconProps } from './NIcon-D73-C51g.js';
|
|
12
17
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
18
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
14
19
|
import * as zustand from 'zustand';
|
|
@@ -24,8 +29,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
24
29
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
25
30
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
26
31
|
import { OverlayScrollbarsComponentProps } from 'overlayscrollbars-react';
|
|
27
|
-
|
|
28
|
-
export { m as FormDevToolsConfig, n as FormFillOverride, o as FormFillOverrides, p as NBrandingEditorValue, N as NBrandingInput, q as NBrandingPayload, r as NBrandingProvider, s as NBrandingStateProvider, t as NBrandingStateProviderProps, u as NBrandingValue, a as NEmptyState, b as NEmptyStateProps, c as NErrorState, d as NErrorStateProps, e as NFeedbackSurface, f as NForbiddenState, g as NForbiddenStateProps, h as NLoadingState, i as NLoadingStateProps, j as NNotFoundState, k as NNotFoundStateProps, v as buildFormFill, w as normalizeBranding, x as useNBranding, y as useNBrandingEditor } from './NNotFoundState-BmGDW2Bx.js';
|
|
32
|
+
export { l as NBrandingEditorValue, N as NBrandingInput, m as NBrandingPayload, n as NBrandingProvider, o as NBrandingStateProvider, p as NBrandingStateProviderProps, q as NBrandingValue, a as NEmptyState, b as NEmptyStateProps, c as NErrorState, d as NErrorStateProps, e as NFeedbackSurface, f as NForbiddenState, g as NForbiddenStateProps, h as NLoadingState, i as NLoadingStateProps, j as NNotFoundState, k as NNotFoundStateProps, r as normalizeBranding, u as useNBranding, s as useNBrandingEditor } from './NNotFoundState-Z2n2gbhS.js';
|
|
29
33
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
30
34
|
import { Command as Command$1 } from 'cmdk';
|
|
31
35
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
@@ -33,12 +37,12 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
33
37
|
import { ToasterProps } from 'sonner';
|
|
34
38
|
export { toast } from 'sonner';
|
|
35
39
|
import * as react_hook_form from 'react-hook-form';
|
|
36
|
-
import { FieldValues, FieldPath, ControllerProps, UseFormProps,
|
|
40
|
+
import { FieldValues, FieldPath, ControllerProps, UseFormProps, UseFormReturn } from 'react-hook-form';
|
|
37
41
|
import { Slot } from '@radix-ui/react-slot';
|
|
38
42
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
39
|
-
import * as culori from 'culori';
|
|
40
|
-
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
41
43
|
import { ZodTypeAny, TypeOf } from 'zod';
|
|
44
|
+
import { F as FormDevToolsOptions, a as FormDevTools } from './formFill-CQkTA0JS.js';
|
|
45
|
+
export { b as FormDevToolsConfig, c as FormFillOverride, d as FormFillOverrides, e as buildFormFill } from './formFill-CQkTA0JS.js';
|
|
42
46
|
import { SortingState, ExpandedState, ColumnDef, Row, ColumnFiltersState, VisibilityState, RowSelectionState } from '@tanstack/react-table';
|
|
43
47
|
export { N as NTableJson } from './NTableJson-BHXwRVvL.js';
|
|
44
48
|
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
@@ -47,6 +51,8 @@ import { ClassValue } from 'clsx';
|
|
|
47
51
|
export { ApiPage, DEFAULT_MAX_PAGE_SIZE, DEFAULT_PAGE_SIZE, OffsetPage, OffsetPageFetcher, OffsetPageOptions, OffsetPagination, QueryValue, cleanQuery, createOffsetPagination, fetchOffsetPage, getPageIndex } from './pagination.js';
|
|
48
52
|
import { NajmFormatConfig } from './format.js';
|
|
49
53
|
export { DEFAULT_PLACEHOLDER, SlugifyOptions, formatCurrency, formatDate, formatDateTime, formatNumber, formatPercent, formatRelativeTime, formatTime, humanizeToken, localDateInput, slugify } from './format.js';
|
|
54
|
+
import 'culori';
|
|
55
|
+
import '@radix-ui/react-slider';
|
|
50
56
|
|
|
51
57
|
/**
|
|
52
58
|
* Shared so the identity is stable across renders — `NajmDesignProvider`
|
|
@@ -583,7 +589,7 @@ declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"d
|
|
|
583
589
|
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): React$1.JSX.Element;
|
|
584
590
|
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): React$1.JSX.Element;
|
|
585
591
|
|
|
586
|
-
type SelectItemType
|
|
592
|
+
type SelectItemType = {
|
|
587
593
|
value: string;
|
|
588
594
|
label: string;
|
|
589
595
|
icon?: string | ComponentType<{
|
|
@@ -1656,7 +1662,7 @@ interface NStatCardClassNames {
|
|
|
1656
1662
|
value?: string;
|
|
1657
1663
|
description?: string;
|
|
1658
1664
|
}
|
|
1659
|
-
interface BaseProps
|
|
1665
|
+
interface BaseProps {
|
|
1660
1666
|
icon: NIconSource;
|
|
1661
1667
|
label?: string;
|
|
1662
1668
|
onClick?: () => void;
|
|
@@ -1666,7 +1672,7 @@ interface BaseProps$1 {
|
|
|
1666
1672
|
loading?: boolean;
|
|
1667
1673
|
loadingLabel?: string;
|
|
1668
1674
|
}
|
|
1669
|
-
interface DefaultProps extends BaseProps
|
|
1675
|
+
interface DefaultProps extends BaseProps {
|
|
1670
1676
|
variant?: "default";
|
|
1671
1677
|
value: string | number;
|
|
1672
1678
|
subtext?: string;
|
|
@@ -1682,7 +1688,7 @@ interface DefaultProps extends BaseProps$1 {
|
|
|
1682
1688
|
used?: never;
|
|
1683
1689
|
total?: never;
|
|
1684
1690
|
}
|
|
1685
|
-
interface CompactProps extends BaseProps
|
|
1691
|
+
interface CompactProps extends BaseProps {
|
|
1686
1692
|
variant: "compact";
|
|
1687
1693
|
value: string | number;
|
|
1688
1694
|
unit?: string;
|
|
@@ -1696,7 +1702,7 @@ interface CompactProps extends BaseProps$1 {
|
|
|
1696
1702
|
subtext?: never;
|
|
1697
1703
|
change?: never;
|
|
1698
1704
|
}
|
|
1699
|
-
interface UsageProps extends BaseProps
|
|
1705
|
+
interface UsageProps extends BaseProps {
|
|
1700
1706
|
variant: "usage";
|
|
1701
1707
|
count: number;
|
|
1702
1708
|
used: number;
|
|
@@ -2128,337 +2134,6 @@ interface NFolderIconProps {
|
|
|
2128
2134
|
}
|
|
2129
2135
|
declare function NFolderIcon({ size, className }: NFolderIconProps): React__default.JSX.Element;
|
|
2130
2136
|
|
|
2131
|
-
type ColorFormat = "hex" | "rgb" | "hsl" | "oklch";
|
|
2132
|
-
declare function parseColor(input: string): culori.Color;
|
|
2133
|
-
declare function formatColor(input: string, format: ColorFormat): string;
|
|
2134
|
-
declare function detectFormat(input: string): ColorFormat;
|
|
2135
|
-
declare function toPickerHex(input: string): string;
|
|
2136
|
-
|
|
2137
|
-
type SliderVariant = "default" | "secondary" | "destructive" | "accent" | "success" | "warning" | "info";
|
|
2138
|
-
type SliderSize = "sm" | "md" | "lg";
|
|
2139
|
-
type SliderOrientation = "horizontal" | "vertical";
|
|
2140
|
-
declare const sliderVariants: (props?: {
|
|
2141
|
-
size?: "sm" | "md" | "lg";
|
|
2142
|
-
orientation?: "horizontal" | "vertical";
|
|
2143
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
2144
|
-
interface NSliderProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, "value" | "defaultValue" | "onValueChange" | "orientation" | "dir" | "asChild"> {
|
|
2145
|
-
value?: number | [number, number];
|
|
2146
|
-
defaultValue?: number | [number, number];
|
|
2147
|
-
onValueChange?: (value: number | [number, number]) => void;
|
|
2148
|
-
min?: number;
|
|
2149
|
-
max?: number;
|
|
2150
|
-
step?: number;
|
|
2151
|
-
variant?: SliderVariant;
|
|
2152
|
-
size?: SliderSize;
|
|
2153
|
-
orientation?: SliderOrientation;
|
|
2154
|
-
disabled?: boolean;
|
|
2155
|
-
showTooltip?: boolean;
|
|
2156
|
-
formatTooltip?: (n: number) => string;
|
|
2157
|
-
dir?: "ltr" | "rtl";
|
|
2158
|
-
name?: string;
|
|
2159
|
-
id?: string;
|
|
2160
|
-
"aria-label"?: string;
|
|
2161
|
-
"aria-labelledby"?: string;
|
|
2162
|
-
}
|
|
2163
|
-
declare function NSlider({ value: controlledValue, defaultValue, onValueChange, min, max, step, variant, size, orientation, disabled, showTooltip, formatTooltip, dir, name, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: NSliderProps): React$1.JSX.Element;
|
|
2164
|
-
declare namespace NSlider {
|
|
2165
|
-
var displayName: string;
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
interface SliderProps extends Omit<NSliderProps, "value" | "defaultValue" | "onValueChange"> {
|
|
2169
|
-
value: number[];
|
|
2170
|
-
onValueChange: (value: number[]) => void;
|
|
2171
|
-
}
|
|
2172
|
-
declare function Slider({ value, onValueChange, ...rest }: SliderProps): React$1.JSX.Element;
|
|
2173
|
-
interface SliderInputProps extends Omit<NSliderProps, "value" | "defaultValue" | "onValueChange" | "onChange"> {
|
|
2174
|
-
value?: number;
|
|
2175
|
-
onChange?: (value: number) => void;
|
|
2176
|
-
status?: "default" | "error";
|
|
2177
|
-
icon?: unknown;
|
|
2178
|
-
iconColor?: string;
|
|
2179
|
-
readOnly?: boolean;
|
|
2180
|
-
}
|
|
2181
|
-
declare function SliderInput({ value, onChange, status: _status, icon: _icon, iconColor: _iconColor, readOnly: _readOnly, ...rest }: SliderInputProps): React$1.JSX.Element;
|
|
2182
|
-
|
|
2183
|
-
type InputIcon = string | ReactNode | ComponentType<{
|
|
2184
|
-
className?: string;
|
|
2185
|
-
style?: CSSProperties;
|
|
2186
|
-
}>;
|
|
2187
|
-
declare const TAILWIND_COLORS: readonly ["black", "white", "gray", "slate", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "green", "teal", "blue", "indigo", "purple"];
|
|
2188
|
-
type TailwindColor = "muted" | "primary" | "accent" | "success" | "warning" | "destructive" | typeof TAILWIND_COLORS[number];
|
|
2189
|
-
interface BaseProps {
|
|
2190
|
-
className?: string;
|
|
2191
|
-
variant?: "default" | "rounded" | "ghost";
|
|
2192
|
-
status?: "default" | "error";
|
|
2193
|
-
bordered?: boolean;
|
|
2194
|
-
borderColor?: TailwindColor;
|
|
2195
|
-
iconColor?: string;
|
|
2196
|
-
}
|
|
2197
|
-
interface SelectItemType {
|
|
2198
|
-
value: string;
|
|
2199
|
-
label: string;
|
|
2200
|
-
icon?: string | ComponentType<{
|
|
2201
|
-
className?: string;
|
|
2202
|
-
}>;
|
|
2203
|
-
}
|
|
2204
|
-
interface TextInputProps extends BaseProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "onChange" | "placeholder" | "type" | "value"> {
|
|
2205
|
-
value: string;
|
|
2206
|
-
onChange: (value: string) => void;
|
|
2207
|
-
placeholder?: string;
|
|
2208
|
-
icon?: InputIcon;
|
|
2209
|
-
showIcon?: boolean;
|
|
2210
|
-
}
|
|
2211
|
-
interface NumberInputProps extends BaseProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "onChange" | "placeholder" | "type" | "value"> {
|
|
2212
|
-
value: string | number;
|
|
2213
|
-
onChange: (value: number) => void;
|
|
2214
|
-
placeholder?: string;
|
|
2215
|
-
icon?: InputIcon;
|
|
2216
|
-
showIcon?: boolean;
|
|
2217
|
-
}
|
|
2218
|
-
interface PasswordInputProps extends BaseProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "onChange" | "placeholder" | "type" | "value"> {
|
|
2219
|
-
value: string;
|
|
2220
|
-
onChange: (value: string) => void;
|
|
2221
|
-
placeholder?: string;
|
|
2222
|
-
icon?: InputIcon;
|
|
2223
|
-
showIcon?: boolean;
|
|
2224
|
-
}
|
|
2225
|
-
interface TextAreaInputProps extends BaseProps, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "className" | "onChange" | "placeholder" | "value"> {
|
|
2226
|
-
value: string;
|
|
2227
|
-
onChange: (value: string) => void;
|
|
2228
|
-
placeholder?: string;
|
|
2229
|
-
rows?: number;
|
|
2230
|
-
}
|
|
2231
|
-
interface SelectInputProps extends BaseProps {
|
|
2232
|
-
value: string;
|
|
2233
|
-
onChange: (value: string) => void;
|
|
2234
|
-
items: (string | SelectItemType)[];
|
|
2235
|
-
placeholder?: string;
|
|
2236
|
-
ariaLabel?: string;
|
|
2237
|
-
icon?: InputIcon;
|
|
2238
|
-
showIcon?: boolean;
|
|
2239
|
-
disabled?: boolean;
|
|
2240
|
-
/** Class applied to the portalled dropdown surface. */
|
|
2241
|
-
dropdownClassName?: string;
|
|
2242
|
-
}
|
|
2243
|
-
interface ComboboxInputProps extends BaseProps {
|
|
2244
|
-
value: string;
|
|
2245
|
-
onChange: (value: string) => void;
|
|
2246
|
-
items: (string | SelectItemType)[];
|
|
2247
|
-
placeholder?: string;
|
|
2248
|
-
searchPlaceholder?: string;
|
|
2249
|
-
emptyMessage?: string;
|
|
2250
|
-
loading?: boolean;
|
|
2251
|
-
loadingMessage?: string;
|
|
2252
|
-
onSearchChange?: (query: string) => void;
|
|
2253
|
-
shouldFilter?: boolean;
|
|
2254
|
-
icon?: InputIcon;
|
|
2255
|
-
showIcon?: boolean;
|
|
2256
|
-
disabled?: boolean;
|
|
2257
|
-
allowFreeText?: boolean;
|
|
2258
|
-
ariaLabel?: string;
|
|
2259
|
-
}
|
|
2260
|
-
interface MultiSelectInputProps extends BaseProps {
|
|
2261
|
-
value: string[];
|
|
2262
|
-
onChange: (value: string[]) => void;
|
|
2263
|
-
items: (string | SelectItemType)[];
|
|
2264
|
-
ariaLabel?: string;
|
|
2265
|
-
placeholder?: string;
|
|
2266
|
-
searchPlaceholder?: string;
|
|
2267
|
-
emptyMessage?: string;
|
|
2268
|
-
icon?: InputIcon;
|
|
2269
|
-
showIcon?: boolean;
|
|
2270
|
-
disabled?: boolean;
|
|
2271
|
-
maxDisplay?: number;
|
|
2272
|
-
showSearch?: boolean;
|
|
2273
|
-
}
|
|
2274
|
-
interface RadioGroupInputProps extends BaseProps {
|
|
2275
|
-
value: string;
|
|
2276
|
-
onChange: (value: string) => void;
|
|
2277
|
-
items: (string | SelectItemType)[];
|
|
2278
|
-
layout?: "row" | "column";
|
|
2279
|
-
}
|
|
2280
|
-
interface SwitchInputProps extends BaseProps {
|
|
2281
|
-
value: boolean;
|
|
2282
|
-
onChange: (checked: boolean) => void;
|
|
2283
|
-
label?: string;
|
|
2284
|
-
helper?: string;
|
|
2285
|
-
icon?: InputIcon;
|
|
2286
|
-
showIcon?: boolean;
|
|
2287
|
-
iconPosition?: "label" | "input";
|
|
2288
|
-
}
|
|
2289
|
-
interface CheckboxInputProps extends BaseProps {
|
|
2290
|
-
value: boolean;
|
|
2291
|
-
onChange: (checked: boolean) => void;
|
|
2292
|
-
label?: string;
|
|
2293
|
-
helper?: string;
|
|
2294
|
-
checkboxClassName?: string;
|
|
2295
|
-
}
|
|
2296
|
-
interface CheckboxGroupInputProps extends BaseProps {
|
|
2297
|
-
value: string[];
|
|
2298
|
-
onChange: (newValue: string[]) => void;
|
|
2299
|
-
items: (string | SelectItemType)[];
|
|
2300
|
-
layout?: "row" | "column";
|
|
2301
|
-
}
|
|
2302
|
-
interface FileInputProps extends BaseProps {
|
|
2303
|
-
value: File | string | null;
|
|
2304
|
-
onChange: (file: File | null) => void;
|
|
2305
|
-
placeholder?: string;
|
|
2306
|
-
icon?: InputIcon;
|
|
2307
|
-
showIcon?: boolean;
|
|
2308
|
-
}
|
|
2309
|
-
interface DateInputProps extends BaseProps {
|
|
2310
|
-
value: Date | undefined;
|
|
2311
|
-
onChange: (date: string | undefined) => void;
|
|
2312
|
-
placeholder?: string;
|
|
2313
|
-
icon?: InputIcon;
|
|
2314
|
-
showIcon?: boolean;
|
|
2315
|
-
ariaLabel?: string;
|
|
2316
|
-
}
|
|
2317
|
-
interface StarRatingInputProps extends BaseProps {
|
|
2318
|
-
value: number;
|
|
2319
|
-
onChange: (starNumber: number | undefined) => void;
|
|
2320
|
-
maxStars?: number;
|
|
2321
|
-
}
|
|
2322
|
-
interface ColorArrayInputProps extends BaseProps {
|
|
2323
|
-
value: string;
|
|
2324
|
-
onChange: (color: string) => void;
|
|
2325
|
-
colors?: string[];
|
|
2326
|
-
}
|
|
2327
|
-
interface ColorPickerInputProps extends ColorArrayInputProps {
|
|
2328
|
-
disabled?: boolean;
|
|
2329
|
-
/** `"swatches"` keeps the legacy inline UI. `"popover"` opens a tweakcn-style picker. */
|
|
2330
|
-
mode?: "popover" | "swatches";
|
|
2331
|
-
/** Which format tabs the popover exposes. */
|
|
2332
|
-
formats?: ColorFormat[];
|
|
2333
|
-
/** How emitted values are formatted. `"preserve"` keeps the input's own format. */
|
|
2334
|
-
output?: ColorFormat | "preserve";
|
|
2335
|
-
hideSwatches?: boolean;
|
|
2336
|
-
}
|
|
2337
|
-
interface TimeInputProps extends BaseProps, Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "onChange" | "placeholder" | "type" | "value"> {
|
|
2338
|
-
value?: string;
|
|
2339
|
-
onChange: (value: string) => void;
|
|
2340
|
-
placeholder?: string;
|
|
2341
|
-
icon?: InputIcon;
|
|
2342
|
-
showIcon?: boolean;
|
|
2343
|
-
format24?: boolean;
|
|
2344
|
-
showSeconds?: boolean;
|
|
2345
|
-
}
|
|
2346
|
-
interface TimeZoneInputProps extends Omit<ComboboxInputProps, "items"> {
|
|
2347
|
-
items?: SelectItemType[];
|
|
2348
|
-
}
|
|
2349
|
-
type ImageInputPreviewSource = "value" | "fallback" | "default";
|
|
2350
|
-
interface ImageInputPreviewError {
|
|
2351
|
-
source: ImageInputPreviewSource;
|
|
2352
|
-
src: string;
|
|
2353
|
-
}
|
|
2354
|
-
interface ImageInputProps extends BaseProps {
|
|
2355
|
-
value: File | string | null;
|
|
2356
|
-
onChange: (file: File | null) => void;
|
|
2357
|
-
placeholder?: string;
|
|
2358
|
-
icon?: InputIcon;
|
|
2359
|
-
showIcon?: boolean;
|
|
2360
|
-
uploadIcon?: React.ReactNode;
|
|
2361
|
-
/** Class applied to the component's outer layout container. */
|
|
2362
|
-
containerClassName?: string;
|
|
2363
|
-
previewClassName?: string;
|
|
2364
|
-
/** Inline styles applied to the preview container. */
|
|
2365
|
-
previewStyle?: CSSProperties;
|
|
2366
|
-
/** Class applied to the empty and replace-overlay content inside the preview. */
|
|
2367
|
-
contentClassName?: string;
|
|
2368
|
-
/** Class applied to the preview <img> element to control object-fit / sizing. */
|
|
2369
|
-
imageClassName?: string;
|
|
2370
|
-
showPreview?: boolean;
|
|
2371
|
-
previewPosition?: "top" | "bottom" | "left" | "right";
|
|
2372
|
-
allowClear?: boolean;
|
|
2373
|
-
accept?: string;
|
|
2374
|
-
defaultImage?: string;
|
|
2375
|
-
imageSize?: "sm" | "md" | "lg" | "xl";
|
|
2376
|
-
imageVersion?: string | number | null;
|
|
2377
|
-
title?: string;
|
|
2378
|
-
subtitle?: string;
|
|
2379
|
-
titleClassName?: string;
|
|
2380
|
-
subtitleClassName?: string;
|
|
2381
|
-
replaceTitle?: string;
|
|
2382
|
-
replaceSubtitle?: string;
|
|
2383
|
-
trigger?: "icon" | "button" | "both";
|
|
2384
|
-
buttonLabel?: string;
|
|
2385
|
-
disabled?: boolean;
|
|
2386
|
-
/** Accessible name for the primary preview image. Falls back to `replaceTitle`. */
|
|
2387
|
-
previewAlt?: string;
|
|
2388
|
-
/** Accessible name for the fallback/default preview image. Falls back to `previewAlt`. */
|
|
2389
|
-
fallbackAlt?: string;
|
|
2390
|
-
/**
|
|
2391
|
-
* URL tried when the primary `value` fails to load.
|
|
2392
|
-
* The same URL is never attempted twice, so a failing primary cannot loop.
|
|
2393
|
-
*/
|
|
2394
|
-
fallbackImage?: string | null;
|
|
2395
|
-
/**
|
|
2396
|
-
* Rendered inside the preview area when every candidate URL has failed.
|
|
2397
|
-
* When omitted, a small neutral unavailable state is rendered instead.
|
|
2398
|
-
*/
|
|
2399
|
-
unavailableContent?: React.ReactNode;
|
|
2400
|
-
/** Fires once for every URL that failed to load, with its source. */
|
|
2401
|
-
onPreviewError?: (error: ImageInputPreviewError) => void;
|
|
2402
|
-
/** Accessible name for the replace (re-upload) control. */
|
|
2403
|
-
replaceAriaLabel?: string;
|
|
2404
|
-
/** Accessible name for the clear control. */
|
|
2405
|
-
clearAriaLabel?: string;
|
|
2406
|
-
}
|
|
2407
|
-
interface OtpInputProps extends BaseProps {
|
|
2408
|
-
value: string;
|
|
2409
|
-
onChange: (value: string) => void;
|
|
2410
|
-
/** Number of one-character cells. */
|
|
2411
|
-
length?: number;
|
|
2412
|
-
/** Restrict the code to decimal digits. */
|
|
2413
|
-
numeric?: boolean;
|
|
2414
|
-
ariaLabel?: string;
|
|
2415
|
-
digitAriaLabel?: (position: number, length: number) => string;
|
|
2416
|
-
autoFocus?: boolean;
|
|
2417
|
-
autoComplete?: React.HTMLInputAutoCompleteAttribute;
|
|
2418
|
-
disabled?: boolean;
|
|
2419
|
-
readOnly?: boolean;
|
|
2420
|
-
inputClassName?: string;
|
|
2421
|
-
onComplete?: (value: string) => void;
|
|
2422
|
-
}
|
|
2423
|
-
type AvatarInputRadius = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
2424
|
-
/** ImageInput options with avatar-specific radius defaults. */
|
|
2425
|
-
interface AvatarInputProps extends ImageInputProps {
|
|
2426
|
-
/** Preview corner radius. `none` is square and `full` is circular. */
|
|
2427
|
-
radius?: AvatarInputRadius;
|
|
2428
|
-
/** Exact width and height. Numbers are interpreted as pixels. */
|
|
2429
|
-
size?: number | string;
|
|
2430
|
-
/** Fill the available width and remaining height of the form item. */
|
|
2431
|
-
fill?: boolean;
|
|
2432
|
-
}
|
|
2433
|
-
interface EmojiInputProps extends BaseProps {
|
|
2434
|
-
value: number;
|
|
2435
|
-
onChange: (value: number) => void;
|
|
2436
|
-
options?: {
|
|
2437
|
-
value: number;
|
|
2438
|
-
label: string;
|
|
2439
|
-
}[];
|
|
2440
|
-
}
|
|
2441
|
-
interface PhoneInputProps extends BaseProps {
|
|
2442
|
-
value: string;
|
|
2443
|
-
onChange: (value: string) => void;
|
|
2444
|
-
defaultCountry?: string;
|
|
2445
|
-
placeholder?: string;
|
|
2446
|
-
disabled?: boolean;
|
|
2447
|
-
}
|
|
2448
|
-
interface LangInputProps extends BaseProps {
|
|
2449
|
-
value: string;
|
|
2450
|
-
onChange: (value: string) => void;
|
|
2451
|
-
items: {
|
|
2452
|
-
value: string;
|
|
2453
|
-
label: string;
|
|
2454
|
-
icon?: string | ComponentType<{
|
|
2455
|
-
className?: string;
|
|
2456
|
-
}>;
|
|
2457
|
-
}[];
|
|
2458
|
-
placeholder?: string;
|
|
2459
|
-
disabled?: boolean;
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
2137
|
interface BaseInputProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
2463
2138
|
children: React__default.ReactNode;
|
|
2464
2139
|
variant?: "default" | "rounded" | "ghost";
|
|
@@ -2603,97 +2278,6 @@ interface ComboboxProps {
|
|
|
2603
2278
|
}
|
|
2604
2279
|
declare function Combobox({ options, value, onChange, placeholder, emptyText, className, allowFreeText, disabled, }: ComboboxProps): React$1.JSX.Element;
|
|
2605
2280
|
|
|
2606
|
-
type FormVariant = "default" | "studio" | "compact";
|
|
2607
|
-
interface FormSlotClassNames {
|
|
2608
|
-
item?: string;
|
|
2609
|
-
label?: string;
|
|
2610
|
-
input?: string;
|
|
2611
|
-
description?: string;
|
|
2612
|
-
error?: string;
|
|
2613
|
-
}
|
|
2614
|
-
declare const VariantProvider: React__default.FC<{
|
|
2615
|
-
variant?: FormVariant;
|
|
2616
|
-
bordered?: boolean;
|
|
2617
|
-
children: React__default.ReactNode;
|
|
2618
|
-
}>;
|
|
2619
|
-
declare const useVariant: () => FormVariant;
|
|
2620
|
-
declare const useVariantPreset: () => FormSlotClassNames;
|
|
2621
|
-
|
|
2622
|
-
type FormInputBackground = "card" | "background" | "secondary" | "muted" | "transparent";
|
|
2623
|
-
interface BaseFormInputProps {
|
|
2624
|
-
name: string;
|
|
2625
|
-
formLabel?: string;
|
|
2626
|
-
formDescription?: string;
|
|
2627
|
-
required?: boolean;
|
|
2628
|
-
icon?: NIconSource;
|
|
2629
|
-
iconColor?: string;
|
|
2630
|
-
items?: any;
|
|
2631
|
-
disabled?: boolean;
|
|
2632
|
-
readOnly?: boolean;
|
|
2633
|
-
hidden?: boolean;
|
|
2634
|
-
className?: string;
|
|
2635
|
-
/** Semantic surface color for the input control. */
|
|
2636
|
-
background?: FormInputBackground;
|
|
2637
|
-
classNames?: FormSlotClassNames;
|
|
2638
|
-
onChange?: (value: any) => void;
|
|
2639
|
-
}
|
|
2640
|
-
type FormInputSpecificProps<T> = Omit<T, "value" | "onChange" | keyof BaseFormInputProps>;
|
|
2641
|
-
type FormImageInputProps = FormInputSpecificProps<ImageInputProps> & {
|
|
2642
|
-
/**
|
|
2643
|
-
* Optional controlled preview value.
|
|
2644
|
-
* React Hook Form owns the value when omitted.
|
|
2645
|
-
*/
|
|
2646
|
-
value?: ImageInputProps["value"];
|
|
2647
|
-
};
|
|
2648
|
-
type FormAvatarInputProps = FormInputSpecificProps<AvatarInputProps> & {
|
|
2649
|
-
/** Optional controlled preview value. React Hook Form owns it when omitted. */
|
|
2650
|
-
value?: AvatarInputProps["value"];
|
|
2651
|
-
};
|
|
2652
|
-
type InputTypeMap = {
|
|
2653
|
-
text: FormInputSpecificProps<TextInputProps>;
|
|
2654
|
-
number: FormInputSpecificProps<NumberInputProps>;
|
|
2655
|
-
password: FormInputSpecificProps<PasswordInputProps>;
|
|
2656
|
-
otp: FormInputSpecificProps<OtpInputProps>;
|
|
2657
|
-
textarea: FormInputSpecificProps<TextAreaInputProps>;
|
|
2658
|
-
select: FormInputSpecificProps<SelectInputProps>;
|
|
2659
|
-
combobox: FormInputSpecificProps<ComboboxInputProps>;
|
|
2660
|
-
multiselect: FormInputSpecificProps<MultiSelectInputProps>;
|
|
2661
|
-
radio: FormInputSpecificProps<RadioGroupInputProps>;
|
|
2662
|
-
switch: FormInputSpecificProps<SwitchInputProps>;
|
|
2663
|
-
checkbox: FormInputSpecificProps<CheckboxInputProps>;
|
|
2664
|
-
checkboxGroup: FormInputSpecificProps<CheckboxGroupInputProps>;
|
|
2665
|
-
file: FormInputSpecificProps<FileInputProps>;
|
|
2666
|
-
image: FormImageInputProps;
|
|
2667
|
-
avatar: FormAvatarInputProps;
|
|
2668
|
-
date: FormInputSpecificProps<DateInputProps>;
|
|
2669
|
-
starRating: FormInputSpecificProps<StarRatingInputProps>;
|
|
2670
|
-
colorArray: FormInputSpecificProps<ColorArrayInputProps>;
|
|
2671
|
-
emoji: FormInputSpecificProps<EmojiInputProps>;
|
|
2672
|
-
lang: FormInputSpecificProps<LangInputProps>;
|
|
2673
|
-
phone: FormInputSpecificProps<PhoneInputProps>;
|
|
2674
|
-
time: FormInputSpecificProps<TimeInputProps>;
|
|
2675
|
-
timeZone: FormInputSpecificProps<TimeZoneInputProps>;
|
|
2676
|
-
slider: FormInputSpecificProps<SliderInputProps>;
|
|
2677
|
-
};
|
|
2678
|
-
type FormInputProps = {
|
|
2679
|
-
[K in keyof InputTypeMap]: BaseFormInputProps & {
|
|
2680
|
-
type: K;
|
|
2681
|
-
} & InputTypeMap[K];
|
|
2682
|
-
}[keyof InputTypeMap];
|
|
2683
|
-
type FormProps<T extends ZodTypeAny = ZodTypeAny> = {
|
|
2684
|
-
schema?: T;
|
|
2685
|
-
defaultValues?: UseFormProps<TypeOf<T>>["defaultValues"];
|
|
2686
|
-
onSubmit: SubmitHandler<TypeOf<T>>;
|
|
2687
|
-
form?: UseFormReturn<TypeOf<T>>;
|
|
2688
|
-
variant?: FormVariant;
|
|
2689
|
-
bordered?: boolean;
|
|
2690
|
-
as?: "form" | "div";
|
|
2691
|
-
className?: string;
|
|
2692
|
-
id?: string;
|
|
2693
|
-
devTools?: FormDevTools<T>;
|
|
2694
|
-
children: React.ReactNode;
|
|
2695
|
-
};
|
|
2696
|
-
|
|
2697
2281
|
declare const NForm: <T extends ZodTypeAny>(props: FormProps<T>) => React__default.ReactElement;
|
|
2698
2282
|
|
|
2699
2283
|
interface NFormSectionHeaderProps {
|
|
@@ -4330,4 +3914,4 @@ interface NGridItemProps extends Omit<React$1.AllHTMLAttributes<HTMLDivElement>,
|
|
|
4330
3914
|
declare function NGrid({ as: Comp, children, cols, smCols, mdCols, lgCols, xlCols, gap, className, style, ...props }: NGridProps): React$1.JSX.Element;
|
|
4331
3915
|
declare function NGridItem({ children, span, smSpan, mdSpan, lgSpan, xlSpan, className, ...props }: NGridItemProps): React$1.JSX.Element;
|
|
4332
3916
|
|
|
4333
|
-
export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, type AvatarInputProps, type AvatarInputRadius, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, BadgeColor, BadgeShape, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, type CheckboxGroupInputProps, CheckboxInput, type CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, type ColorArrayInputProps, type ColorFormat, ColorPickerInput, type ColorPickerInputProps, Combobox, ComboboxInput, type ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_CARD_BREAKPOINT, DEFAULT_THEME_FILE_NAME, DEFAULT_TOOLBAR_KEY_PREFIX, DateInput, type DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EMPTY_DESIGN, EmojiInput, type EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, type FileInputProps, type FileNode, Form, FormControl, FormDescription, FormDevTools, FormDevToolsOptions, FormDevToolsProvider, FormField, FormInput, type FormInputBackground, type FormInputProps, FormItem, FormLabel, FormMessage, type FormProps, type FormSlotClassNames, type FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, type ImageInputPreviewError, type ImageInputPreviewSource, type ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, type InputIcon, Label, LangInput, type LangInputProps, type LinkComponentType, MultiSelectInput, type MultiSelectInputProps, NAJM_COLOR_TEXT_CLASSES, NAJM_SAVED_THEME_VALUE, NAJM_STATUS_COLORS, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarImageProps, type NAvatarProps, type AvatarShape as NAvatarShape, NBarChart, type NBarChartProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, type NCardDensity, NCardFooter, NCardInfo, type NCardInfoProps, NCardMedia, type NCardMediaAspect, type NCardMediaPlacement, type NCardMediaProps, type NCardMediaSize, type NCardMediaVariant, type CardProps as NCardProps, NCardSection, type NCardSectionProps, type NCardSectionSurface, type NCartesianChartProps, type NChartCardProps, type NChartDatum, type NChartItem, type NChartSeries, type NChartSize, NChartSkeleton, type NChartSkeletonProps, type NChartSkeletonVariant, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, type NCredentialField, NCredentialsCard, type NCredentialsCardClassNames, type NCredentialsCardProps, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NErrorBoundary, type NFeedbackIconSize, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPieChart, type NPieChartProps, NPortalScopeProvider, NProgress, type NProgressProps, NRowActions, NSection, NSectionHeader, type NSectionHeaderActionsProps, type NSectionHeaderContentProps, type NSectionHeaderProps, type NSectionHeaderSubtitleProps, type NSectionHeaderTitleProps, NSectionInfo, type NSectionInfoProps, type NSectionProps, NSectionWithInfo, type NSectionWithInfoItem, type NSectionWithInfoProps, NSheet, type NSheetClassNames, type NSheetProps, NSidebar, NSidebarBrand, type NSidebarBrandProps, NSidebarContent, type NSidebarContentProps, type NSidebarContextValue, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarMobile, type NSidebarMobileProps, NSidebarProvider, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSlider, type NSliderProps, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, NStatusBreakdown, type NStatusBreakdownProps, Swap as NSwap, type NSwapProps, NTable, NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, type NTablePageItem, NTablePagination, NTablePaginationLabels, NTablePaginationVariant, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTableToolbarLabels, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NThemeCustomizer, type NThemeCustomizerFontOption, type NThemeCustomizerLabels, type NThemeCustomizerProps, type NThemeCustomizerTab, type NThemePreset, NThemePresets, type NThemePresetsLabels, type NThemePresetsProps, type NThemePresetsStatus, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, NajmAccent, NajmAppearance, type NajmBorderSide, NajmComponentName, NajmComponentStyleConfig, NajmComponentThemeConfig, NajmDesignConfig, NajmDesignEditorProvider, type NajmDesignEditorProviderProps, type NajmDesignEditorValue, NajmDesignProvider, type NajmDesignProviderProps, NajmFormatConfig, type NajmFormatContextValue, NajmFormatProvider, type NajmFormatProviderProps, NajmLayoutConfig, NajmMode, NajmPreset, NajmResponsiveBreakpoint, NajmResponsiveValue, NajmScroll, type NajmScrollProps, NajmThemeConfig, NajmThemeProvider, NajmThemeProviderProps, NajmThemeTokens, NajmTranslate, NajmTypographyConfig, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, type NumberInputProps, OtpInput, type OtpInputProps, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RadioGroup, RadioGroupInput, type RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, type SelectItemType$1 as SelectItemDataType, type SelectItemType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarFooterRender, type SidebarItemProps, type SidebarLogo, type SidebarLogoRender, type SidebarProps, type SidebarResolvedState, type SidebarWidth, type SidebarWidths, SimpleTooltip, type SimpleTooltipProps, NSkeleton as Skeleton, Slider, SliderInput, type SliderInputProps, type SliderOrientation, type SliderProps, type SliderSize, type SliderVariant, type SmartPastePreview, type SpinnerVariant, StarRatingInput, type StarRatingInputProps, StatusPill, type StatusPillProps, type StatusPillTone, type StepConfig, StepIndicator, type StepMeta, StepsHeader, StepsProgress, type StorageMenuAction, type StorageSortOption, type StorageTarget, Swap, type SwapEffect, SwapIndeterminate, SwapOff, SwapOn, type SwapProps, type SwapSize, type SwapState, Switch, type SwitchColor, SwitchInput, type SwitchInputProps, type SwitchSize, TAB_COLORS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderColor, TableRow, type TableState, type TableStore, TableStoreContext, Tabs, TabsContent, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, type TabsVariant, TextAreaInput, type TextAreaInputProps, TextInput, type TextInputProps, Textarea, TimeInput, type TimeInputProps, TimeZoneInput, type TimeZoneInputProps, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseContextMenuResult, type UseNFormOptions, type UseStorageContextMenuOptions, type UseStorageContextMenuResult, type UserMenuAction, VariantProvider, type WizardClassNames, WizardForm, type WizardFormProps, alertVariants, avatarVariants, buildDefaultFileColumns, buildPageItems, buildToolbarLabels, buttonVariants, cn, colorTextClass, composePreset, createDialogStore, createTableStore, defineNajmThemeConfig, detectFormat, dialogVariants, filterResponsiveColumns, findStatusColor, focusRingClasses, focusRingWithinClasses, formatColor, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, isPlaceholderAvatar, normalizeStatusToken, normalizeThemeFileName, parseColor, parseNajmThemeConfig, parseThemeFile, resolveAvatarSrc, resolveHiddenBelowClass, resolvePreset, resolveSlot, resolveStatusColor, sidebarBorderClasses, sliderVariants, statusTextClass, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toPickerHex, toggleVariants, tooltipContentVariants, truncateByCharacters, useCardViewport, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDesktopTableMode, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useMediaQuery, useNForm, useNPortalScope, useNSidebar, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmDesignEditor, useNajmFormat, useNajmFormatContext, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore, useVariant, useVariantPreset };
|
|
3917
|
+
export { Alert, type AlertLook, type AlertOrientation, type AlertProps, type AlertSize, type AlertTone, type AlertVariant, NCard as AsyncCard, Avatar, AvatarFallback, AvatarFormInput, type AvatarFormInputProps, AvatarGroup, type AvatarGroupProps, AvatarImage, AvatarInput, AvatarInputProps, type AvatarProps$1 as AvatarProps, type AvatarShape$1 as AvatarShape, type AvatarSize, AvatarStatus, type AvatarStatusType, BadgeColor, BadgeShape, BaseInput, type BuildDefaultFileColumnsOptions, Button, type ButtonConfig, type ButtonIcon, type ButtonLoaderPosition, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroupInput, CheckboxGroupInputProps, CheckboxInput, CheckboxInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorArrayInput, ColorArrayInputProps, ColorPickerInput, ColorPickerInputProps, Combobox, ComboboxInput, ComboboxInputProps, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ContextMenuItem, DEFAULT_CARD_BREAKPOINT, DEFAULT_THEME_FILE_NAME, DEFAULT_TOOLBAR_KEY_PREFIX, DateInput, DateInputProps, type DeleteDialogOptions, Dialog, type DialogActionMode, type DialogApi, DialogClose, type DialogConfig, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, DialogOverlay, type DialogPadding, DialogPortal, type DialogRenderContext, type DialogRenderer, type DialogSize, type DialogStore, DialogTitle, DialogTrigger, type DialogVariant, type DialogWidth, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicArray, type DynamicArrayProps, EMPTY_DESIGN, EmojiInput, EmojiInputProps, type FileBrowserMode, FileImportButton, FileInput, FileInputProps, type FileNode, Form, FormControl, FormDescription, FormDevTools, FormDevToolsOptions, FormDevToolsProvider, FormField, FormInput, FormInputProps, FormItem, FormLabel, FormMessage, FormProps, FormVariant, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, ImageInput, ImageInputProps, Indicator, type IndicatorHorizontal, type IndicatorOverlay, type IndicatorPosition, type IndicatorProps, type IndicatorResponsivePosition, type IndicatorSize, type IndicatorVertical, Input, Label, LangInput, LangInputProps, type LinkComponentType, MultiSelectInput, MultiSelectInputProps, NAJM_COLOR_TEXT_CLASSES, NAJM_SAVED_THEME_VALUE, NAJM_STATUS_COLORS, NAlert, type NAppCommandItem, NAppShell, type NAppShellAction, type NAppShellClassNames, type NAppShellProps, type NAppShellUser, NCard as NAsyncCard, type CardClassNames as NAsyncCardClassNames, type CardProps as NAsyncCardProps, NAvatar, type NAvatarClassNames, type NAvatarImageProps, type NAvatarProps, type AvatarShape as NAvatarShape, NBarChart, type NBarChartProps, type NBulkAction, type NBulkActionButton, type NBulkActionSelect, NBulkActionsBar, type NBulkActionsBarProps, NButton, type NButtonProps, NCard, NCardAction, type CardClassNames as NCardClassNames, type NCardDensity, NCardFooter, NCardInfo, type NCardInfoProps, NCardMedia, type NCardMediaAspect, type NCardMediaPlacement, type NCardMediaProps, type NCardMediaSize, type NCardMediaVariant, type CardProps as NCardProps, NCardSection, type NCardSectionProps, type NCardSectionSurface, type NCartesianChartProps, type NChartCardProps, type NChartDatum, type NChartItem, type NChartSeries, type NChartSize, NChartSkeleton, type NChartSkeletonProps, type NChartSkeletonVariant, NCommandPalette, type NCommandPaletteProps, NConfirmDialog, type NConfirmDialogProps, NContextMenu, type NContextMenuItem, type NContextMenuProps, type NCredentialField, NCredentialsCard, type NCredentialsCardClassNames, type NCredentialsCardProps, NDataCardShell, type NDataCardShellActions, type NDataCardShellProps, NDeleteDialog, NDeleteDialogContent, type NDeleteDialogContentProps, type NDeleteDialogProps, NDetailCard, type NDetailCardClassNames, type NDetailCardProps, NDetailItem, type NDetailItemProps, NDetailList, type NDetailListItem, type NDetailListProps, NDialog, type NDialogActionProps, NDialogDescription, type NDialogDescriptionProps, type NDialogDirectProps, NDialogHeader, type NDialogHeaderProps, NDialogPrimaryButton, type NDialogProps, NDialogSecondaryButton, NDonutCard, type NDonutCardClassNames, type NDonutCardItem, type NDonutCardLayout, type NDonutCardLegendMarker, type NDonutCardProps, type NDonutCardVariant, type NEditorTab, NEditorTabs, type NEditorTabsProps, NErrorBoundary, type NFeedbackIconSize, NFileBrowser, type NFileBrowserCardProps, type NFileBrowserProps, type NFileBrowserRenderThumbProps, NFileTypeIcon, type NFileTypeIconProps, NFilterBar, NFolderIcon, type NFolderIconProps, NForm, NFormSectionHeader, type NFormSectionHeaderProps, NGrid, type NGridCols, NGridItem, type NGridItemProps, type NGridProps, type NGridSpan, NIconSource, NImage, type NImageProps, NIndicator, NInspectorSheet, NLineChart, type NLineChartProps, NMultiDialog, type NMultiDialogProps, NNavbar, NPageHeader, NPageHeaderActions, type NPageHeaderBreakpoint, NPageHeaderCompactActions, NPageHeaderFilters, type NPageHeaderProps, NPageHeaderTop, NPageLayout, type NPageLayoutProps, NPieChart, type NPieChartProps, NPortalScopeProvider, NProgress, type NProgressProps, NRowActions, NSection, NSectionHeader, type NSectionHeaderActionsProps, type NSectionHeaderContentProps, type NSectionHeaderProps, type NSectionHeaderSubtitleProps, type NSectionHeaderTitleProps, NSectionInfo, type NSectionInfoProps, type NSectionProps, NSectionWithInfo, type NSectionWithInfoItem, type NSectionWithInfoProps, NSheet, type NSheetClassNames, type NSheetProps, NSidebar, NSidebarBrand, type NSidebarBrandProps, NSidebarContent, type NSidebarContentProps, type NSidebarContextValue, NSidebarFooter, type NSidebarFooterProps, NSidebarHeader, type NSidebarHeaderProps, NSidebarItem, NSidebarMobile, type NSidebarMobileProps, NSidebarProvider, NSidebarSection, type NSidebarSectionProps, NSkeleton, NSkeletonCalendar, NSkeletonChart, NSkeletonDonut, NSkeletonEventList, NSkeletonWidget, NSkeletonWidgets, NSmartPasteDialog, type NSmartPasteDialogProps, NSpinner, type NSpinnerProps, NStatCard, type NStatCardClassNames, type NStatCardProps, NStatCardSkeleton, type NStatCardVariant, NStatusBreakdown, type NStatusBreakdownProps, Swap as NSwap, type NSwapProps, NTable, NTableCardPagination, NTableCardRoot, type NTableCardRootProps, NTableCards, type NTableClassNames, type NTableColumnBreakpoint, type NTableColumnDef, type NTableColumnMeta, NTableContent, NTableHeader, NTableLoadingSkeleton, type NTableMenu, type NTableMenuProp, type NTablePageItem, NTablePagination, NTablePaginationLabels, NTablePaginationVariant, type NTableProps, NTableRowSkeleton, NTableSkeleton, type NTableState, NTableToolbarLabels, NTabs, type NTabsClassNames, type NTabsColor, type NTabsItem, type NTabsProps, type NTabsStyles, NThemeCustomizer, type NThemeCustomizerFontOption, type NThemeCustomizerLabels, type NThemeCustomizerProps, type NThemeCustomizerTab, type NThemePreset, NThemePresets, type NThemePresetsLabels, type NThemePresetsProps, type NThemePresetsStatus, NUploader, type NUploaderItem, type NUploaderItemStatus, type NUploaderProps, NViewBody, NViewToggle, NajmAccent, NajmAppearance, type NajmBorderSide, NajmComponentName, NajmComponentStyleConfig, NajmComponentThemeConfig, NajmDesignConfig, NajmDesignEditorProvider, type NajmDesignEditorProviderProps, type NajmDesignEditorValue, NajmDesignProvider, type NajmDesignProviderProps, NajmFormatConfig, type NajmFormatContextValue, NajmFormatProvider, type NajmFormatProviderProps, NajmLayoutConfig, NajmMode, NajmPreset, NajmResponsiveBreakpoint, NajmResponsiveValue, NajmScroll, type NajmScrollProps, NajmThemeConfig, NajmThemeProvider, NajmThemeProviderProps, NajmThemeTokens, NajmTranslate, NajmTypographyConfig, NativeSelect, type NativeSelectOption, type NativeSelectProps, type NavItem, type NavItemGroup, NumberInput, NumberInputProps, OtpInput, OtpInputProps, PasswordInput, PasswordInputProps, PhoneInput, PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrefixProvider, Progress, type ProgressColor, type ProgressLabelPosition, type ProgressProps, type ProgressSize, type PushDialogOptions, RadioGroup, RadioGroupInput, RadioGroupInputProps, RadioGroupItem, type RenderSlot, RepeatingFields, type RepeatingFieldsProps, ScrollArea, type ScrollAreaProps, SearchField, SearchField as SearchInput, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectInput, SelectInputProps, SelectItem, type SelectItemType as SelectItemDataType, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type SidebarFooterRender, type SidebarItemProps, type SidebarLogo, type SidebarLogoRender, type SidebarProps, type SidebarResolvedState, type SidebarWidth, type SidebarWidths, SimpleTooltip, type SimpleTooltipProps, NSkeleton as Skeleton, type SmartPastePreview, type SpinnerVariant, StarRatingInput, 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, 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, TextAreaInputProps, TextInput, TextInputProps, Textarea, TimeInput, TimeInputProps, TimeZoneInput, TimeZoneInputProps, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseContextMenuResult, type UseNFormOptions, type UseStorageContextMenuOptions, type UseStorageContextMenuResult, type UserMenuAction, type WizardClassNames, WizardForm, type WizardFormProps, alertVariants, avatarVariants, buildDefaultFileColumns, buildPageItems, buildToolbarLabels, buttonVariants, cn, colorTextClass, composePreset, createDialogStore, createTableStore, defineNajmThemeConfig, dialogVariants, filterResponsiveColumns, findStatusColor, focusRingClasses, focusRingWithinClasses, formatFileBytes, formatFileRelative, getIconColorProps, getNChartColor, getNextEditorTabValue, hiddenBelowClasses, indicatorVariants, inputBorderClasses, isPlaceholderAvatar, normalizeStatusToken, normalizeThemeFileName, parseNajmThemeConfig, parseThemeFile, resolveAvatarSrc, resolveHiddenBelowClass, resolvePreset, resolveSlot, resolveStatusColor, sidebarBorderClasses, statusTextClass, stringifyNajmThemeConfig, stringifyThemeFile, surfaceBorderClasses, swapVariants, toggleVariants, tooltipContentVariants, truncateByCharacters, useCardViewport, useClickOutside, useContextMenu, useDebouncedValue, useDelayedLoading, useDesktopTableMode, useDialog, useDialogStore, useDynamicPageSize, useFormField, useFormSubmission, useInfiniteScroll, useKeyboard, useLocalStorageState, useMediaQuery, useNForm, useNPortalScope, useNSidebar, useNajmAppearance, useNajmComponentStyle, useNajmDesign, useNajmDesignEditor, useNajmFormat, useNajmFormatContext, useNajmThemeMode, usePrefix, useSelection, useStepNavigation, useStorageContextMenu, useStoreSync, useTable, useTableKeyboard, useTableStore };
|