@phsa.tec/design-system-react 0.1.10 → 0.2.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/README.md +413 -124
- package/dist/index.css +2549 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +148 -35
- package/dist/index.d.ts +148 -35
- package/dist/index.js +1114 -1357
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1064 -1309
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -2534
- package/dist/styles.js +1 -0
- package/package.json +12 -4
- package/dist/styles.css.map +0 -1
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
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>):
|
|
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):
|
|
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>):
|
|
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) =>
|
|
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,7 @@ 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):
|
|
121
|
+
declare function Text({ variant, align, className, children, }: TextProps): React$1.JSX.Element;
|
|
123
122
|
|
|
124
123
|
type CheckboxProps$1 = React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
125
124
|
|
|
@@ -128,7 +127,7 @@ type CheckboxProps = CheckboxProps$1 & {
|
|
|
128
127
|
error?: string;
|
|
129
128
|
withoutForm?: boolean;
|
|
130
129
|
};
|
|
131
|
-
declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) =>
|
|
130
|
+
declare const Checkbox: ({ label, error, withoutForm, ...props }: CheckboxProps) => React$1.JSX.Element;
|
|
132
131
|
|
|
133
132
|
type InputProps$1 = React$1.ComponentProps<"input">;
|
|
134
133
|
|
|
@@ -152,15 +151,15 @@ type InputProps = Omit<InputBaseProps, "children"> & {
|
|
|
152
151
|
containerClassName?: string;
|
|
153
152
|
};
|
|
154
153
|
|
|
155
|
-
declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) =>
|
|
154
|
+
declare const Input: ({ "data-testid": dataTestId, withoutForm, extraElement, containerClassName, ...props }: InputProps) => React$1.JSX.Element;
|
|
156
155
|
|
|
157
156
|
type NumberInputProps = Omit<NumericFormatProps, "onChange"> & InputProps;
|
|
158
|
-
declare const NumberInput: (props: NumberInputProps) =>
|
|
157
|
+
declare const NumberInput: (props: NumberInputProps) => React$1.JSX.Element;
|
|
159
158
|
|
|
160
159
|
type MaskInputProps = {
|
|
161
160
|
mask?: string;
|
|
162
161
|
} & InputProps;
|
|
163
|
-
declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) =>
|
|
162
|
+
declare const MaskInput: ({ "data-testid": dataTestId, withoutForm, extraElement, mask, ...props }: MaskInputProps) => React$1.JSX.Element;
|
|
164
163
|
|
|
165
164
|
type MultipleInputProps = MaskInputProps & {
|
|
166
165
|
data?: string[];
|
|
@@ -170,17 +169,17 @@ type MultipleInputProps = MaskInputProps & {
|
|
|
170
169
|
defaultValue?: string;
|
|
171
170
|
"data-testid"?: string;
|
|
172
171
|
};
|
|
173
|
-
declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) =>
|
|
172
|
+
declare const MultipleInput: ({ data, onAdd, defaultValue, onRemove, withoutForm, ...props }: MultipleInputProps) => React$1.JSX.Element;
|
|
174
173
|
|
|
175
174
|
type MultipleMaskInputProps = MaskInputProps & {
|
|
176
175
|
data?: string[];
|
|
177
176
|
onChangeData?: (data: string[]) => void;
|
|
178
177
|
name: string;
|
|
179
178
|
};
|
|
180
|
-
declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) =>
|
|
179
|
+
declare const MultipleMaskInput: ({ data, ...props }: MultipleMaskInputProps) => React$1.JSX.Element;
|
|
181
180
|
|
|
182
181
|
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>) =>
|
|
182
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
184
183
|
declare const useFormField: () => {
|
|
185
184
|
invalid: boolean;
|
|
186
185
|
isDirty: boolean;
|
|
@@ -221,7 +220,7 @@ type SelectProps = SelectBaseProps & {
|
|
|
221
220
|
description?: string;
|
|
222
221
|
withoutForm?: boolean;
|
|
223
222
|
};
|
|
224
|
-
declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) =>
|
|
223
|
+
declare const Select: ({ name, label, description, error, className, withoutForm, options, placeholder, ...props }: SelectProps) => React__default.JSX.Element;
|
|
225
224
|
|
|
226
225
|
type MultiSelectBaseProps = {
|
|
227
226
|
options: {
|
|
@@ -242,7 +241,7 @@ type MultiSelectProps = MultiSelectBaseProps & {
|
|
|
242
241
|
required?: boolean;
|
|
243
242
|
"data-testid"?: string;
|
|
244
243
|
};
|
|
245
|
-
declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps):
|
|
244
|
+
declare function MultiSelect({ label, name, withoutForm, className, required, "data-testid": testId, ...props }: MultiSelectProps): React__default.JSX.Element;
|
|
246
245
|
|
|
247
246
|
type SwitchProps$1 = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
|
|
248
247
|
|
|
@@ -250,7 +249,7 @@ type SwitchProps = SwitchProps$1 & {
|
|
|
250
249
|
label?: string;
|
|
251
250
|
withoutForm?: boolean;
|
|
252
251
|
};
|
|
253
|
-
declare function Switch({ label, withoutForm, className, ...props }: SwitchProps):
|
|
252
|
+
declare function Switch({ label, withoutForm, className, ...props }: SwitchProps): React$1.JSX.Element;
|
|
254
253
|
|
|
255
254
|
declare const buttonVariants: (props?: ({
|
|
256
255
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
@@ -275,11 +274,11 @@ type DialogProps = DialogProps$1 & PropsWithChildren & {
|
|
|
275
274
|
description?: string;
|
|
276
275
|
footer?: () => React.ReactNode;
|
|
277
276
|
};
|
|
278
|
-
declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps):
|
|
277
|
+
declare function Dialog({ title, description, className, children, footer, ...props }: DialogProps): React$1.JSX.Element;
|
|
279
278
|
type DialogWithFormProps = DialogProps & {
|
|
280
279
|
onSubmit: () => void;
|
|
281
280
|
};
|
|
282
|
-
declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) =>
|
|
281
|
+
declare const DialogWithForm: ({ title, description, className, children, footer, onSubmit, ...props }: DialogWithFormProps) => React$1.JSX.Element;
|
|
283
282
|
|
|
284
283
|
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
285
284
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -293,7 +292,7 @@ type StepsProps = {
|
|
|
293
292
|
onClick?: (id: number) => void;
|
|
294
293
|
value?: number;
|
|
295
294
|
};
|
|
296
|
-
declare const Steps: ({ data, onClick, value }: StepsProps) =>
|
|
295
|
+
declare const Steps: ({ data, onClick, value }: StepsProps) => React$1.JSX.Element;
|
|
297
296
|
|
|
298
297
|
type AlertDialogProps = {
|
|
299
298
|
title: string;
|
|
@@ -302,11 +301,11 @@ type AlertDialogProps = {
|
|
|
302
301
|
onConfirm?: () => void;
|
|
303
302
|
onCancel?: () => void;
|
|
304
303
|
};
|
|
305
|
-
declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) =>
|
|
304
|
+
declare const AlertDialog: ({ title, description, children, onConfirm, onCancel, }: AlertDialogProps) => React$1.JSX.Element;
|
|
306
305
|
|
|
307
306
|
type DrawerProps = React$1.ComponentProps<typeof Drawer$1.Root>;
|
|
308
307
|
declare const Drawer: {
|
|
309
|
-
({ shouldScaleBackground, ...props }: DrawerProps):
|
|
308
|
+
({ shouldScaleBackground, ...props }: DrawerProps): React$1.JSX.Element;
|
|
310
309
|
displayName: string;
|
|
311
310
|
};
|
|
312
311
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -315,11 +314,11 @@ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
|
|
|
315
314
|
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
315
|
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
316
|
declare const DrawerHeader: {
|
|
318
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
317
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
319
318
|
displayName: string;
|
|
320
319
|
};
|
|
321
320
|
declare const DrawerFooter: {
|
|
322
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
321
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
323
322
|
displayName: string;
|
|
324
323
|
};
|
|
325
324
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -328,7 +327,7 @@ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
328
327
|
type CustomDrawerProps = DrawerProps & {
|
|
329
328
|
className?: string;
|
|
330
329
|
};
|
|
331
|
-
declare function CustomDrawer({ className, ...props }: CustomDrawerProps):
|
|
330
|
+
declare function CustomDrawer({ className, ...props }: CustomDrawerProps): React$1.JSX.Element;
|
|
332
331
|
|
|
333
332
|
declare const Sheet$1: React$1.FC<DialogPrimitive.DialogProps>;
|
|
334
333
|
|
|
@@ -338,7 +337,7 @@ type SheetProps = typeof Sheet$1 & PropsWithChildren & {
|
|
|
338
337
|
onOpenChange?: (open: boolean) => void;
|
|
339
338
|
open?: boolean;
|
|
340
339
|
};
|
|
341
|
-
declare function Sheet({ side, className, children, ...props }: SheetProps):
|
|
340
|
+
declare function Sheet({ side, className, children, ...props }: SheetProps): React$1.JSX.Element;
|
|
342
341
|
|
|
343
342
|
type AppSidebarProps = {
|
|
344
343
|
footer?: () => React$1.ReactNode;
|
|
@@ -370,7 +369,7 @@ interface SidebarProps extends AppSidebarProps {
|
|
|
370
369
|
defaultPath?: string;
|
|
371
370
|
defaultCollapsed?: boolean;
|
|
372
371
|
}
|
|
373
|
-
declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) =>
|
|
372
|
+
declare const Sidebar: ({ children, contentClassName, showFooter, defaultPath, defaultCollapsed, ...rest }: SidebarProps) => React$1.JSX.Element;
|
|
374
373
|
|
|
375
374
|
declare function NavUser({ user, logoutAction, }: {
|
|
376
375
|
user: {
|
|
@@ -379,7 +378,7 @@ declare function NavUser({ user, logoutAction, }: {
|
|
|
379
378
|
avatar: string;
|
|
380
379
|
};
|
|
381
380
|
logoutAction?: () => void;
|
|
382
|
-
}):
|
|
381
|
+
}): React$1.JSX.Element;
|
|
383
382
|
|
|
384
383
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
385
384
|
|
|
@@ -388,7 +387,7 @@ type PageLayoutProps = PropsWithChildren & {
|
|
|
388
387
|
subtitle?: string;
|
|
389
388
|
header?: React__default.ReactNode;
|
|
390
389
|
};
|
|
391
|
-
declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) =>
|
|
390
|
+
declare const PageLayout: ({ subtitle, title, children, header, }: PageLayoutProps) => React__default.JSX.Element;
|
|
392
391
|
|
|
393
392
|
interface TabsProps {
|
|
394
393
|
tabs: {
|
|
@@ -411,11 +410,11 @@ declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.Det
|
|
|
411
410
|
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
412
411
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
413
412
|
declare const BreadcrumbSeparator: {
|
|
414
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">):
|
|
413
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
415
414
|
displayName: string;
|
|
416
415
|
};
|
|
417
416
|
declare const BreadcrumbEllipsis: {
|
|
418
|
-
({ className, ...props }: React$1.ComponentProps<"span">):
|
|
417
|
+
({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
419
418
|
displayName: string;
|
|
420
419
|
};
|
|
421
420
|
|
|
@@ -429,9 +428,9 @@ interface SpinnerContentProps extends VariantProps<typeof spinnerVariants>, Vari
|
|
|
429
428
|
className?: string;
|
|
430
429
|
children?: React__default.ReactNode;
|
|
431
430
|
}
|
|
432
|
-
declare function Spinner({ size, show, children, className, }: SpinnerContentProps):
|
|
431
|
+
declare function Spinner({ size, show, children, className, }: SpinnerContentProps): React__default.JSX.Element;
|
|
433
432
|
|
|
434
|
-
declare function Toaster():
|
|
433
|
+
declare function Toaster(): React$1.JSX.Element;
|
|
435
434
|
|
|
436
435
|
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
437
436
|
variant?: "default" | "destructive" | "success" | null | undefined;
|
|
@@ -482,4 +481,118 @@ declare function useToast(): {
|
|
|
482
481
|
toasts: ToasterToast[];
|
|
483
482
|
};
|
|
484
483
|
|
|
485
|
-
|
|
484
|
+
type ColorValues = {
|
|
485
|
+
background?: string;
|
|
486
|
+
foreground?: string;
|
|
487
|
+
card?: string;
|
|
488
|
+
cardForeground?: string;
|
|
489
|
+
popover?: string;
|
|
490
|
+
popoverForeground?: string;
|
|
491
|
+
primary?: string;
|
|
492
|
+
primaryForeground?: string;
|
|
493
|
+
secondary?: string;
|
|
494
|
+
secondaryForeground?: string;
|
|
495
|
+
muted?: string;
|
|
496
|
+
mutedForeground?: string;
|
|
497
|
+
accent?: string;
|
|
498
|
+
accentForeground?: string;
|
|
499
|
+
success?: string;
|
|
500
|
+
successForeground?: string;
|
|
501
|
+
warning?: string;
|
|
502
|
+
destructive?: string;
|
|
503
|
+
destructiveForeground?: string;
|
|
504
|
+
border?: string;
|
|
505
|
+
input?: string;
|
|
506
|
+
ring?: string;
|
|
507
|
+
radius?: string;
|
|
508
|
+
};
|
|
509
|
+
type SpacingValues = {
|
|
510
|
+
/** Base spacing unit (default: 0.25rem = 4px) */
|
|
511
|
+
base?: string;
|
|
512
|
+
/** Custom spacing scale */
|
|
513
|
+
xs?: string;
|
|
514
|
+
sm?: string;
|
|
515
|
+
md?: string;
|
|
516
|
+
lg?: string;
|
|
517
|
+
xl?: string;
|
|
518
|
+
"2xl"?: string;
|
|
519
|
+
"3xl"?: string;
|
|
520
|
+
};
|
|
521
|
+
type TypographyValues = {
|
|
522
|
+
/** Font family */
|
|
523
|
+
fontFamily?: string;
|
|
524
|
+
/** Base font size */
|
|
525
|
+
fontSize?: {
|
|
526
|
+
xs?: string;
|
|
527
|
+
sm?: string;
|
|
528
|
+
base?: string;
|
|
529
|
+
lg?: string;
|
|
530
|
+
xl?: string;
|
|
531
|
+
"2xl"?: string;
|
|
532
|
+
"3xl"?: string;
|
|
533
|
+
"4xl"?: string;
|
|
534
|
+
"5xl"?: string;
|
|
535
|
+
};
|
|
536
|
+
/** Font weights */
|
|
537
|
+
fontWeight?: {
|
|
538
|
+
light?: string;
|
|
539
|
+
normal?: string;
|
|
540
|
+
medium?: string;
|
|
541
|
+
semibold?: string;
|
|
542
|
+
bold?: string;
|
|
543
|
+
};
|
|
544
|
+
/** Line heights */
|
|
545
|
+
lineHeight?: {
|
|
546
|
+
none?: string;
|
|
547
|
+
tight?: string;
|
|
548
|
+
snug?: string;
|
|
549
|
+
normal?: string;
|
|
550
|
+
relaxed?: string;
|
|
551
|
+
loose?: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
type ThemeValues = {
|
|
555
|
+
colors?: ColorValues;
|
|
556
|
+
spacing?: SpacingValues;
|
|
557
|
+
typography?: TypographyValues;
|
|
558
|
+
/** Border radius values */
|
|
559
|
+
borderRadius?: {
|
|
560
|
+
none?: string;
|
|
561
|
+
sm?: string;
|
|
562
|
+
md?: string;
|
|
563
|
+
lg?: string;
|
|
564
|
+
xl?: string;
|
|
565
|
+
"2xl"?: string;
|
|
566
|
+
"3xl"?: string;
|
|
567
|
+
full?: string;
|
|
568
|
+
};
|
|
569
|
+
/** Shadow values */
|
|
570
|
+
boxShadow?: {
|
|
571
|
+
sm?: string;
|
|
572
|
+
md?: string;
|
|
573
|
+
lg?: string;
|
|
574
|
+
xl?: string;
|
|
575
|
+
"2xl"?: string;
|
|
576
|
+
inner?: string;
|
|
577
|
+
none?: string;
|
|
578
|
+
};
|
|
579
|
+
/** Breakpoints */
|
|
580
|
+
breakpoints?: {
|
|
581
|
+
sm?: string;
|
|
582
|
+
md?: string;
|
|
583
|
+
lg?: string;
|
|
584
|
+
xl?: string;
|
|
585
|
+
"2xl"?: string;
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
type DesignSystemProviderProps = {
|
|
589
|
+
children: React__default.ReactNode;
|
|
590
|
+
className?: string;
|
|
591
|
+
/** @deprecated Use `theme.colors` instead */
|
|
592
|
+
colors?: ColorValues;
|
|
593
|
+
/** Complete theme configuration */
|
|
594
|
+
theme?: ThemeValues;
|
|
595
|
+
};
|
|
596
|
+
declare function DesignSystemProvider({ children, className, colors, theme, }: DesignSystemProviderProps): React__default.JSX.Element;
|
|
597
|
+
|
|
598
|
+
export { AlertDialog, type AlertDialogProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, DesignSystemProvider as BaseDesignSystemProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, 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 };
|