@yca-software/yca-react-core 0.0.1

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.
Files changed (87) hide show
  1. package/README.md +129 -0
  2. package/dist/admin/index.d.ts +10 -0
  3. package/dist/admin/index.js +3 -0
  4. package/dist/admin/index.js.map +1 -0
  5. package/dist/admin-BVYdWtEy.d.ts +3 -0
  6. package/dist/api/index.d.ts +68 -0
  7. package/dist/api/index.js +3 -0
  8. package/dist/api/index.js.map +1 -0
  9. package/dist/auth/index.d.ts +49 -0
  10. package/dist/auth/index.js +3 -0
  11. package/dist/auth/index.js.map +1 -0
  12. package/dist/chunk-2HJO2ICF.js +339 -0
  13. package/dist/chunk-2HJO2ICF.js.map +1 -0
  14. package/dist/chunk-3AYG73DK.js +174 -0
  15. package/dist/chunk-3AYG73DK.js.map +1 -0
  16. package/dist/chunk-3SCZ4Z6P.js +26 -0
  17. package/dist/chunk-3SCZ4Z6P.js.map +1 -0
  18. package/dist/chunk-3ZLODBRJ.js +21 -0
  19. package/dist/chunk-3ZLODBRJ.js.map +1 -0
  20. package/dist/chunk-6LO5O4G6.js +224 -0
  21. package/dist/chunk-6LO5O4G6.js.map +1 -0
  22. package/dist/chunk-APZVW5SW.js +75 -0
  23. package/dist/chunk-APZVW5SW.js.map +1 -0
  24. package/dist/chunk-EVZBADFR.js +583 -0
  25. package/dist/chunk-EVZBADFR.js.map +1 -0
  26. package/dist/chunk-GXWVFQCK.js +52 -0
  27. package/dist/chunk-GXWVFQCK.js.map +1 -0
  28. package/dist/chunk-KG4JVAKS.js +13 -0
  29. package/dist/chunk-KG4JVAKS.js.map +1 -0
  30. package/dist/chunk-KZH56VPP.js +183 -0
  31. package/dist/chunk-KZH56VPP.js.map +1 -0
  32. package/dist/chunk-LP7Q75C6.js +96 -0
  33. package/dist/chunk-LP7Q75C6.js.map +1 -0
  34. package/dist/chunk-NL4NAHXG.js +3 -0
  35. package/dist/chunk-NL4NAHXG.js.map +1 -0
  36. package/dist/chunk-PLSNCPEC.js +2507 -0
  37. package/dist/chunk-PLSNCPEC.js.map +1 -0
  38. package/dist/chunk-QFKVPVFC.js +1391 -0
  39. package/dist/chunk-QFKVPVFC.js.map +1 -0
  40. package/dist/chunk-TSXUUD64.js +64 -0
  41. package/dist/chunk-TSXUUD64.js.map +1 -0
  42. package/dist/chunk-UCJ76BEC.js +32 -0
  43. package/dist/chunk-UCJ76BEC.js.map +1 -0
  44. package/dist/chunk-WFTIYYII.js +3 -0
  45. package/dist/chunk-WFTIYYII.js.map +1 -0
  46. package/dist/components/forms/index.d.ts +101 -0
  47. package/dist/components/forms/index.js +7 -0
  48. package/dist/components/forms/index.js.map +1 -0
  49. package/dist/components/marketing/index.d.ts +473 -0
  50. package/dist/components/marketing/index.js +5 -0
  51. package/dist/components/marketing/index.js.map +1 -0
  52. package/dist/components/spa/index.d.ts +275 -0
  53. package/dist/components/spa/index.js +8 -0
  54. package/dist/components/spa/index.js.map +1 -0
  55. package/dist/components/ui/index.d.ts +420 -0
  56. package/dist/components/ui/index.js +6 -0
  57. package/dist/components/ui/index.js.map +1 -0
  58. package/dist/constants/index.d.ts +2 -0
  59. package/dist/constants/index.js +4 -0
  60. package/dist/constants/index.js.map +1 -0
  61. package/dist/cookies-ZS_QYOR7.d.ts +8 -0
  62. package/dist/dateRangePickerTranslations-B99F2WQA.d.ts +9 -0
  63. package/dist/errors/index.d.ts +48 -0
  64. package/dist/errors/index.js +3 -0
  65. package/dist/errors/index.js.map +1 -0
  66. package/dist/forms-VpLvEFob.d.ts +18 -0
  67. package/dist/hooks/index.d.ts +18 -0
  68. package/dist/hooks/index.js +4 -0
  69. package/dist/hooks/index.js.map +1 -0
  70. package/dist/index.d.ts +42 -0
  71. package/dist/index.js +19 -0
  72. package/dist/index.js.map +1 -0
  73. package/dist/lib/index.d.ts +49 -0
  74. package/dist/lib/index.js +7 -0
  75. package/dist/lib/index.js.map +1 -0
  76. package/dist/pagination-CFqoqiAG.d.ts +10 -0
  77. package/dist/radix-overlays-BlCr-uem.d.ts +10 -0
  78. package/dist/styles.css +9 -0
  79. package/dist/theme/marketing.css +750 -0
  80. package/dist/theme/tokens.css +115 -0
  81. package/dist/types/index.d.ts +2 -0
  82. package/dist/types/index.js +3 -0
  83. package/dist/types/index.js.map +1 -0
  84. package/dist/types-BuNHOJ1h.d.ts +58 -0
  85. package/dist/types-CN73TWSY.d.ts +51 -0
  86. package/dist/useAdminListPage-C4ZTTllP.d.ts +26 -0
  87. package/package.json +152 -0
