@reeverdev/ui 0.5.6 → 0.5.7
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/adapters/tanstack-form/index.cjs +2 -0
- package/dist/adapters/tanstack-form/index.cjs.map +1 -0
- package/dist/adapters/tanstack-form/index.d.cts +57 -0
- package/dist/adapters/tanstack-form/index.d.ts +57 -0
- package/dist/adapters/tanstack-form/index.js +2 -0
- package/dist/adapters/tanstack-form/index.js.map +1 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +241 -174
- package/dist/index.d.ts +241 -174
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +27 -7
package/dist/index.d.cts
CHANGED
|
@@ -5,11 +5,13 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { Toaster as Toaster$1 } from 'sonner';
|
|
7
7
|
export { toast } from 'sonner';
|
|
8
|
-
import {
|
|
8
|
+
import { AriaCalendarProps, AriaRangeCalendarProps } from '@react-aria/calendar';
|
|
9
|
+
import { Calendar as Calendar$1, DateValue } from '@internationalized/date';
|
|
9
10
|
import { Command as Command$1 } from 'cmdk';
|
|
10
11
|
import { GroupProps, Panel, SeparatorProps as SeparatorProps$1 } from 'react-resizable-panels';
|
|
11
12
|
export { PanelProps as ResizablePanelProps } from 'react-resizable-panels';
|
|
12
13
|
import * as lucide_react from 'lucide-react';
|
|
14
|
+
import { RangeValue } from '@react-types/shared';
|
|
13
15
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
14
16
|
import { Crop } from 'react-image-crop';
|
|
15
17
|
export { useTheme } from 'next-themes';
|
|
@@ -1000,31 +1002,235 @@ interface SpinnerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "col
|
|
|
1000
1002
|
}
|
|
1001
1003
|
declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1002
1004
|
|
|
1005
|
+
type Direction = "ltr" | "rtl";
|
|
1006
|
+
interface DirectionContextValue {
|
|
1007
|
+
/** Current direction (ltr or rtl) */
|
|
1008
|
+
direction: Direction;
|
|
1009
|
+
/** Whether the direction is RTL */
|
|
1010
|
+
isRTL: boolean;
|
|
1011
|
+
/** Set the direction */
|
|
1012
|
+
setDirection: (direction: Direction) => void;
|
|
1013
|
+
/** Toggle between LTR and RTL */
|
|
1014
|
+
toggleDirection: () => void;
|
|
1015
|
+
}
|
|
1016
|
+
declare const DirectionContext: React$1.Context<DirectionContextValue | undefined>;
|
|
1017
|
+
interface DirectionProviderProps {
|
|
1018
|
+
/** Child components */
|
|
1019
|
+
children: React$1.ReactNode;
|
|
1020
|
+
/** Initial direction (defaults to "ltr") */
|
|
1021
|
+
direction?: Direction;
|
|
1022
|
+
/** Storage key for direction preference (enables persistence) */
|
|
1023
|
+
storageKey?: string;
|
|
1024
|
+
/** Whether to detect direction from HTML dir attribute */
|
|
1025
|
+
detectFromHtml?: boolean;
|
|
1026
|
+
/** Whether to set dir attribute on HTML element */
|
|
1027
|
+
setHtmlDir?: boolean;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* DirectionProvider - Provides RTL/LTR direction context for the application.
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* ```tsx
|
|
1034
|
+
* // Basic usage
|
|
1035
|
+
* <DirectionProvider>
|
|
1036
|
+
* <App />
|
|
1037
|
+
* </DirectionProvider>
|
|
1038
|
+
*
|
|
1039
|
+
* // With RTL default
|
|
1040
|
+
* <DirectionProvider direction="rtl">
|
|
1041
|
+
* <App />
|
|
1042
|
+
* </DirectionProvider>
|
|
1043
|
+
*
|
|
1044
|
+
* // With persistence
|
|
1045
|
+
* <DirectionProvider storageKey="my-app-direction">
|
|
1046
|
+
* <App />
|
|
1047
|
+
* </DirectionProvider>
|
|
1048
|
+
* ```
|
|
1049
|
+
*/
|
|
1050
|
+
declare const DirectionProvider: React$1.FC<DirectionProviderProps>;
|
|
1051
|
+
/**
|
|
1052
|
+
* useDirection - Hook to access and control the current direction.
|
|
1053
|
+
*
|
|
1054
|
+
* @example
|
|
1055
|
+
* ```tsx
|
|
1056
|
+
* function MyComponent() {
|
|
1057
|
+
* const { direction, isRTL, toggleDirection } = useDirection();
|
|
1058
|
+
*
|
|
1059
|
+
* return (
|
|
1060
|
+
* <div>
|
|
1061
|
+
* <p>Current direction: {direction}</p>
|
|
1062
|
+
* <button onClick={toggleDirection}>Toggle Direction</button>
|
|
1063
|
+
* {isRTL && <span>RTL Mode Active</span>}
|
|
1064
|
+
* </div>
|
|
1065
|
+
* );
|
|
1066
|
+
* }
|
|
1067
|
+
* ```
|
|
1068
|
+
*/
|
|
1069
|
+
declare function useDirection(): DirectionContextValue;
|
|
1070
|
+
/**
|
|
1071
|
+
* useDirectionValue - Hook to get just the direction value.
|
|
1072
|
+
* Useful when you only need to read the direction, not control it.
|
|
1073
|
+
*/
|
|
1074
|
+
declare function useDirectionValue(): Direction;
|
|
1075
|
+
/**
|
|
1076
|
+
* useIsRTL - Hook to check if the current direction is RTL.
|
|
1077
|
+
*/
|
|
1078
|
+
declare function useIsRTL(): boolean;
|
|
1079
|
+
|
|
1080
|
+
type Locale = string;
|
|
1081
|
+
/** Supported calendar systems */
|
|
1082
|
+
type CalendarSystem = "gregory" | "buddhist" | "chinese" | "coptic" | "dangi" | "ethioaa" | "ethiopic" | "hebrew" | "indian" | "islamic" | "islamic-umalqura" | "islamic-civil" | "islamic-tbla" | "japanese" | "persian" | "roc";
|
|
1083
|
+
/** Calendar system display names */
|
|
1084
|
+
declare const CALENDAR_SYSTEM_NAMES: Record<CalendarSystem, string>;
|
|
1085
|
+
/** Default calendar systems for specific locales */
|
|
1086
|
+
declare const LOCALE_DEFAULT_CALENDARS: Record<string, CalendarSystem>;
|
|
1087
|
+
interface I18nContextValue {
|
|
1088
|
+
/** Current locale (e.g., "en", "ar", "tr") */
|
|
1089
|
+
locale: Locale;
|
|
1090
|
+
/** Current direction based on locale */
|
|
1091
|
+
direction: Direction;
|
|
1092
|
+
/** Whether the current locale is RTL */
|
|
1093
|
+
isRTL: boolean;
|
|
1094
|
+
/** Set the locale (also updates direction automatically) */
|
|
1095
|
+
setLocale: (locale: Locale) => void;
|
|
1096
|
+
/** Available locales */
|
|
1097
|
+
locales: Locale[];
|
|
1098
|
+
/** Current calendar system */
|
|
1099
|
+
calendarSystem: CalendarSystem;
|
|
1100
|
+
/** Set the calendar system */
|
|
1101
|
+
setCalendarSystem: (system: CalendarSystem) => void;
|
|
1102
|
+
/** Create a calendar instance for the current system */
|
|
1103
|
+
createCalendarInstance: () => Calendar$1;
|
|
1104
|
+
/** Full locale string with calendar extension */
|
|
1105
|
+
fullLocale: string;
|
|
1106
|
+
}
|
|
1107
|
+
declare const I18nContext: React$1.Context<I18nContextValue | undefined>;
|
|
1108
|
+
/** RTL languages - languages that use right-to-left text direction */
|
|
1109
|
+
declare const RTL_LOCALES: Set<string>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Parse calendar system from locale string
|
|
1112
|
+
* e.g., "ar-SA-u-ca-islamic" → "islamic"
|
|
1113
|
+
*/
|
|
1114
|
+
declare function parseCalendarFromLocale(locale: Locale): CalendarSystem | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* Get the base locale without calendar extension
|
|
1117
|
+
* e.g., "ar-SA-u-ca-islamic" → "ar-SA"
|
|
1118
|
+
*/
|
|
1119
|
+
declare function getBaseLocale(locale: Locale): string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Build full locale string with calendar extension
|
|
1122
|
+
*/
|
|
1123
|
+
declare function buildFullLocale(locale: Locale, calendarSystem: CalendarSystem): string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Get direction for a given locale
|
|
1126
|
+
*/
|
|
1127
|
+
declare function getDirectionForLocale(locale: Locale): Direction;
|
|
1128
|
+
/**
|
|
1129
|
+
* Check if a locale is RTL
|
|
1130
|
+
*/
|
|
1131
|
+
declare function isRTLLocale(locale: Locale): boolean;
|
|
1132
|
+
/**
|
|
1133
|
+
* Get default calendar system for a locale
|
|
1134
|
+
*/
|
|
1135
|
+
declare function getDefaultCalendarForLocale(locale: Locale): CalendarSystem;
|
|
1136
|
+
interface I18nProviderProps {
|
|
1137
|
+
/** Child components */
|
|
1138
|
+
children: React$1.ReactNode;
|
|
1139
|
+
/** Default locale (defaults to "en") */
|
|
1140
|
+
defaultLocale?: Locale;
|
|
1141
|
+
/** Available locales */
|
|
1142
|
+
locales?: Locale[];
|
|
1143
|
+
/** Default calendar system (auto-detected from locale if not provided) */
|
|
1144
|
+
defaultCalendarSystem?: CalendarSystem;
|
|
1145
|
+
/** Storage key for locale preference (enables persistence) */
|
|
1146
|
+
storageKey?: string;
|
|
1147
|
+
/** Whether to detect locale from browser */
|
|
1148
|
+
detectFromBrowser?: boolean;
|
|
1149
|
+
/** Callback when locale changes */
|
|
1150
|
+
onLocaleChange?: (locale: Locale, direction: Direction) => void;
|
|
1151
|
+
/** Callback when calendar system changes */
|
|
1152
|
+
onCalendarSystemChange?: (system: CalendarSystem) => void;
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* I18nProvider wrapper that includes DirectionProvider
|
|
1156
|
+
*/
|
|
1157
|
+
declare const I18nProvider: React$1.FC<I18nProviderProps>;
|
|
1158
|
+
/**
|
|
1159
|
+
* useI18n - Hook to access the i18n context.
|
|
1160
|
+
*
|
|
1161
|
+
* @example
|
|
1162
|
+
* ```tsx
|
|
1163
|
+
* function LanguageSwitcher() {
|
|
1164
|
+
* const { locale, setLocale, calendarSystem, setCalendarSystem } = useI18n();
|
|
1165
|
+
*
|
|
1166
|
+
* return (
|
|
1167
|
+
* <div>
|
|
1168
|
+
* <select value={locale} onChange={(e) => setLocale(e.target.value)}>
|
|
1169
|
+
* <option value="en">English</option>
|
|
1170
|
+
* <option value="ar">Arabic</option>
|
|
1171
|
+
* </select>
|
|
1172
|
+
* <select value={calendarSystem} onChange={(e) => setCalendarSystem(e.target.value)}>
|
|
1173
|
+
* <option value="gregory">Gregorian</option>
|
|
1174
|
+
* <option value="islamic">Islamic</option>
|
|
1175
|
+
* </select>
|
|
1176
|
+
* </div>
|
|
1177
|
+
* );
|
|
1178
|
+
* }
|
|
1179
|
+
* ```
|
|
1180
|
+
*/
|
|
1181
|
+
declare function useI18n(): I18nContextValue;
|
|
1182
|
+
/**
|
|
1183
|
+
* useLocale - Hook to get just the current locale.
|
|
1184
|
+
*/
|
|
1185
|
+
declare function useLocale(): Locale;
|
|
1186
|
+
/**
|
|
1187
|
+
* useCalendarSystem - Hook to get the current calendar system.
|
|
1188
|
+
*/
|
|
1189
|
+
declare function useCalendarSystem(): CalendarSystem;
|
|
1190
|
+
|
|
1191
|
+
type CalendarSize$1 = "sm" | "md" | "lg";
|
|
1192
|
+
interface CalendarProps<T extends DateValue = DateValue> extends Omit<AriaCalendarProps<T>, "locale" | "createCalendar"> {
|
|
1193
|
+
/** Size of the calendar */
|
|
1194
|
+
size?: CalendarSize$1;
|
|
1195
|
+
/** Show month and year picker dropdowns */
|
|
1196
|
+
showMonthAndYearPickers?: boolean;
|
|
1197
|
+
/** The start year for the year picker */
|
|
1198
|
+
startYear?: number;
|
|
1199
|
+
/** The end year for the year picker */
|
|
1200
|
+
endYear?: number;
|
|
1201
|
+
/** Override calendar system (uses I18nProvider's calendar by default) */
|
|
1202
|
+
calendarSystem?: CalendarSystem;
|
|
1203
|
+
/** Override locale (uses I18nProvider's locale by default) */
|
|
1204
|
+
locale?: string;
|
|
1205
|
+
/** Additional className */
|
|
1206
|
+
className?: string;
|
|
1207
|
+
}
|
|
1208
|
+
declare function Calendar<T extends DateValue = DateValue>({ className, size, showMonthAndYearPickers, startYear, endYear, calendarSystem: propCalendarSystem, locale: propLocale, ...props }: CalendarProps<T>): react_jsx_runtime.JSX.Element;
|
|
1209
|
+
declare namespace Calendar {
|
|
1210
|
+
var displayName: string;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1003
1213
|
type CalendarSize = "sm" | "md" | "lg";
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Size of the calendar
|
|
1007
|
-
* @default "md"
|
|
1008
|
-
*/
|
|
1214
|
+
interface RangeCalendarProps<T extends DateValue = DateValue> extends Omit<AriaRangeCalendarProps<T>, "locale" | "createCalendar"> {
|
|
1215
|
+
/** Size of the calendar */
|
|
1009
1216
|
size?: CalendarSize;
|
|
1010
|
-
/**
|
|
1011
|
-
* Show month and year picker dropdowns instead of text.
|
|
1012
|
-
* @default false
|
|
1013
|
-
*/
|
|
1217
|
+
/** Show month and year picker dropdowns */
|
|
1014
1218
|
showMonthAndYearPickers?: boolean;
|
|
1015
|
-
/**
|
|
1016
|
-
* The start year for the year picker dropdown.
|
|
1017
|
-
* @default 1900
|
|
1018
|
-
*/
|
|
1219
|
+
/** The start year for the year picker */
|
|
1019
1220
|
startYear?: number;
|
|
1020
|
-
/**
|
|
1021
|
-
* The end year for the year picker dropdown.
|
|
1022
|
-
* @default current year + 50
|
|
1023
|
-
*/
|
|
1221
|
+
/** The end year for the year picker */
|
|
1024
1222
|
endYear?: number;
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1223
|
+
/** Number of months to display */
|
|
1224
|
+
visibleMonths?: number;
|
|
1225
|
+
/** Override calendar system (uses I18nProvider's calendar by default) */
|
|
1226
|
+
calendarSystem?: CalendarSystem;
|
|
1227
|
+
/** Override locale (uses I18nProvider's locale by default) */
|
|
1228
|
+
locale?: string;
|
|
1229
|
+
/** Additional className */
|
|
1230
|
+
className?: string;
|
|
1231
|
+
}
|
|
1232
|
+
declare function RangeCalendar<T extends DateValue = DateValue>({ className, size, showMonthAndYearPickers, startYear, endYear, visibleMonths, calendarSystem: propCalendarSystem, locale: propLocale, ...props }: RangeCalendarProps<T>): react_jsx_runtime.JSX.Element;
|
|
1233
|
+
declare namespace RangeCalendar {
|
|
1028
1234
|
var displayName: string;
|
|
1029
1235
|
}
|
|
1030
1236
|
|
|
@@ -2560,6 +2766,8 @@ declare const dateRangePickerVariants: (props?: ({
|
|
|
2560
2766
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2561
2767
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2562
2768
|
type DateRangeFormat = "dd/MM/yyyy" | "MM/dd/yyyy" | "yyyy-MM-dd" | "dd.MM.yyyy";
|
|
2769
|
+
/** Date range value type */
|
|
2770
|
+
type DateRangeValue = RangeValue<DateValue> | null;
|
|
2563
2771
|
interface DateRangePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange" | "value" | "defaultValue" | "disabled">, VariantProps<typeof dateRangePickerVariants> {
|
|
2564
2772
|
isDisabled?: boolean;
|
|
2565
2773
|
label?: React$1.ReactNode;
|
|
@@ -2571,11 +2779,11 @@ interface DateRangePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInpu
|
|
|
2571
2779
|
inputClassName?: string;
|
|
2572
2780
|
descriptionClassName?: string;
|
|
2573
2781
|
errorClassName?: string;
|
|
2574
|
-
value?:
|
|
2575
|
-
defaultValue?:
|
|
2576
|
-
onChange?: (range:
|
|
2577
|
-
|
|
2578
|
-
|
|
2782
|
+
value?: DateRangeValue;
|
|
2783
|
+
defaultValue?: DateRangeValue;
|
|
2784
|
+
onChange?: (range: DateRangeValue) => void;
|
|
2785
|
+
minValue?: DateValue;
|
|
2786
|
+
maxValue?: DateValue;
|
|
2579
2787
|
dateFormat?: DateRangeFormat;
|
|
2580
2788
|
/**
|
|
2581
2789
|
* Show calendar picker icon and enable popup
|
|
@@ -2596,7 +2804,7 @@ interface DateRangePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInpu
|
|
|
2596
2804
|
* Number of months to display
|
|
2597
2805
|
* @default 2
|
|
2598
2806
|
*/
|
|
2599
|
-
|
|
2807
|
+
visibleMonths?: number;
|
|
2600
2808
|
/**
|
|
2601
2809
|
* Alignment of the popover
|
|
2602
2810
|
* @default "start"
|
|
@@ -3196,147 +3404,6 @@ declare const ReeverUIContext: React$1.Context<ReeverUIContextValue>;
|
|
|
3196
3404
|
declare const useReeverUI: () => ReeverUIContextValue;
|
|
3197
3405
|
declare const ReeverUIProvider: React$1.FC<ReeverUIProviderProps>;
|
|
3198
3406
|
|
|
3199
|
-
type Direction = "ltr" | "rtl";
|
|
3200
|
-
interface DirectionContextValue {
|
|
3201
|
-
/** Current direction (ltr or rtl) */
|
|
3202
|
-
direction: Direction;
|
|
3203
|
-
/** Whether the direction is RTL */
|
|
3204
|
-
isRTL: boolean;
|
|
3205
|
-
/** Set the direction */
|
|
3206
|
-
setDirection: (direction: Direction) => void;
|
|
3207
|
-
/** Toggle between LTR and RTL */
|
|
3208
|
-
toggleDirection: () => void;
|
|
3209
|
-
}
|
|
3210
|
-
declare const DirectionContext: React$1.Context<DirectionContextValue | undefined>;
|
|
3211
|
-
interface DirectionProviderProps {
|
|
3212
|
-
/** Child components */
|
|
3213
|
-
children: React$1.ReactNode;
|
|
3214
|
-
/** Initial direction (defaults to "ltr") */
|
|
3215
|
-
direction?: Direction;
|
|
3216
|
-
/** Storage key for direction preference (enables persistence) */
|
|
3217
|
-
storageKey?: string;
|
|
3218
|
-
/** Whether to detect direction from HTML dir attribute */
|
|
3219
|
-
detectFromHtml?: boolean;
|
|
3220
|
-
/** Whether to set dir attribute on HTML element */
|
|
3221
|
-
setHtmlDir?: boolean;
|
|
3222
|
-
}
|
|
3223
|
-
/**
|
|
3224
|
-
* DirectionProvider - Provides RTL/LTR direction context for the application.
|
|
3225
|
-
*
|
|
3226
|
-
* @example
|
|
3227
|
-
* ```tsx
|
|
3228
|
-
* // Basic usage
|
|
3229
|
-
* <DirectionProvider>
|
|
3230
|
-
* <App />
|
|
3231
|
-
* </DirectionProvider>
|
|
3232
|
-
*
|
|
3233
|
-
* // With RTL default
|
|
3234
|
-
* <DirectionProvider direction="rtl">
|
|
3235
|
-
* <App />
|
|
3236
|
-
* </DirectionProvider>
|
|
3237
|
-
*
|
|
3238
|
-
* // With persistence
|
|
3239
|
-
* <DirectionProvider storageKey="my-app-direction">
|
|
3240
|
-
* <App />
|
|
3241
|
-
* </DirectionProvider>
|
|
3242
|
-
* ```
|
|
3243
|
-
*/
|
|
3244
|
-
declare const DirectionProvider: React$1.FC<DirectionProviderProps>;
|
|
3245
|
-
/**
|
|
3246
|
-
* useDirection - Hook to access and control the current direction.
|
|
3247
|
-
*
|
|
3248
|
-
* @example
|
|
3249
|
-
* ```tsx
|
|
3250
|
-
* function MyComponent() {
|
|
3251
|
-
* const { direction, isRTL, toggleDirection } = useDirection();
|
|
3252
|
-
*
|
|
3253
|
-
* return (
|
|
3254
|
-
* <div>
|
|
3255
|
-
* <p>Current direction: {direction}</p>
|
|
3256
|
-
* <button onClick={toggleDirection}>Toggle Direction</button>
|
|
3257
|
-
* {isRTL && <span>RTL Mode Active</span>}
|
|
3258
|
-
* </div>
|
|
3259
|
-
* );
|
|
3260
|
-
* }
|
|
3261
|
-
* ```
|
|
3262
|
-
*/
|
|
3263
|
-
declare function useDirection(): DirectionContextValue;
|
|
3264
|
-
/**
|
|
3265
|
-
* useDirectionValue - Hook to get just the direction value.
|
|
3266
|
-
* Useful when you only need to read the direction, not control it.
|
|
3267
|
-
*/
|
|
3268
|
-
declare function useDirectionValue(): Direction;
|
|
3269
|
-
/**
|
|
3270
|
-
* useIsRTL - Hook to check if the current direction is RTL.
|
|
3271
|
-
*/
|
|
3272
|
-
declare function useIsRTL(): boolean;
|
|
3273
|
-
|
|
3274
|
-
type Locale = string;
|
|
3275
|
-
interface I18nContextValue {
|
|
3276
|
-
/** Current locale (e.g., "en", "ar", "tr") */
|
|
3277
|
-
locale: Locale;
|
|
3278
|
-
/** Current direction based on locale */
|
|
3279
|
-
direction: Direction;
|
|
3280
|
-
/** Whether the current locale is RTL */
|
|
3281
|
-
isRTL: boolean;
|
|
3282
|
-
/** Set the locale (also updates direction automatically) */
|
|
3283
|
-
setLocale: (locale: Locale) => void;
|
|
3284
|
-
/** Available locales */
|
|
3285
|
-
locales: Locale[];
|
|
3286
|
-
}
|
|
3287
|
-
declare const I18nContext: React$1.Context<I18nContextValue | undefined>;
|
|
3288
|
-
/** RTL languages - languages that use right-to-left text direction */
|
|
3289
|
-
declare const RTL_LOCALES: Set<string>;
|
|
3290
|
-
/**
|
|
3291
|
-
* Get direction for a given locale
|
|
3292
|
-
*/
|
|
3293
|
-
declare function getDirectionForLocale(locale: Locale): Direction;
|
|
3294
|
-
/**
|
|
3295
|
-
* Check if a locale is RTL
|
|
3296
|
-
*/
|
|
3297
|
-
declare function isRTLLocale(locale: Locale): boolean;
|
|
3298
|
-
interface I18nProviderProps {
|
|
3299
|
-
/** Child components */
|
|
3300
|
-
children: React$1.ReactNode;
|
|
3301
|
-
/** Default locale (defaults to "en") */
|
|
3302
|
-
defaultLocale?: Locale;
|
|
3303
|
-
/** Available locales */
|
|
3304
|
-
locales?: Locale[];
|
|
3305
|
-
/** Storage key for locale preference (enables persistence) */
|
|
3306
|
-
storageKey?: string;
|
|
3307
|
-
/** Whether to detect locale from browser */
|
|
3308
|
-
detectFromBrowser?: boolean;
|
|
3309
|
-
/** Callback when locale changes */
|
|
3310
|
-
onLocaleChange?: (locale: Locale, direction: Direction) => void;
|
|
3311
|
-
}
|
|
3312
|
-
/**
|
|
3313
|
-
* I18nProvider wrapper that includes DirectionProvider
|
|
3314
|
-
*/
|
|
3315
|
-
declare const I18nProvider: React$1.FC<I18nProviderProps>;
|
|
3316
|
-
/**
|
|
3317
|
-
* useI18n - Hook to access the i18n context.
|
|
3318
|
-
*
|
|
3319
|
-
* @example
|
|
3320
|
-
* ```tsx
|
|
3321
|
-
* function LanguageSwitcher() {
|
|
3322
|
-
* const { locale, setLocale, locales, isRTL } = useI18n();
|
|
3323
|
-
*
|
|
3324
|
-
* return (
|
|
3325
|
-
* <select value={locale} onChange={(e) => setLocale(e.target.value)}>
|
|
3326
|
-
* {locales.map((l) => (
|
|
3327
|
-
* <option key={l} value={l}>{l}</option>
|
|
3328
|
-
* ))}
|
|
3329
|
-
* </select>
|
|
3330
|
-
* );
|
|
3331
|
-
* }
|
|
3332
|
-
* ```
|
|
3333
|
-
*/
|
|
3334
|
-
declare function useI18n(): I18nContextValue;
|
|
3335
|
-
/**
|
|
3336
|
-
* useLocale - Hook to get just the current locale.
|
|
3337
|
-
*/
|
|
3338
|
-
declare function useLocale(): Locale;
|
|
3339
|
-
|
|
3340
3407
|
declare const datePickerVariants: (props?: ({
|
|
3341
3408
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3342
3409
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -3352,11 +3419,11 @@ interface DatePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElem
|
|
|
3352
3419
|
inputClassName?: string;
|
|
3353
3420
|
descriptionClassName?: string;
|
|
3354
3421
|
errorClassName?: string;
|
|
3355
|
-
value?:
|
|
3356
|
-
defaultValue?:
|
|
3357
|
-
onChange?: (date:
|
|
3358
|
-
|
|
3359
|
-
|
|
3422
|
+
value?: DateValue | null;
|
|
3423
|
+
defaultValue?: DateValue | null;
|
|
3424
|
+
onChange?: (date: DateValue | null) => void;
|
|
3425
|
+
minValue?: DateValue;
|
|
3426
|
+
maxValue?: DateValue;
|
|
3360
3427
|
dateFormat?: DateFormat;
|
|
3361
3428
|
/**
|
|
3362
3429
|
* Show calendar picker icon and enable popup
|
|
@@ -8377,4 +8444,4 @@ declare function maskPhone(phone: string, visibleEnd?: number): string;
|
|
|
8377
8444
|
*/
|
|
8378
8445
|
declare function maskCreditCard(cardNumber: string): string;
|
|
8379
8446
|
|
|
8380
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Direction, DirectionContext, type DirectionContextValue, DirectionProvider, type DirectionProviderProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, I18nContext, type I18nContextValue, I18nProvider, type I18nProviderProps, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, type Locale, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, RTL_LOCALES, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getContrastRatio, getDirectionForLocale, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isRTLLocale, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDirection, useDirectionValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useI18n, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsRTL, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLocale, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|
|
8447
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, CALENDAR_SYSTEM_NAMES, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarSystem, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Direction, DirectionContext, type DirectionContextValue, DirectionProvider, type DirectionProviderProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, I18nContext, type I18nContextValue, I18nProvider, type I18nProviderProps, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, LOCALE_DEFAULT_CALENDARS, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, type Locale, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, RTL_LOCALES, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeCalendar, type RangeCalendarProps, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buildFullLocale, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getBaseLocale, getContrastRatio, getDefaultCalendarForLocale, getDirectionForLocale, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isRTLLocale, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseCalendarFromLocale, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCalendarSystem, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDirection, useDirectionValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useI18n, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsRTL, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLocale, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|