@phsa.tec/design-system-react 0.1.10 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,8 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ColumnDef, SortingState, VisibilityState } from '@tanstack/react-table';
3
- import * as class_variance_authority_types from 'class-variance-authority/types';
4
1
  import * as React$1 from 'react';
5
2
  import React__default, { PropsWithChildren } from 'react';
3
+ import { ColumnDef, SortingState, VisibilityState } from '@tanstack/react-table';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
5
  import { VariantProps } from 'class-variance-authority';
7
6
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
8
7
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
@@ -36,7 +35,7 @@ interface DynamicTableProps<TData> {
36
35
  defaultVisibility?: VisibilityState;
37
36
  }
38
37
 
39
- declare function DynamicTable<TData>({ data, columns, className, toolbar, pagination: showPagination, sorting: showSorting, columnVisibility: showColumnVisibility, filters, rowsPerPage, defaultSort, defaultVisibility, }: DynamicTableProps<TData>): react_jsx_runtime.JSX.Element;
38
+ declare function DynamicTable<TData>({ data, columns, className, toolbar, pagination: showPagination, sorting: showSorting, columnVisibility: showColumnVisibility, filters, rowsPerPage, defaultSort, defaultVisibility, }: DynamicTableProps<TData>): React$1.JSX.Element;
40
39
 
41
40
  interface Column<T> {
42
41
  header: string;
@@ -58,7 +57,7 @@ declare const badgeVariants: (props?: ({
58
57
  } & class_variance_authority_types.ClassProp) | undefined) => string;
59
58
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
60
59
  }
61
- declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
60
+ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
62
61
 
63
62
  type IconProps = {
64
63
  name: string;
@@ -94,7 +93,7 @@ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<Dropdown
94
93
  } & React$1.RefAttributes<HTMLDivElement>>;
95
94
  declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
96
95
  declare const DropdownMenuShortcut: {
97
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
96
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
98
97
  displayName: string;
99
98
  };
100
99
 
@@ -109,7 +108,7 @@ interface DataPairListProps {
109
108
  header?: React.ReactNode;
110
109
  }
111
110
 
112
- declare const DataPairList: ({ title, data, labels, className, infoDirection, direction, withBorder, header, }: DataPairListProps) => react_jsx_runtime.JSX.Element | null;
111
+ declare const DataPairList: ({ title, data, labels, className, infoDirection, direction, withBorder, header, }: DataPairListProps) => React__default.JSX.Element | null;
113
112
 
114
113
  declare const textVariants: (props?: ({
115
114
  variant?: "title" | "caption" | "display" | "subtitle" | "normal" | "muted" | null | undefined;
@@ -119,7 +118,22 @@ type TextProps = VariantProps<typeof textVariants> & {
119
118
  className?: string;
120
119
  children: React.ReactNode;
121
120
  };
122
- declare function Text({ variant, align, className, children, }: TextProps): react_jsx_runtime.JSX.Element;
121
+ declare function Text({ variant, align, className, children, }: TextProps): React$1.JSX.Element;
122
+
123
+ type CardProps = {
124
+ title?: string;
125
+ description?: string;
126
+ footer?: () => React__default.ReactNode;
127
+ children?: React__default.ReactNode;
128
+ };
129
+ declare const Card$1: ({ title, children, description, footer, }: CardProps) => React__default.JSX.Element;
130
+
131
+ declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
132
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
133
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
134
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
135
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
136
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
123
137
 
124
138
  type CheckboxProps$1 = React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
125
139
 
@@ -128,7 +142,7 @@ type CheckboxProps = CheckboxProps$1 & {
128
142
  error?: string;
129
143
  withoutForm?: boolean;
130
144
  };
131
- declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
145
+ declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) => React$1.JSX.Element;
132
146
 
133
147
  type InputProps$1 = React$1.ComponentProps<"input">;
134
148
 
@@ -152,15 +166,15 @@ type InputProps = Omit<InputBaseProps, "children"> & {
152
166
  containerClassName?: string;
153
167
  };
154
168
 
155
- declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
169
+ declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) => React$1.JSX.Element;
156
170
 
157
171
  type NumberInputProps = Omit<NumericFormatProps, "onChange"> & InputProps;
158
- declare const NumberInput: (props: NumberInputProps) => react_jsx_runtime.JSX.Element;
172
+ declare const NumberInput: (props: NumberInputProps) => React$1.JSX.Element;
159
173
 
160
174
  type MaskInputProps = {
161
175
  mask?: string;
162
176
  } & InputProps;
163
- declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) => react_jsx_runtime.JSX.Element;
177
+ declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) => React$1.JSX.Element;
164
178
 