@@ -0,0 +1,420 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import * as React from 'react';
4
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
5
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
6
+ import { DayPickerProps } from 'react-day-picker';
7
+ export { DateRange } from 'react-day-picker';
8
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
9
+ import { Locale } from 'date-fns';
10
+ import { a as DateRangePickerProps } from '../../types-BuNHOJ1h.js';
11
+ export { D as DateRangePickerPreset, b as DateRangePickerTranslations, c as DefaultPresetId } from '../../types-BuNHOJ1h.js';
12
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
13
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
14
+ import * as react_hook_form from 'react-hook-form';
15
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
16
+ import * as LabelPrimitive from '@radix-ui/react-label';
17
+ import { Slot } from '@radix-ui/react-slot';
18
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
19
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
20
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
21
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
22
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
23
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
24
+ export { i as isRadixPortaledOverlay } from '../../radix-overlays-BlCr-uem.js';
25
+
26
+ declare const alertVariants: (props?: ({
27
+ variant?: "default" | "destructive" | null | undefined;
28
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
29
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): React.JSX.Element;
30
+ declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
31
+
32
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
33
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
34
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
35
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
+ interface AlertDialogContentProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
37
+ /** When set, clicking the overlay calls this (e.g. to close when opened from a drawer). */
38
+ onOverlayClick?: () => void;
39
+ /** Optional extra classes for the overlay (e.g. to raise z-index). */
40
+ overlayClassName?: string;
41
+ }
42
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
43
+ declare const AlertDialogHeader: {
44
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
45
+ displayName: string;
46
+ };
47
+ declare const AlertDialogFooter: {
48
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
49
+ displayName: string;
50
+ };
51
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
52
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
53
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
54
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
55
+
56
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
57
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
58
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
59
+
60
+ declare const badgeVariants: (props?: ({
61
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
62
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
63
+ declare function Badge({ className, variant, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants>): React.JSX.Element;
64
+
65
+ declare const buttonVariants: (props?: ({
66
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
67
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
68
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
69
+ type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
70
+ /** Render as a child element (e.g. `<a>`) while keeping button styles. */
71
+ asChild?: boolean;
72
+ };
73
+ /** Primary action control. See Storybook **UI/Button** for variants. */
74
+ declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): React.JSX.Element;
75
+
76
+ type CalendarProps = DayPickerProps;
77
+ declare function Calendar({ className, classNames, showOutsideDays, weekStartsOn, ...props }: CalendarProps): React.JSX.Element;
78
+
79
+ /** Elevated content container. Compose with CardHeader, CardContent, etc. */
80
+ declare function Card({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
81
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
82
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
83
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
84
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
85
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
86
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
87
+
88
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
89
+
90
+ interface ConfirmDialogProps {
91
+ open: boolean;
92
+ onOpenChange: (open: boolean) => void;
93
+ title: string;
94
+ description: string;
95
+ /** Optional note shown below the description (e.g. policy or retention info) */
96
+ descriptionNote?: string;
97
+ cancelLabel?: string;
98
+ confirmLabel: string;
99
+ variant?: 'default' | 'destructive';
100
+ onConfirm: () => void;
101
+ isPending?: boolean;
102
+ /** Accessibility: describe the action for screen readers */
103
+ confirmAriaLabel?: string;
104
+ className?: string;
105
+ /** When true, clicking outside the dialog (e.g. overlay) closes it. Useful when dialog is opened from a drawer. */
106
+ closeOnOutsideClick?: boolean;
107
+ }
108
+ /**
109
+ * A reusable confirmation dialog for destructive or important actions.
110
+ * By default uses AlertDialog so Escape does not accidentally dismiss.
111
+ * Enter focuses and activates the confirm action (not cancel).
112
+ * Set closeOnOutsideClick to allow closing when opened from a drawer or when overlay click is desired.
113
+ * Mobile-friendly: stacks buttons vertically on small screens.
114
+ */
115
+ declare function ConfirmDialog({ open, onOpenChange, title, description, descriptionNote, cancelLabel, confirmLabel, variant, onConfirm, isPending, confirmAriaLabel, className, closeOnOutsideClick, }: ConfirmDialogProps): React.JSX.Element;
116
+
117
+ interface DatePickerProps {
118
+ value: Date | undefined;
119
+ onChange: (date: Date | undefined) => void;
120
+ /** Minimum selectable date (inclusive). */
121
+ minDate?: Date;
122
+ /** Maximum selectable date (inclusive). */
123
+ maxDate?: Date;
124
+ placeholder?: string;
125
+ disabled?: boolean;
126
+ /** Locale for calendar and formatting (e.g. from date-fns/locale). */
127
+ locale?: Locale;
128
+ className?: string;
129
+ 'aria-label'?: string;
130
+ }
131
+ declare function DatePicker({ value, onChange, minDate, maxDate, placeholder, disabled, locale, className, 'aria-label': ariaLabel, }: DatePickerProps): React.JSX.Element;
132
+
133
+ /** Range picker with presets, mobile dialog, and optional apply flow. Storybook: **UI/DateRangePicker**. */
134
+ declare function DateRangePicker({ value, onChange, minDate, maxDate, placeholder, showPresets, presets: customPresets, translations, locale, onApply, isDateDisabled, className, }: DateRangePickerProps): React.JSX.Element;
135
+
136
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
137
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
138
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
139
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
140
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
141
+ declare function DialogContent({ className, children, showCloseButton, overlayClassName, onPointerDownOutside, onInteractOutside, onFocusOutside, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
142
+ showCloseButton?: boolean;
143
+ overlayClassName?: string;
144
+ }): React.JSX.Element;
145
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
146
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
147
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
148
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
149
+
150
+ /** About 5-6 options visible, then scroll; still shrinks when the viewport is short. */
151
+ declare const dropdownMenuSelectOptionsMaxHeightClassName = "max-h-[min(var(--radix-dropdown-menu-content-available-height),13rem)]";
152
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
153
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
154
+ type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenuPrimitive.Content> & {
155
+ /**
156
+ * When false, render inline instead of portaling to document.body so wheel scroll works
157
+ * inside modal Sheet/Dialog scroll locks (e.g. Select in FormDrawer).
158
+ * @default true
159
+ */
160
+ portalled?: boolean;
161
+ };
162
+ declare function DropdownMenuContent({ className, sideOffset, portalled, ...props }: DropdownMenuContentProps): React.JSX.Element;
163
+ declare function DropdownMenuItem({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item>): React.JSX.Element;
164
+
165
+ type DropdownScrollableListProps = {
166
+ children: React.ReactNode;
167
+ /** When this changes, overflow and fade visibility are recomputed */
168
+ scrollKey?: string | number;
169
+ className?: string;
170
+ /**
171
+ * When true (default), the list fills a flex parent with max-height (e.g. Select).
172
+ * When false, only `scrollAreaClassName` sizes the scroll region (e.g. MultiSelect).
173
+ */
174
+ grow?: boolean;
175
+ /** Extra classes on the scrollable element; when `grow` is false, this must include max-height and overflow */
176
+ scrollAreaClassName?: string;
177
+ };
178
+ declare function DropdownScrollableList({ children, scrollKey, className, scrollAreaClassName, grow, }: DropdownScrollableListProps): React.JSX.Element;
179
+
180
+ type DropdownSelectSearchInputProps = {
181
+ value: string;
182
+ onChange: (value: string) => void;
183
+ placeholder?: string;
184
+ className?: string;
185
+ autoFocus?: boolean;
186
+ };
187
+ declare function DropdownSelectSearchInput({ value, onChange, placeholder, className, autoFocus, }: DropdownSelectSearchInputProps): React.JSX.Element;
188
+
189
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
190
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
191
+ declare const useFormField: () => {
192
+ invalid: boolean;
193
+ isDirty: boolean;
194
+ isTouched: boolean;
195
+ isValidating: boolean;
196
+ error?: react_hook_form.FieldError;
197
+ id: string;
198
+ name: string;
199
+ formItemId: string;
200
+ formDescriptionId: string;
201
+ formMessageId: string;
202
+ };
203
+ declare function FormItem({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
204
+ declare function FormLabel({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): React.JSX.Element;
205
+ declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): React.JSX.Element;
206
+ declare function FormDescription({ className, ...props }: React.ComponentProps<'p'>): React.JSX.Element;
207
+ declare function FormMessage({ className, ...props }: React.ComponentProps<'p'>): React.JSX.Element | null;
208
+
209
+ interface FormDrawerProps {
210
+ open: boolean;
211
+ onOpenChange: (open: boolean) => void;
212
+ title: string;
213
+ description?: string;
214
+ children: React.ReactNode;
215
+ /** Max width class - default sm:max-w-lg for form drawers */
216
+ className?: string;
217
+ /** Sheet content class for overflow/scrolling */
218
+ contentClassName?: string;
219
+ }
220
+ /**
221
+ * A drawer shell for forms. Provides consistent Sheet + Header layout.
222
+ * The form content (including SheetFooter) is provided by children.
223
+ * Mobile-friendly: full width on small screens, max-width on larger.
224
+ */
225
+ declare function FormDrawer({ open, onOpenChange, title, description, children, className, contentClassName, }: FormDrawerProps): React.JSX.Element;
226
+
227
+ /** Text field styled with theme tokens. See Storybook **UI/Input**. */
228
+ declare function Input({ className, type, onFocus, ...props }: React.ComponentProps<'input'>): React.JSX.Element;
229
+
230
+ declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
231
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>): React.JSX.Element;
232
+
233
+ declare const linkStyles = "cursor-pointer font-medium text-blue-600 underline-offset-4 hover:text-blue-700 hover:underline dark:text-blue-400 dark:hover:text-blue-300";
234
+ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
235
+ /** URL or path (rendered as href on a plain <a>) */
236
+ to: string;
237
+ /** Open in new tab with security attributes */
238
+ external?: boolean;
239
+ }
240
+ /** @deprecated Unused in SPAs — prefer react-router `Link`. Kept for Storybook demos only. */
241
+ declare function Link({ className, external, to, ...props }: LinkProps): React.JSX.Element;
242
+
243
+ interface MultiSelectOption {
244
+ value: string;
245
+ label: string;
246
+ }
247
+ interface MultiSelectTranslations {
248
+ triggerLabel?: string;
249
+ searchPlaceholder?: string;
250
+ noOptionsText?: string;
251
+ removeOptionAriaLabel?: string;
252
+ }
253
+ interface MultiSelectProps {
254
+ value: string[];
255
+ onValueChange: (value: string[]) => void;
256
+ options: MultiSelectOption[];
257
+ disabled?: boolean;
258
+ className?: string;
259
+ 'aria-label'?: string;
260
+ /** When true, selected values render as removable tags above the trigger. */
261
+ showSelectedTags?: boolean;
262
+ translations?: MultiSelectTranslations;
263
+ }
264
+ declare function MultiSelect({ value, onValueChange, options, disabled, className, 'aria-label': ariaLabel, showSelectedTags, translations, }: MultiSelectProps): React.JSX.Element;
265
+
266
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
267
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
268
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): React.JSX.Element;
269
+
270
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
271
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
272
+
273
+ interface SelectOption {
274
+ value: string;
275
+ label: string;
276
+ }
277
+ interface SelectTranslations {
278
+ searchPlaceholder?: string;
279
+ noOptionsText?: string;
280
+ }
281
+ interface SelectProps {
282
+ value: string;
283
+ onValueChange: (value: string) => void;
284
+ options: SelectOption[];
285
+ placeholder?: string;
286
+ disabled?: boolean;
287
+ className?: string;
288
+ triggerClassName?: string;
289
+ /** When omitted, search appears automatically for 8+ options. */
290
+ searchable?: boolean;
291
+ translations?: SelectTranslations;
292
+ 'aria-label'?: string;
293
+ }
294
+ declare function Select({ value, onValueChange, options, placeholder, disabled, className, triggerClassName, searchable, translations, 'aria-label': ariaLabel, }: SelectProps): React.JSX.Element;
295
+
296
+ /** Show search in single-select dropdowns when option count reaches this threshold. */
297
+ declare const SEARCHABLE_SELECT_MIN_OPTIONS = 8;
298
+ interface SelectSearchableOption {
299
+ label: string;
300
+ }
301
+ declare function filterSelectOptions<T extends SelectSearchableOption>(options: T[], query: string): T[];
302
+ declare function isSelectSearchable(optionCount: number, searchable?: boolean): boolean;
303
+
304
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
305
+
306
+ declare function Sheet({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element;
307
+ declare function SheetTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element;
308
+ declare function SheetClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element;
309
+ declare function SheetPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element;
310
+ declare function SheetOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element;
311
+ declare function SheetContent({ className, children, side, onPointerDownOutside, onInteractOutside, onFocusOutside, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
312
+ side?: 'top' | 'right' | 'bottom' | 'left';
313
+ }): React.JSX.Element;
314
+ declare const SheetHeader: {
315
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
316
+ displayName: string;
317
+ };
318
+ declare const SheetFooter: {
319
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
320
+ displayName: string;
321
+ };
322
+ declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element;
323
+ declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element;
324
+
325
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
326
+
327
+ declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
328
+ declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
329
+ declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
330
+ declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
331
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
332
+ declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
333
+ declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
334
+ declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
335
+
336
+ declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): React.JSX.Element;
337
+ declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): React.JSX.Element;
338
+ declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): React.JSX.Element;
339
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): React.JSX.Element;
340
+
341
+ /** Multi-line text field. See Storybook **UI/Textarea**. */
342
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
343
+
344
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
345
+ interface TooltipProps {
346
+ content: React.ReactNode;
347
+ children: React.ReactNode;
348
+ side?: 'top' | 'right' | 'bottom' | 'left';
349
+ align?: 'start' | 'center' | 'end';
350
+ /**
351
+ * Delay (in ms) before the tooltip opens on hover.
352
+ */
353
+ delayDuration?: number;
354
+ /**
355
+ * Delay (in ms) before the tooltip closes after hover ends.
356
+ */
357
+ closeDelay?: number;
358
+ }
359
+ /**
360
+ * Tooltip that opens only on hover (not on focus), so it does not open when
361
+ * the trigger receives focus from keyboard or from opening a dialog/sheet.
362
+ *
363
+ * Includes a small hover delay to avoid "tooltip spam" when simply moving
364
+ * the mouse across the screen.
365
+ */
366
+ declare function Tooltip({ content, children, side, align, delayDuration, closeDelay, }: TooltipProps): React.JSX.Element;
367
+
368
+ declare const headingVariants: (props?: ({
369
+ level?: "h1" | "h2" | "h3" | "h4" | null | undefined;
370
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
371
+ declare const paragraphVariants: (props?: ({
372
+ size?: "default" | "sm" | "lg" | null | undefined;
373
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
374
+ interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
375
+ /** Semantic heading level when it differs from visual `level`. */
376
+ as?: 'h1' | 'h2' | 'h3' | 'h4';
377
+ }
378
+ /** Page and section headings using theme foreground color. */
379
+ declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
380
+ interface ParagraphProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof paragraphVariants> {
381
+ }
382
+ /** Body copy with muted foreground by default. */
383
+ declare const Paragraph: React.ForwardRefExoticComponent<ParagraphProps & React.RefAttributes<HTMLParagraphElement>>;
384
+ /** Convenience wrapper for level-3 headings. */
385
+ declare const H3: React.ForwardRefExoticComponent<Omit<HeadingProps, "level" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
386
+
387
+ interface UploadDropzoneTranslations {
388
+ imageAlt?: string;
389
+ dropHintText?: string;
390
+ chooseImageText?: string;
391
+ /** Used when `variant="file"` for the primary picker button label */
392
+ chooseFileText?: string;
393
+ removeText?: string;
394
+ removeExistingImageText?: string;
395
+ }
396
+ interface UploadDropzoneBaseProps {
397
+ value: File | null;
398
+ onChange: (file: File | null) => void;
399
+ translations?: UploadDropzoneTranslations;
400
+ /** Reject files larger than this size (bytes). Invokes `onFileTooLarge` when set. */
401
+ maxSizeBytes?: number;
402
+ onFileTooLarge?: () => void;
403
+ }
404
+ interface UploadDropzoneImageProps extends UploadDropzoneBaseProps {
405
+ variant?: 'image';
406
+ existingImageUrl?: string;
407
+ removeExistingImage?: boolean;
408
+ onRemoveExistingImageChange?: (value: boolean) => void;
409
+ }
410
+ interface UploadDropzoneFileProps extends UploadDropzoneBaseProps {
411
+ variant: 'file';
412
+ /** Passed to the native file input, e.g. `.pdf,.docx` */
413
+ accept?: string;
414
+ disabled?: boolean;
415
+ className?: string;
416
+ }
417
+ type UploadDropzoneProps = UploadDropzoneImageProps | UploadDropzoneFileProps;
418
+ declare function UploadDropzone(props: UploadDropzoneProps): React.JSX.Element;
419
+
420
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ConfirmDialog, type ConfirmDialogProps, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, DropdownScrollableList, type DropdownScrollableListProps, DropdownSelectSearchInput, type DropdownSelectSearchInputProps, Form, FormControl, FormDescription, FormDrawer, type FormDrawerProps, FormField, FormItem, FormLabel, FormMessage, H3, Heading, Input, Label, Link, type LinkProps, MultiSelect, type MultiSelectOption, type MultiSelectTranslations, Paragraph, Popover, PopoverContent, PopoverTrigger, SEARCHABLE_SELECT_MIN_OPTIONS, ScrollArea, ScrollBar, Select, type SelectOption, type SelectSearchableOption, type SelectTranslations, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, type TooltipProps, TooltipProvider, UploadDropzone, type UploadDropzoneFileProps, type UploadDropzoneImageProps, type UploadDropzoneProps, type UploadDropzoneTranslations, badgeVariants, buttonVariants, dropdownMenuSelectOptionsMaxHeightClassName, filterSelectOptions, headingVariants, isSelectSearchable, linkStyles, paragraphVariants, useFormField };
@@ -0,0 +1,6 @@
1
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Calendar, Checkbox, ConfirmDialog, DatePicker, DateRangePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, DropdownScrollableList, DropdownSelectSearchInput, Form, FormControl, FormDescription, FormDrawer, FormField, FormItem, FormLabel, FormMessage, H3, Heading, Label, Link, MultiSelect, Paragraph, Popover, PopoverContent, PopoverTrigger, SEARCHABLE_SELECT_MIN_OPTIONS, ScrollArea, ScrollBar, Select, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipProvider, UploadDropzone, badgeVariants, dropdownMenuSelectOptionsMaxHeightClassName, filterSelectOptions, headingVariants, isSelectSearchable, linkStyles, paragraphVariants, useFormField } from '../../chunk-PLSNCPEC.js';
2
+ export { Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Input, buttonVariants } from '../../chunk-3AYG73DK.js';
3
+ export { isRadixPortaledOverlay } from '../../chunk-TSXUUD64.js';
4
+ import '../../chunk-GXWVFQCK.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export { P as PaginatedList, f as flattenPaginatedItems, n as normalizePaginatedList } from '../pagination-CFqoqiAG.js';
2
+ export { C as CookieNames, c as createCookieNames } from '../cookies-ZS_QYOR7.js';
@@ -0,0 +1,4 @@
1
+ export { createCookieNames } from '../chunk-KG4JVAKS.js';
2
+ export { flattenPaginatedItems, normalizePaginatedList } from '../chunk-3SCZ4Z6P.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,8 @@
1
+ interface CookieNames {
2
+ accessToken: string;
3
+ refreshToken: string;
4
+ cookieConsent: string;
5
+ }
6
+ declare function createCookieNames(appName: string, env: string): CookieNames;
7
+
8
+ export { type CookieNames as C, createCookieNames as c };
@@ -0,0 +1,9 @@
1
+ import { b as DateRangePickerTranslations } from './types-BuNHOJ1h.js';
2
+
3
+ /**
4
+ * Build `DateRangePickerTranslations` from an i18n `t()` function.
5
+ * Expects keys under `{ns}.dateRange.*` (default namespace: `common`).
6
+ */
7
+ declare function dateRangePickerTranslations(t: (key: string) => string, ns?: string): DateRangePickerTranslations;
8
+
9
+ export { dateRangePickerTranslations as d };
@@ -0,0 +1,48 @@
1
+ import { b as ApiErrorBody } from '../types-CN73TWSY.js';
2
+
3
+ /** Maps a Postgres constraint name (snake_case) to a PascalCase i18n key under `errors`. */
4
+ declare function constraintNameToErrorKey(constraintName: string): string;
5
+ declare function getConstraintNameFromExtra(extra: unknown): string | null;
6
+ declare function getConflictFieldFromExtra(extra: unknown): string | null;
7
+
8
+ /** Minimal i18n translate callback used by resolveApiError (compatible with i18next TFunction). */
9
+ type TranslateFn = (key: string | string[], options?: {
10
+ defaultValue?: string;
11
+ } & Record<string, unknown>) => string;
12
+ interface MutationError {
13
+ status: number;
14
+ error: ApiErrorBody;
15
+ retry?: boolean;
16
+ }
17
+ declare function isApiErrorBody(value: unknown): value is ApiErrorBody;
18
+ declare function getApiErrorFromRequestError(error: unknown): ApiErrorBody | null;
19
+ declare function getConstraintNameFromError(error: unknown): string;
20
+ declare function getConflictFieldFromError(error: unknown): string;
21
+
22
+ declare function errorCodeFromHttpStatus(status: number): string;
23
+ declare function formatApiError(error: unknown, t: TranslateFn): string;
24
+
25
+ type NotifyFn = (message: string) => void;
26
+ type HandleApiMutationErrorOptions = {
27
+ setFieldErrors?: (errors: Record<string, string>) => void;
28
+ /** Called when the API returns a conflict on a specific field (e.g. navigate to the right step). */
29
+ onConflictField?: (field: string) => void;
30
+ };
31
+ /**
32
+ * Show one toast per distinct query failure (TanStack Query v5 has no `onError`).
33
+ * Pass app-bound `formatError` and `notify` (e.g. sonner toast.error).
34
+ */
35
+ declare function useQueryApiErrorToast(isError: boolean, error: unknown, formatError: (error: unknown) => string, notify: NotifyFn): void;
36
+ /**
37
+ * Shows a notification for every API mutation failure and optionally sets inline field errors
38
+ * from unique-constraint conflicts. Never suppresses the notification when a field is known.
39
+ */
40
+ declare function handleApiMutationError(error: unknown, formatError: (error: unknown) => string, notify: NotifyFn, options?: HandleApiMutationErrorOptions): void;
41
+
42
+ /**
43
+ * Maps API `errorCode` + optional `extra` to a user-facing i18n string.
44
+ * Keys live under the app `errors` namespace (e.g. `errors:InvalidToken`).
45
+ */
46
+ declare function resolveApiError(errorCode: string, extra: unknown, t: TranslateFn): string;
47
+
48
+ export { type HandleApiMutationErrorOptions, type MutationError, type NotifyFn, type TranslateFn, constraintNameToErrorKey, errorCodeFromHttpStatus, formatApiError, getApiErrorFromRequestError, getConflictFieldFromError, getConflictFieldFromExtra, getConstraintNameFromError, getConstraintNameFromExtra, handleApiMutationError, isApiErrorBody, resolveApiError, useQueryApiErrorToast };
@@ -0,0 +1,3 @@
1
+ export { constraintNameToErrorKey, errorCodeFromHttpStatus, formatApiError, getApiErrorFromRequestError, getConflictFieldFromError, getConflictFieldFromExtra, getConstraintNameFromError, getConstraintNameFromExtra, handleApiMutationError, isApiErrorBody, resolveApiError, useQueryApiErrorToast } from '../chunk-KZH56VPP.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,18 @@
1
+ type RoleOption = {
2
+ value: string;
3
+ label: string;
4
+ };
5
+ type PermissionAction = 'read' | 'write' | 'delete';
6
+ interface PermissionOption {
7
+ key: string;
8
+ action: PermissionAction;
9
+ labelKey: string;
10
+ }
11
+ interface PermissionGroup {
12
+ contextKey: string;
13
+ labelKey: string;
14
+ descriptionKey: string;
15
+ permissions: PermissionOption[];
16
+ }
17
+
18
+ export type { PermissionAction as P, RoleOption as R, PermissionGroup as a, PermissionOption as b };
@@ -0,0 +1,18 @@
1
+ export { A as AdminListPageResponse, a as AdminListSearchMode, U as UseAdminListPageOptions, u as useAdminListPage } from '../useAdminListPage-C4ZTTllP.js';
2
+ import * as i18next from 'i18next';
3
+ import 'react';
4
+ import '@tanstack/react-query';
5
+ import '../pagination-CFqoqiAG.js';
6
+
7
+ type NamespaceLoader = (namespace: string, language: string) => Promise<void>;
8
+ /**
9
+ * Loads i18n namespaces on demand. Pass `loadNamespace` from the host app
10
+ * (e.g. templates/react-spa `src/i18n.ts`).
11
+ */
12
+ declare function useTranslationNamespace(namespaces: string[] | string, loadNamespace?: NamespaceLoader): {
13
+ t: i18next.TFunction<readonly ["common", ...string[]], undefined>;
14
+ isLoading: boolean;
15
+ i18n: i18next.i18n;
16
+ };
17
+
18
+ export { type NamespaceLoader, useTranslationNamespace };
@@ -0,0 +1,4 @@
1
+ export { useAdminListPage, useTranslationNamespace } from '../chunk-LP7Q75C6.js';
2
+ import '../chunk-3SCZ4Z6P.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,42 @@
1
+ export { A as AdminDetailErrorKind } from './admin-BVYdWtEy.js';
2
+ export { getAdminDetailErrorKind } from './admin/index.js';
3
+ export { ApiClientProvider, CreateApiProviderOptions, DEFAULT_REFRESH_ENDPOINT, DEFAULT_REFRESH_EXCLUDED_PREFIXES, DefaultRefreshRequestOptions, buildRequestUrl, createApiProvider, createDefaultRefreshRequest, createResponseHandler, executeConfiguredRefresh, getRequestHeaders, getRequestOptions, performAccessTokenRefresh, useAPI, useApiClientConfig } from './api/index.js';
4
+ export { A as ApiClientConfig, a as ApiClientProviderConfig, b as ApiErrorBody, F as FetchFn, R as RefreshBodyContext, c as RefreshConfig, d as RefreshRequestConfig, e as RequestConfig, f as RequestError } from './types-CN73TWSY.js';
5
+ export { AccessInfo, CookieConsent, DecodedAccessToken, JWTAccessTokenPermissionData, TokenCookieOptions, getAccessInfoFromToken, getAccessTokenFromCookies, getCookieConsentFromCookies, getInitials, getRefreshTokenFromCookies, removeAccessTokenCookie, removeCookieConsentCookie, removeRefreshTokenCookie, setAccessTokenCookie, setCookieConsentCookie, setRefreshTokenCookie, setTokens } from './auth/index.js';
6
+ export { BentoCell, BentoFeatures, BentoFeaturesProps, BlogPostTeaser, BlogTeaser, BlogTeaserProps, ContactSection, ContactSectionProps, CtaBanner, CtaBannerProps, ErrorSpotlight, ErrorSpotlightProps, FaqItem, FaqSection, FaqSectionProps, FeatureMedia, FeatureMediaProps, Footer, FooterContact, FooterLink, FooterProps, Hero, HeroAction, HeroProps, HeroSplit, HeroSplitProps, LaunchProject, LogoCloud, LogoCloudItem, LogoCloudProps, Navigation, NavigationCTA, NavigationLanguageOption, NavigationLanguageSwitcher, NavigationLink, NavigationProps, Newsletter, NewsletterProps, PricingComparisonRow, PricingSection, PricingSectionProps, PricingTier, ProjectLaunches, ProjectLaunchesProps, PromoBanner, PromoBannerProps, Section, SectionProps, SectionVariant, ServiceCard, ServiceCardProps, StatItem, StatsStrip, StatsStripProps, TeamGrid, TeamGridProps, TeamMember, Testimonial, TestimonialProps, TrustBadgeItem, TrustBadges, TrustBadgesProps, VideoShowcase, VideoShowcaseProps } from './components/marketing/index.js';
7
+ export { AdminDetailPage, AdminDetailPageProps, AdminListPage, AdminListPageColumn, AdminListPageProps, AuditLogFilterOption, AuditLogListFilters, AuditLogListFiltersProps, BoundQueryStateProps, DateRangeFilter, DateRangeFilterProps, DetailField, DetailFieldList, DetailFieldListProps, DetailFieldVariant, EntityRow, EntityRowAction, EntityRowProps, PageLoader, PageLoaderProps, QueryState, QueryStateBindings, QueryStateProps, RouteSuspense, RouteSuspenseProps, ThemeProvider, ThemeProviderProps, ThemeStore, ThemeToggle, ThemeToggleProps, createBoundQueryState, useDefaultThemeStore, useThemeStoreContext } from './components/spa/index.js';
8
+ export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Button, Calendar, CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ConfirmDialog, ConfirmDialogProps, DatePicker, DatePickerProps, DateRangePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, DropdownScrollableList, DropdownScrollableListProps, DropdownSelectSearchInput, DropdownSelectSearchInputProps, Form, FormControl, FormDescription, FormDrawer, FormDrawerProps, FormField, FormItem, FormLabel, FormMessage, H3, Heading, Input, Label, Link, LinkProps, MultiSelect, MultiSelectOption, MultiSelectTranslations, Paragraph, Popover, PopoverContent, PopoverTrigger, SEARCHABLE_SELECT_MIN_OPTIONS, ScrollArea, ScrollBar, Select, SelectOption, SelectSearchableOption, SelectTranslations, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipProps, TooltipProvider, UploadDropzone, UploadDropzoneFileProps, UploadDropzoneImageProps, UploadDropzoneProps, UploadDropzoneTranslations, badgeVariants, buttonVariants, dropdownMenuSelectOptionsMaxHeightClassName, filterSelectOptions, headingVariants, isSelectSearchable, linkStyles, paragraphVariants, useFormField } from './components/ui/index.js';
9
+ export { DateRange } from 'react-day-picker';
10
+ export { D as DateRangePickerPreset, a as DateRangePickerProps, b as DateRangePickerTranslations, c as DefaultPresetId } from './types-BuNHOJ1h.js';
11
+ export { DescriptionField, EmailField, ExpiresAtField, FirstNameField, LastNameField, NameField, PasswordField, PermissionsField, RoleSelectField } from './components/forms/index.js';
12
+ export { P as PaginatedList, f as flattenPaginatedItems, n as normalizePaginatedList } from './pagination-CFqoqiAG.js';
13
+ export { C as CookieNames, c as createCookieNames } from './cookies-ZS_QYOR7.js';
14
+ export { HandleApiMutationErrorOptions, MutationError, NotifyFn, TranslateFn, constraintNameToErrorKey, errorCodeFromHttpStatus, formatApiError, getApiErrorFromRequestError, getConflictFieldFromError, getConflictFieldFromExtra, getConstraintNameFromError, getConstraintNameFromExtra, handleApiMutationError, isApiErrorBody, resolveApiError, useQueryApiErrorToast } from './errors/index.js';
15
+ export { A as AdminListPageResponse, a as AdminListSearchMode, U as UseAdminListPageOptions, u as useAdminListPage } from './useAdminListPage-C4ZTTllP.js';
16
+ export { NamespaceLoader, useTranslationNamespace } from './hooks/index.js';
17
+ export { d as dateRangePickerTranslations } from './dateRangePickerTranslations-B99F2WQA.js';
18
+ export { DISPLAY_FORMAT, INPUT_FORMAT, INPUT_FORMAT_ALT, capMaxSelectableDate, cn, controlBase, controlFocus, controlInvalid, getDefaultLast7DaysRange, getFlagEmoji, getMaxSelectableDate, getMaxSelectableDateInputValue, normalizeDate, surfaceCard, surfaceInset, surfaceOverlay, toEndOfDay, toStartOfDay } from './lib/index.js';
19
+ export { i as isRadixPortaledOverlay, p as preventDismissOnPortaledOverlay } from './radix-overlays-BlCr-uem.js';
20
+ export { P as PermissionAction, a as PermissionGroup, b as PermissionOption, R as RoleOption } from './forms-VpLvEFob.js';
21
+ import 'react';
22
+ import 'lucide-react';
23
+ import 'class-variance-authority/types';
24
+ import 'class-variance-authority';
25
+ import '@radix-ui/react-alert-dialog';
26
+ import '@radix-ui/react-avatar';
27
+ import '@radix-ui/react-checkbox';
28
+ import 'date-fns';
29
+ import '@radix-ui/react-dialog';
30
+ import '@radix-ui/react-dropdown-menu';
31
+ import 'react-hook-form';
32
+ import '@radix-ui/react-label';
33
+ import '@radix-ui/react-slot';
34
+ import '@radix-ui/react-popover';
35
+ import '@radix-ui/react-scroll-area';
36
+ import '@radix-ui/react-separator';
37
+ import '@radix-ui/react-switch';
38
+ import '@radix-ui/react-tabs';
39
+ import '@radix-ui/react-tooltip';
40
+ import '@tanstack/react-query';
41
+ import 'i18next';
42
+ import 'clsx';