165
179
  type MultipleInputProps = MaskInputProps & {
166
180
  data?: string[];
@@ -170,17 +184,17 @@ type MultipleInputProps = MaskInputProps & {
170
184
  defaultValue?: string;
171
185
  "data-testid"?: string;
172
186
  };
173
- declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) => react_jsx_runtime.JSX.Element;
187
+ declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) => React$1.JSX.Element;
174
188
 
175
189
  type MultipleMaskInputProps = MaskInputProps & {
176
190
  data?: string[];
177
191
  onChangeData?: (data: string[]) => void;
178
192
  name: string;
179
193
  };
180
- declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) => react_jsx_runtime.JSX.Element;
194
+ declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) => React$1.JSX.Element;
181
195
 
182
196
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
183
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
197
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
184
198
  declare const useFormField: () => {
185
199
  invalid: boolean;
186
200
  isDirty: boolean;
@@ -221,7 +235,7 @@ type SelectProps = SelectBaseProps & {
221
235
  description?: string;
222
236
  withoutForm?: boolean;
223
237
  };
224
- declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
238
+ declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) => React__default.JSX.Element;
225
239
 
226
240
  type MultiSelectBaseProps = {
227
241
  options: {
@@ -242,7 +256,7 @@ type MultiSelectProps = MultiSelectBaseProps & {
242
256
  required?: boolean;
243
257
  "data-testid"?: string;
244
258
  };
245
- declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps): react_jsx_runtime.JSX.Element;
259
+ declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps): React__default.JSX.Element;
246
260
 
247
261
  type SwitchProps$1 = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
248
262
 
@@ -250,7 +264,7 @@ type SwitchProps = SwitchProps$1 & {
250
264
  label?: string;
251
265
  withoutForm?: boolean;
252
266
  };
253
- declare function Switch({ label, withoutForm, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
267
+ declare function Switch({ label, withoutForm, className, ...props }: SwitchProps): React$1.JSX.Element;
254
268
 
255
269
  declare const buttonVariants: (props?: ({
256
270
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
@@ -275,11 +289,11 @@ type DialogProps = DialogProps$1 & PropsWithChildren & {
275
289
  description?: string;
276
290
  footer?: () => React.ReactNode;
277
291
  };
278
- declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
292
+ declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps): React$1.JSX.Element;
279
293
  type DialogWithFormProps = DialogProps & {
280
294
  onSubmit: () => void;
281
295
  };
282
- declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) => react_jsx_runtime.JSX.Element;
296
+ declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) => React$1.JSX.Element;
283
297
 
284
298
  declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
285
299
  declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -293,7 +307,7 @@ type StepsProps = {
293
307
  onClick?: (id: number) => void;
294
308
  value?: number;
295
309
  };
296
- declare const Steps: ({ data, onClick, value }: StepsProps) => react_jsx_runtime.JSX.Element;
310
+ declare const Steps: ({ data, onClick, value }: StepsProps) => React$1.JSX.Element;
297
311
 
298
312
  type AlertDialogProps = {
299
313
  title: string;
@@ -302,11 +316,11 @@ type AlertDialogProps = {
302
316
  onConfirm?: () => void;
303
317
  onCancel?: () => void;
304
318
  };
305
- declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) => react_jsx_runtime.JSX.Element;
319
+ declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) => React$1.JSX.Element;
306
320
 
307
321
  type DrawerProps = React$1.ComponentProps<typeof Drawer$1.Root>;
308
322
  declare const Drawer: {
309
- ({ shouldScaleBackground, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
323
+ ({ shouldScaleBackground, ...props }: DrawerProps): React$1.JSX.Element;
310
324
  displayName: string;
311
325
  };
312
326
  declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -315,11 +329,11 @@ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
315
329
  declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
316
330
  declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
317
331
  declare const DrawerHeader: {
318
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
332
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
319
333
  displayName: string;
320
334
  };
321
335
  declare const DrawerFooter: {
322
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
336
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
323
337
  displayName: string;
324
338
  };
325
339
  declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
@@ -328,7 +342,7 @@ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
328
342
  type CustomDrawerProps = DrawerProps & {
329
343
  className?: string;
330
344
  };
331
- declare function CustomDrawer({ className, ...props }: CustomDrawerProps): react_jsx_runtime.JSX.Element;
345
+ declare function CustomDrawer({ className, ...props }: CustomDrawerProps): React$1.JSX.Element;
332
346
 
333
347
  declare const Sheet$1: React$1.FC<DialogPrimitive.DialogProps>;
334
348
 
@@ -338,7 +352,7 @@ type SheetProps = typeof Sheet$1 & PropsWithChildren & {
338
352
  onOpenChange?: (open: boolean) => void;
339
353
  open?: boolean;
340
354
  };
341
- declare function Sheet({ side, className, children, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
355
+ declare function Sheet({ side, className, children, ...props }: SheetProps): React$1.JSX.Element;
342
356
 
343
357
  type AppSidebarProps = {
344
358
  footer?: () => React$1.ReactNode;
@@ -370,7 +384,7 @@ interface SidebarProps extends AppSidebarProps {
370
384
  defaultPath?: string;
371
385
  defaultCollapsed?: boolean;
372
386
  }
373
- declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) => react_jsx_runtime.JSX.Element;
387
+ declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) => React$1.JSX.Element;
374
388
 
375
389
  declare function NavUser({ user, logoutAction, }: {
376
390
  user: {
@@ -379,7 +393,7 @@ declare function NavUser({ user, logoutAction, }: {
379
393
  avatar: string;
380
394
  };
381
395
  logoutAction?: () => void;
382
- }): react_jsx_runtime.JSX.Element;
396
+ }): React$1.JSX.Element;
383
397
 
384
398
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
385
399
 
@@ -388,7 +402,7 @@ type PageLayoutProps = PropsWithChildren & {
388
402
  subtitle?: string;
389
403
  header?: React__default.ReactNode;
390
404
  };
391
- declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) => react_jsx_runtime.JSX.Element;
405
+ declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) => React__default.JSX.Element;
392
406
 
393
407
  interface TabsProps {
394
408
  tabs: {
@@ -411,11 +425,11 @@ declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.Det
411
425
  } & React$1.RefAttributes<HTMLAnchorElement>>;
412
426
  declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
413
427
  declare const BreadcrumbSeparator: {
414
- ({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
428
+ ({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
415
429
  displayName: string;
416
430
  };
417
431
  declare const BreadcrumbEllipsis: {
418
- ({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
432
+ ({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
419
433
  displayName: string;
420
434
  };
421
435
 
@@ -429,9 +443,9 @@ interface SpinnerContentProps extends VariantProps<typeof spinnerVariants>, Vari
429
443
  className?: string;
430
444
  children?: React__default.ReactNode;
431
445
  }
432
- declare function Spinner({ size, show, children, className, }: SpinnerContentProps): react_jsx_runtime.JSX.Element;
446
+ declare function Spinner({ size, show, children, className, }: SpinnerContentProps): React__default.JSX.Element;
433
447
 
434
- declare function Toaster(): react_jsx_runtime.JSX.Element;
448
+ declare function Toaster(): React$1.JSX.Element;
435
449
 
436
450
  declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
437
451
  variant?: "default" | "destructive" | "success" | null | undefined;
@@ -482,4 +496,39 @@ declare function useToast(): {
482
496
  toasts: ToasterToast[];
483
497
  };
484
498
 
485
- export { AlertDialog, type AlertDialogProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, CustomDrawer, type CustomDrawerProps, DataPairList, type DataPairListProps, Dialog, type DialogProps, DialogWithForm, type DialogWithFormProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicTable, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Icon, Input, MaskInput, type MaskInputProps, MultiSelect, MultipleInput, type MultipleInputProps, MultipleMaskInput, type MultipleMaskInputProps, NavUser, NumberInput, type NumberInputProps, PageLayout, type PageLayoutProps, Select, type SelectProps, Separator, Sheet, type SheetProps, Sidebar, Spinner, Steps, Switch, type SwitchProps, type TableProps, Tabs, Text, Toaster, badgeVariants, reducer, toast, useFormField, useToast };
499
+ type DesignSystemProviderProps = {
500
+ children: React__default.ReactNode;
501
+ className?: string;
502
+ };
503
+ /**
504
+ * DesignSystemProvider - Wrapper que aplica o escopo do design system
505
+ *
506
+ * Uso básico:
507
+ * ```tsx
508
+ * import { DesignSystemProvider } from "@phsa.tec/design-system-react";
509
+ * import "@phsa.tec/design-system-react/styles.css";
510
+ *
511
+ * <DesignSystemProvider>
512
+ * <App />
513
+ * </DesignSystemProvider>
514
+ * ```
515
+ *
516
+ * Customização via CSS Variables:
517
+ * ```css
518
+ * :root {
519
+ * --primary: 220 90% 50%;
520
+ * --radius: 0.25rem;
521
+ * }
522
+ * ```
523
+ *
524
+ * Customização avançada via Tailwind Preset:
525
+ * ```js
526
+ * // tailwind.config.js
527
+ * module.exports = {
528
+ * presets: [require("@phsa.tec/design-system-react/tailwind-preset")],
529
+ * }
530
+ * ```
531
+ */
532
+ declare function DesignSystemProvider({ children, className, }: DesignSystemProviderProps): React__default.JSX.Element;
533
+
534
+ export { AlertDialog, type AlertDialogProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card$1 as Card, Card as CardBase, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, CustomDrawer, type CustomDrawerProps, DataPairList, type DataPairListProps, DesignSystemProvider, type DesignSystemProviderProps, Dialog, type DialogProps, DialogWithForm, type DialogWithFormProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicTable, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Icon, Input, MaskInput, type MaskInputProps, MultiSelect, MultipleInput, type MultipleInputProps, MultipleMaskInput, type MultipleMaskInputProps, NavUser, NumberInput, type NumberInputProps, PageLayout, type PageLayoutProps, Select, type SelectProps, Separator, Sheet, type SheetProps, Sidebar, Spinner, Steps, Switch, type SwitchProps, type TableProps, Tabs, Text, Toaster, badgeVariants, reducer, toast, useFormField, useToast };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ColumnDef, SortingState, VisibilityState } from '@tanstack/react-table';
3
- import * as class_variance_authority_types from 'class-variance-authority/types';
4
1
  import * as React$1 from 'react';
5
2
  import React__default, { PropsWithChildren } from 'react';
3
+ import { ColumnDef, SortingState, VisibilityState } from '@tanstack/react-table';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
6
5
  import { VariantProps } from 'class-variance-authority';
7
6
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
8
7
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
@@ -36,7 +35,7 @@ interface DynamicTableProps<TData> {
36
35
  defaultVisibility?: VisibilityState;
37
36
  }
38
37
 
39
- declare function DynamicTable<TData>({ data, columns, className, toolbar, pagination: showPagination, sorting: showSorting, columnVisibility: showColumnVisibility, filters, rowsPerPage, defaultSort, defaultVisibility, }: DynamicTableProps<TData>): react_jsx_runtime.JSX.Element;
38
+ declare function DynamicTable<TData>({ data, columns, className, toolbar, pagination: showPagination, sorting: showSorting, columnVisibility: showColumnVisibility, filters, rowsPerPage, defaultSort, defaultVisibility, }: DynamicTableProps<TData>): React$1.JSX.Element;
40
39
 
41
40
  interface Column<T> {
42
41
  header: string;
@@ -58,7 +57,7 @@ declare const badgeVariants: (props?: ({
58
57
  } & class_variance_authority_types.ClassProp) | undefined) => string;
59
58
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
60
59
  }
61
- declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
60
+ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
62
61
 
63
62
  type IconProps = {
64
63
  name: string;
@@ -94,7 +93,7 @@ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<Dropdown
94
93
  } & React$1.RefAttributes<HTMLDivElement>>;
95
94
  declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
96
95
  declare const DropdownMenuShortcut: {
97
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
96
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
98
97
  displayName: string;
99
98
  };
100
99
 
@@ -109,7 +108,7 @@ interface DataPairListProps {
109
108
  header?: React.ReactNode;
110
109
  }
111
110
 
112
- declare const DataPairList: ({ title, data, labels, className, infoDirection, direction, withBorder, header, }: DataPairListProps) => react_jsx_runtime.JSX.Element | null;
111
+ declare const DataPairList: ({ title, data, labels, className, infoDirection, direction, withBorder, header, }: DataPairListProps) => React__default.JSX.Element | null;
113
112
 
114
113
  declare const textVariants: (props?: ({
115
114
  variant?: "title" | "caption" | "display" | "subtitle" | "normal" | "muted" | null | undefined;
@@ -119,7 +118,22 @@ type TextProps = VariantProps<typeof textVariants> & {
119
118
  className?: string;
120
119
  children: React.ReactNode;
121
120
  };
122
- declare function Text({ variant, align, className, children, }: TextProps): react_jsx_runtime.JSX.Element;
121
+ declare function Text({ variant, align, className, children, }: TextProps): React$1.JSX.Element;
122
+
123
+ type CardProps = {
124
+ title?: string;
125
+ description?: string;
126
+ footer?: () => React__default.ReactNode;
127
+ children?: React__default.ReactNode;
128
+ };
129
+ declare const Card$1: ({ title, children, description, footer, }: CardProps) => React__default.JSX.Element;
130
+
131
+ declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
132
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
133
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
134
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
135
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
136
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
123
137
 
124
138
  type CheckboxProps$1 = React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
125
139
 
@@ -128,7 +142,7 @@ type CheckboxProps = CheckboxProps$1 & {
128
142
  error?: string;
129
143
  withoutForm?: boolean;
130
144
  };
131
- declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
145
+ declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) => React$1.JSX.Element;
132
146
 
133
147
  type InputProps$1 = React$1.ComponentProps<"input">;
134
148
 
@@ -152,15 +166,15 @@ type InputProps = Omit<InputBaseProps, "children"> & {
152
166
  containerClassName?: string;
153
167
  };
154
168
 
155
- declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
169
+ declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) => React$1.JSX.Element;
156
170
 
157
171
  type NumberInputProps = Omit<NumericFormatProps, "onChange"> & InputProps;
158
- declare const NumberInput: (props: NumberInputProps) => react_jsx_runtime.JSX.Element;
172
+ declare const NumberInput: (props: NumberInputProps) => React$1.JSX.Element;
159
173
 
160
174
  type MaskInputProps = {
161
175
  mask?: string;
162
176
  } & InputProps;
163
- declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) => react_jsx_runtime.JSX.Element;
177
+ declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) => React$1.JSX.Element;
164
178
 
165
179
  type MultipleInputProps = MaskInputProps & {
166
180
  data?: string[];
@@ -170,17 +184,17 @@ type MultipleInputProps = MaskInputProps & {
170
184
  defaultValue?: string;
171
185
  "data-testid"?: string;
172
186
  };
173
- declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) => react_jsx_runtime.JSX.Element;
187
+ declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) => React$1.JSX.Element;
174
188
 
175
189
  type MultipleMaskInputProps = MaskInputProps & {
176
190
  data?: string[];
177
191
  onChangeData?: (data: string[]) => void;
178
192
  name: string;
179
193
  };
180
- declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) => react_jsx_runtime.JSX.Element;
194
+ declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) => React$1.JSX.Element;
181
195
 
182
196
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
183
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
197
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
184
198
  declare const useFormField: () => {
185
199
  invalid: boolean;
186
200
  isDirty: boolean;
@@ -221,7 +235,7 @@ type SelectProps = SelectBaseProps & {
221
235
  description?: string;
222
236
  withoutForm?: boolean;
223
237
  };
224
- declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
238
+ declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) => React__default.JSX.Element;
225
239
 
226
240
  type MultiSelectBaseProps = {
227
241
  options: {
@@ -242,7 +256,7 @@ type MultiSelectProps = MultiSelectBaseProps & {
242
256
  required?: boolean;
243
257
  "data-testid"?: string;
244
258
  };
245
- declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps): react_jsx_runtime.JSX.Element;
259
+ declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps): React__default.JSX.Element;
246
260
 
247
261
  type SwitchProps$1 = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
248
262
 
@@ -250,7 +264,7 @@ type SwitchProps = SwitchProps$1 & {
250
264
  label?: string;
251
265
  withoutForm?: boolean;
252
266
  };
253
- declare function Switch({ label, withoutForm, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
267
+ declare function Switch({ label, withoutForm, className, ...props }: SwitchProps): React$1.JSX.Element;
254
268
 
255
269
  declare const buttonVariants: (props?: ({
256
270
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
@@ -275,11 +289,11 @@ type DialogProps = DialogProps$1 & PropsWithChildren & {
275
289
  description?: string;
276
290
  footer?: () => React.ReactNode;
277
291
  };
278
- declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
292
+ declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps): React$1.JSX.Element;
279
293
  type DialogWithFormProps = DialogProps & {
280
294
  onSubmit: () => void;
281
295
  };
282
- declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) => react_jsx_runtime.JSX.Element;
296
+ declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) => React$1.JSX.Element;
283
297
 
284
298
  declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
285
299
  declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -293,7 +307,7 @@ type StepsProps = {
293
307
  onClick?: (id: number) => void;
294
308
  value?: number;
295
309
  };
296
- declare const Steps: ({ data, onClick, value }: StepsProps) => react_jsx_runtime.JSX.Element;
310
+ declare const Steps: ({ data, onClick, value }: StepsProps) => React$1.JSX.Element;
297
311
 
298
312
  type AlertDialogProps = {
299
313
  title: string;
@@ -302,11 +316,11 @@ type AlertDialogProps = {
302
316
  onConfirm?: () => void;
303
317
  onCancel?: () => void;
304
318
  };
305
- declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) => react_jsx_runtime.JSX.Element;
319
+ declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) => React$1.JSX.Element;
306
320
 
307
321
  type DrawerProps = React$1.ComponentProps<typeof Drawer$1.Root>;
308
322
  declare const Drawer: {
309
- ({ shouldScaleBackground, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
323
+ ({ shouldScaleBackground, ...props }: DrawerProps): React$1.JSX.Element;
310
324
  displayName: string;
311
325
  };
312
326
  declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -315,11 +329,11 @@ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
315
329
  declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
316
330
  declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
317
331
  declare const DrawerHeader: {
318
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
332
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
319
333
  displayName: string;
320
334
  };
321
335
  declare const DrawerFooter: {
322
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
336
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
323
337
  displayName: string;
324
338
  };
325
339
  declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
@@ -328,7 +342,7 @@ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
328
342
  type CustomDrawerProps = DrawerProps & {
329
343
  className?: string;
330
344
  };
331
- declare function CustomDrawer({ className, ...props }: CustomDrawerProps): react_jsx_runtime.JSX.Element;
345
+ declare function CustomDrawer({ className, ...props }: CustomDrawerProps): React$1.JSX.Element;
332
346
 
333
347
  declare const Sheet$1: React$1.FC<DialogPrimitive.DialogProps>;
334
348
 
@@ -338,7 +352,7 @@ type SheetProps = typeof Sheet$1 & PropsWithChildren & {
338
352
  onOpenChange?: (open: boolean) => void;
339
353
  open?: boolean;
340
354
  };
341
- declare function Sheet({ side, className, children, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
355
+ declare function Sheet({ side, className, children, ...props }: SheetProps): React$1.JSX.Element;
342
356
 
343
357
  type AppSidebarProps = {
344
358
  footer?: () => React$1.ReactNode;
@@ -370,7 +384,7 @@ interface SidebarProps extends AppSidebarProps {
370
384
  defaultPath?: string;
371
385
  defaultCollapsed?: boolean;
372
386
  }
373
- declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) => react_jsx_runtime.JSX.Element;
387
+ declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) => React$1.JSX.Element;
374
388
 
375
389
  declare function NavUser({ user, logoutAction, }: {
376
390
  user: {
@@ -379,7 +393,7 @@ declare function NavUser({ user, logoutAction, }: {
379
393
  avatar: string;
380
394
  };
381
395
  logoutAction?: () => void;
382
- }): react_jsx_runtime.JSX.Element;
396
+ }): React$1.JSX.Element;
383
397
 
384
398
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
385
399
 
@@ -388,7 +402,7 @@ type PageLayoutProps = PropsWithChildren & {
388
402
  subtitle?: string;
389
403
  header?: React__default.ReactNode;
390
404
  };
391
- declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) => react_jsx_runtime.JSX.Element;
405
+ declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) => React__default.JSX.Element;
392
406
 
393
407
  interface TabsProps {
394
408
  tabs: {
@@ -411,11 +425,11 @@ declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.Det
411
425
  } & React$1.RefAttributes<HTMLAnchorElement>>;
412
426
  declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
413
427
  declare const BreadcrumbSeparator: {
414
- ({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
428
+ ({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
415
429
  displayName: string;
416
430
  };
417
431
  declare const BreadcrumbEllipsis: {
418
- ({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
432
+ ({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
419
433
  displayName: string;
420
434
  };
421
435
 
@@ -429,9 +443,9 @@ interface SpinnerContentProps extends VariantProps<typeof spinnerVariants>, Vari
429
443
  className?: string;
430
444
  children?: React__default.ReactNode;
431
445
  }
432
- declare function Spinner({ size, show, children, className, }: SpinnerContentProps): react_jsx_runtime.JSX.Element;
446
+ declare function Spinner({ size, show, children, className, }: SpinnerContentProps): React__default.JSX.Element;
433
447
 
434
- declare function Toaster(): react_jsx_runtime.JSX.Element;
448
+ declare function Toaster(): React$1.JSX.Element;
435
449
 
436
450
  declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
437
451
  variant?: "default" | "destructive" | "success" | null | undefined;
@@ -482,4 +496,39 @@ declare function useToast(): {
482
496
  toasts: ToasterToast[];
483
497
  };
484
498
 
485
- export { AlertDialog, type AlertDialogProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, CustomDrawer, type CustomDrawerProps, DataPairList, type DataPairListProps, Dialog, type DialogProps, DialogWithForm, type DialogWithFormProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicTable, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Icon, Input, MaskInput, type MaskInputProps, MultiSelect, MultipleInput, type MultipleInputProps, MultipleMaskInput, type MultipleMaskInputProps, NavUser, NumberInput, type NumberInputProps, PageLayout, type PageLayoutProps, Select, type SelectProps, Separator, Sheet, type SheetProps, Sidebar, Spinner, Steps, Switch, type SwitchProps, type TableProps, Tabs, Text, Toaster, badgeVariants, reducer, toast, useFormField, useToast };
499
+ type DesignSystemProviderProps = {
500
+ children: React__default.ReactNode;
501
+ className?: string;
502
+ };
503
+ /**
504
+ * DesignSystemProvider - Wrapper que aplica o escopo do design system
505
+ *
506
+ * Uso básico:
507
+ * ```tsx
508
+ * import { DesignSystemProvider } from "@phsa.tec/design-system-react";
509
+ * import "@phsa.tec/design-system-react/styles.css";
510
+ *
511
+ * <DesignSystemProvider>
512
+ * <App />
513
+ * </DesignSystemProvider>
514
+ * ```
515
+ *
516
+ * Customização via CSS Variables:
517
+ * ```css
518
+ * :root {
519
+ * --primary: 220 90% 50%;
520
+ * --radius: 0.25rem;
521
+ * }
522
+ * ```
523
+ *
524
+ * Customização avançada via Tailwind Preset:
525
+ * ```js
526
+ * // tailwind.config.js
527
+ * module.exports = {
528
+ * presets: [require("@phsa.tec/design-system-react/tailwind-preset")],
529
+ * }
530
+ * ```
531
+ */
532
+ declare function DesignSystemProvider({ children, className, }: DesignSystemProviderProps): React__default.JSX.Element;
533
+
534
+ export { AlertDialog, type AlertDialogProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card$1 as Card, Card as CardBase, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, CustomDrawer, type CustomDrawerProps, DataPairList, type DataPairListProps, DesignSystemProvider, type DesignSystemProviderProps, Dialog, type DialogProps, DialogWithForm, type DialogWithFormProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicTable, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Icon, Input, MaskInput, type MaskInputProps, MultiSelect, MultipleInput, type MultipleInputProps, MultipleMaskInput, type MultipleMaskInputProps, NavUser, NumberInput, type NumberInputProps, PageLayout, type PageLayoutProps, Select, type SelectProps, Separator, Sheet, type SheetProps, Sidebar, Spinner, Steps, Switch, type SwitchProps, type TableProps, Tabs, Text, Toaster, badgeVariants, reducer, toast, useFormField, useToast };