@gsk_poc/untitled-ui-base 0.1.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 (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +44 -0
  3. package/components/application/app-navigation/base-components/featured-cards.demo.tsx +86 -0
  4. package/components/application/app-navigation/base-components/featured-cards.story.tsx +49 -0
  5. package/components/application/app-navigation/header-navigation.demo.tsx +59 -0
  6. package/components/application/app-navigation/header-navigation.story.tsx +23 -0
  7. package/components/application/app-navigation/sidebar-navigation.demo.tsx +409 -0
  8. package/components/application/app-navigation/sidebar-navigation.story.tsx +47 -0
  9. package/components/application/carousel/carousel.demo.tsx +107 -0
  10. package/components/application/carousel/carousel.story.tsx +21 -0
  11. package/components/application/charts/activity-gauges.demo.tsx +251 -0
  12. package/components/application/charts/activity-gauges.story.tsx +27 -0
  13. package/components/application/charts/bar-charts.demo.tsx +506 -0
  14. package/components/application/charts/bar-charts.story.tsx +36 -0
  15. package/components/application/charts/line-charts.demo.tsx +604 -0
  16. package/components/application/charts/line-charts.story.tsx +43 -0
  17. package/components/application/charts/pie-charts.demo.tsx +193 -0
  18. package/components/application/charts/pie-charts.story.tsx +30 -0
  19. package/components/application/charts/progress-circles.demo.tsx +110 -0
  20. package/components/application/charts/progress-circles.story.tsx +33 -0
  21. package/components/application/charts/radar-charts.demo.tsx +203 -0
  22. package/components/application/charts/radar-charts.story.tsx +18 -0
  23. package/components/application/date-picker/date-picker.demo.tsx +217 -0
  24. package/components/application/date-picker/date-picker.story.tsx +44 -0
  25. package/components/application/file-upload/file-upload.demo.tsx +292 -0
  26. package/components/application/file-upload/file-upload.story.tsx +70 -0
  27. package/components/application/loading-indicator/loading-indicator.demo.tsx +73 -0
  28. package/components/application/loading-indicator/loading-indicator.story.tsx +22 -0
  29. package/components/application/pagination/pagination.demo.tsx +104 -0
  30. package/components/application/pagination/pagination.story.tsx +54 -0
  31. package/components/application/table/table.demo.tsx +1038 -0
  32. package/components/application/table/table.story.tsx +119 -0
  33. package/components/application/tabs/tabs.demo.tsx +322 -0
  34. package/components/application/tabs/tabs.story.tsx +43 -0
  35. package/components/base/avatar/avatar.demo.tsx +865 -0
  36. package/components/base/avatar/avatar.story.tsx +27 -0
  37. package/components/base/badges/badge-groups.demo.tsx +357 -0
  38. package/components/base/badges/badge-groups.story.tsx +25 -0
  39. package/components/base/badges/badges.demo.tsx +497 -0
  40. package/components/base/badges/badges.story.tsx +83 -0
  41. package/components/base/button-group/button-group.demo.tsx +131 -0
  42. package/components/base/button-group/button-group.story.tsx +16 -0
  43. package/components/base/buttons/app-store-buttons.demo.tsx +129 -0
  44. package/components/base/buttons/app-store-buttons.story.tsx +13 -0
  45. package/components/base/buttons/buttons.demo.tsx +1022 -0
  46. package/components/base/buttons/buttons.story.tsx +42 -0
  47. package/components/base/buttons/social-buttons.demo.tsx +432 -0
  48. package/components/base/buttons/social-buttons.story.tsx +20 -0
  49. package/components/base/checkbox/checkbox.demo.tsx +62 -0
  50. package/components/base/checkbox/checkbox.story.tsx +18 -0
  51. package/components/base/dropdown/dropdown.demo.tsx +137 -0
  52. package/components/base/dropdown/dropdown.story.tsx +22 -0
  53. package/components/base/input/inputs.demo.tsx +758 -0
  54. package/components/base/input/inputs.story.tsx +52 -0
  55. package/components/base/pin-input/pin-input.demo.tsx +126 -0
  56. package/components/base/pin-input/pin-input.story.tsx +22 -0
  57. package/components/base/progress-indicators/progress-indicators.demo.tsx +54 -0
  58. package/components/base/progress-indicators/progress-indicators.story.tsx +57 -0
  59. package/components/base/radio-buttons/radio-buttons.demo.tsx +77 -0
  60. package/components/base/radio-buttons/radio-buttons.story.tsx +19 -0
  61. package/components/base/select/select.demo.tsx +936 -0
  62. package/components/base/select/select.story.tsx +43 -0
  63. package/components/base/slider/slider.demo.tsx +19 -0
  64. package/components/base/slider/slider.story.tsx +26 -0
  65. package/components/base/tags/tags.demo.tsx +341 -0
  66. package/components/base/tags/tags.story.tsx +28 -0
  67. package/components/base/textarea/textarea.demo.tsx +25 -0
  68. package/components/base/textarea/textarea.story.tsx +15 -0
  69. package/components/base/toggle/toggle.demo.tsx +76 -0
  70. package/components/base/toggle/toggle.story.tsx +23 -0
  71. package/components/base/tooltip/tooltip.demo.tsx +125 -0
  72. package/components/base/tooltip/tooltip.story.tsx +21 -0
  73. package/components/foundations/featured-icon/featured-icon.demo.tsx +160 -0
  74. package/components/foundations/featured-icon/featured-icon.story.tsx +25 -0
  75. package/components/shared-assets/credit-card/credit-card.demo.tsx +106 -0
  76. package/components/shared-assets/credit-card/credit-card.story.tsx +41 -0
  77. package/dist/index.d.mts +1417 -0
  78. package/dist/index.d.ts +1417 -0
  79. package/dist/index.js +10435 -0
  80. package/dist/index.js.map +1 -0
  81. package/dist/index.mjs +10345 -0
  82. package/dist/index.mjs.map +1 -0
  83. package/package.json +126 -0
  84. package/styles/globals.css +65 -0
  85. package/styles/theme.css +430 -0
  86. package/styles/tokens-mapped.css +233 -0
  87. package/styles/tokens.css +807 -0
  88. package/styles/typography.css +430 -0
  89. package/tokens/design-tokens.dtcg.json +3515 -0
@@ -0,0 +1,1417 @@
1
+ import * as react from 'react';
2
+ import react__default, { FC, ReactNode, ComponentPropsWithRef, Ref, CSSProperties, HTMLAttributes, SVGProps, ComponentProps, RefAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, DetailedHTMLProps, ButtonHTMLAttributes, AnchorHTMLAttributes, PropsWithChildren, ComponentType } from 'react';
3
+ import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
4
+ import { FileIcon } from '@untitledui/file-icons';
5
+ import * as react_aria_components from 'react-aria-components';
6
+ import { DialogProps as DialogProps$1, ModalOverlayProps, ModalRenderProps, DialogTrigger, TableProps, TableBody, CellProps, ColumnProps, TableHeaderProps as TableHeaderProps$1, RowProps, TabListProps, TabProps, TabRenderProps, TabPanel as TabPanel$1, Tabs as Tabs$1, ToggleButtonGroupProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, MenuTrigger, PopoverProps, MenuProps, MenuItemProps, SeparatorProps, Form as Form$1, RadioProps, RadioGroupProps as RadioGroupProps$1, ComboBoxProps as ComboBoxProps$1, ListBoxProps, ListBoxItemProps, SelectProps as SelectProps$1, Key, SliderProps as SliderProps$1, TagGroupProps as TagGroupProps$1, TagProps as TagProps$1, TextAreaProps, TextFieldProps as TextFieldProps$2, SwitchProps, TooltipTriggerComponentProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1 } from 'react-aria-components';
7
+ import { OTPInput } from 'input-otp';
8
+ import { ListData } from 'react-stately';
9
+ import { RefObject } from '@react-types/shared';
10
+ import * as tailwind_merge from 'tailwind-merge';
11
+
12
+ type NavItem = {
13
+ /** Label text for the nav item. */
14
+ label: string;
15
+ /** URL to navigate to when the nav item is clicked. */
16
+ href: string;
17
+ /** Whether the nav item is currently active. */
18
+ current?: boolean;
19
+ /** Icon component to display. */
20
+ icon?: FC<{
21
+ className?: string;
22
+ }>;
23
+ /** Badge to display. */
24
+ badge?: ReactNode;
25
+ /** List of sub-items to display. */
26
+ items?: NavItem[];
27
+ };
28
+ interface HeaderNavigationBaseProps {
29
+ /** URL of the currently active item. */
30
+ activeUrl?: string;
31
+ /** List of items to display. */
32
+ items: NavItem[];
33
+ /** List of sub-items to display. */
34
+ subItems?: NavItem[];
35
+ /** Content to display in the trailing position. */
36
+ trailingContent?: ReactNode;
37
+ /** Whether to show the avatar dropdown. */
38
+ showAvatarDropdown?: boolean;
39
+ /** Whether to hide the bottom border. */
40
+ hideBorder?: boolean;
41
+ }
42
+ declare const HeaderNavigationBase: ({ activeUrl, items, subItems, trailingContent, showAvatarDropdown, hideBorder, }: HeaderNavigationBaseProps) => react.JSX.Element;
43
+
44
+ type CarouselApi = UseEmblaCarouselType[1];
45
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
46
+ type CarouselOptions = UseCarouselParameters[0];
47
+ type CarouselPlugin = UseCarouselParameters[1];
48
+ type CarouselProps = {
49
+ /** The options for the Embla carousel. */
50
+ opts?: CarouselOptions;
51
+ /** The plugins for the Embla carousel. */
52
+ plugins?: CarouselPlugin;
53
+ /** The orientation of the carousel. */
54
+ orientation?: "horizontal" | "vertical";
55
+ /** The function to set the API for the carousel. */
56
+ setApi?: (api: CarouselApi) => void;
57
+ };
58
+ type CarouselContextProps = CarouselProps & {
59
+ /** The ref of the carousel. */
60
+ carouselRef: ReturnType<typeof useEmblaCarousel>[0];
61
+ /** The API of the carousel. */
62
+ api: ReturnType<typeof useEmblaCarousel>[1];
63
+ /** The function to scroll the carousel to the previous slide. */
64
+ scrollPrev: () => void;
65
+ /** The function to scroll the carousel to the next slide. */
66
+ scrollNext: () => void;
67
+ /** Whether the carousel can scroll to the previous slide. */
68
+ canScrollPrev: boolean;
69
+ /** Whether the carousel can scroll to the next slide. */
70
+ canScrollNext: boolean;
71
+ /** The index of the selected slide. */
72
+ selectedIndex: number;
73
+ /** The scroll snaps of the carousel. */
74
+ scrollSnaps: number[];
75
+ };
76
+ declare const CarouselContext: react.Context<CarouselContextProps | null>;
77
+ declare const useCarousel: () => CarouselContextProps;
78
+ interface CarouselContentProps extends ComponentPropsWithRef<"div"> {
79
+ /** The class name of the content. */
80
+ className?: string;
81
+ /** Whether to hide the overflow. */
82
+ overflowHidden?: boolean;
83
+ }
84
+ interface TriggerRenderProps {
85
+ isDisabled: boolean;
86
+ onClick: () => void;
87
+ }
88
+ interface TriggerProps {
89
+ /** The ref of the trigger. */
90
+ ref?: Ref<HTMLButtonElement>;
91
+ /** If true, the child element will be cloned and passed down the prop of the trigger. */
92
+ asChild?: boolean;
93
+ /** The direction of the trigger. */
94
+ direction: "prev" | "next";
95
+ /** The children of the trigger. Can be a render prop or a valid element. */
96
+ children: ReactNode | ((props: TriggerRenderProps) => ReactNode);
97
+ /** The style of the trigger. */
98
+ style?: CSSProperties;
99
+ /** The class name of the trigger. */
100
+ className?: string | ((args: {
101
+ isDisabled: boolean;
102
+ }) => string);
103
+ }
104
+ interface CarouselIndicatorRenderProps {
105
+ isSelected: boolean;
106
+ onClick: () => void;
107
+ }
108
+ interface CarouselIndicatorProps {
109
+ /** The index of the indicator. */
110
+ index: number;
111
+ /** If true, the child element will be cloned and passed down the prop of the indicator. */
112
+ asChild?: boolean;
113
+ /** If true, the indicator will be selected. */
114
+ isSelected?: boolean;
115
+ /** The children of the indicator. Can be a render prop or a valid element. */
116
+ children?: ReactNode | ((props: CarouselIndicatorRenderProps) => ReactNode);
117
+ /** The style of the indicator. */
118
+ style?: CSSProperties;
119
+ /** The class name of the indicator. */
120
+ className?: string | ((args: {
121
+ isSelected: boolean;
122
+ }) => string);
123
+ }
124
+ interface CarouselIndicatorGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
125
+ children: ReactNode | ((props: {
126
+ index: number;
127
+ }) => ReactNode);
128
+ className?: string;
129
+ }
130
+ declare const Carousel: {
131
+ Root: ({ orientation, opts, setApi, plugins, className, children, ...props }: ComponentPropsWithRef<"div"> & CarouselProps) => react.JSX.Element;
132
+ Content: ({ className, overflowHidden, ...props }: CarouselContentProps) => react.JSX.Element;
133
+ Item: ({ className, ...props }: ComponentPropsWithRef<"div">) => react.JSX.Element;
134
+ PrevTrigger: (props: Omit<TriggerProps, "direction">) => react.JSX.Element;
135
+ NextTrigger: (props: Omit<TriggerProps, "direction">) => react.JSX.Element;
136
+ IndicatorGroup: ({ children, ...props }: CarouselIndicatorGroupProps) => react.JSX.Element;
137
+ Indicator: ({ index, isSelected, children, asChild, className, style }: CarouselIndicatorProps) => react.JSX.Element;
138
+ };
139
+
140
+ interface FeaturedIconProps {
141
+ ref?: Ref<HTMLDivElement>;
142
+ children?: ReactNode;
143
+ className?: string;
144
+ icon?: FC<{
145
+ className?: string;
146
+ }> | ReactNode;
147
+ size?: "sm" | "md" | "lg" | "xl";
148
+ color: "brand" | "gray" | "success" | "warning" | "error";
149
+ theme?: "light" | "gradient" | "dark" | "outline" | "modern" | "modern-neue";
150
+ }
151
+ declare const FeaturedIcon$1: (props: FeaturedIconProps) => react.JSX.Element;
152
+
153
+ declare const patterns: {
154
+ circle: (props: Omit<SVGProps<SVGSVGElement>, "size"> & {
155
+ size?: "sm" | "md" | "lg";
156
+ }) => react.JSX.Element;
157
+ square: (props: Omit<SVGProps<SVGSVGElement>, "size"> & {
158
+ size?: "sm" | "md" | "lg";
159
+ }) => react.JSX.Element;
160
+ grid: (props: Omit<SVGProps<SVGSVGElement>, "size"> & {
161
+ size?: "sm" | "md" | "lg";
162
+ }) => react.JSX.Element;
163
+ "grid-check": (props: Omit<SVGProps<SVGSVGElement>, "size"> & {
164
+ size?: "sm" | "md";
165
+ }) => react.JSX.Element;
166
+ };
167
+ interface BackgroundPatternProps extends Omit<SVGProps<SVGSVGElement>, "size"> {
168
+ size?: "sm" | "md" | "lg";
169
+ pattern: keyof typeof patterns;
170
+ }
171
+
172
+ interface IllustrationProps extends HTMLAttributes<HTMLDivElement> {
173
+ size?: "sm" | "md" | "lg";
174
+ svgClassName?: string;
175
+ childrenClassName?: string;
176
+ }
177
+ type IllustrationType = "box" | "cloud" | "documents" | "credit-card";
178
+ declare const Illustration$1: (props: IllustrationProps & {
179
+ type: IllustrationType;
180
+ }) => react.JSX.Element | null;
181
+
182
+ interface RootContextProps {
183
+ size?: "sm" | "md" | "lg";
184
+ }
185
+ interface RootProps$1 extends ComponentPropsWithRef<"div">, RootContextProps {
186
+ }
187
+ declare const Root$1: ({ size, ...props }: RootProps$1) => react.JSX.Element;
188
+ declare const FeaturedIcon: ({ color, theme, icon, size, ...props }: ComponentPropsWithRef<typeof FeaturedIcon$1>) => react.JSX.Element;
189
+ declare const Illustration: ({ type, color, size, ...props }: ComponentPropsWithRef<typeof Illustration$1>) => react.JSX.Element;
190
+ interface FileTypeIconProps extends ComponentPropsWithRef<"div"> {
191
+ type?: ComponentProps<typeof FileIcon>["type"];
192
+ theme?: ComponentProps<typeof FileIcon>["variant"];
193
+ }
194
+ declare const FileTypeIcon: ({ type, theme, ...props }: FileTypeIconProps) => react.JSX.Element;
195
+ interface HeaderProps extends ComponentPropsWithRef<"div"> {
196
+ pattern?: "none" | BackgroundPatternProps["pattern"];
197
+ patternSize?: "sm" | "md" | "lg";
198
+ }
199
+ declare const Header$1: ({ pattern, patternSize, ...props }: HeaderProps) => react.JSX.Element;
200
+ declare const Content$1: (props: ComponentPropsWithRef<"div">) => react.JSX.Element;
201
+ declare const Footer$1: (props: ComponentPropsWithRef<"div">) => react.JSX.Element;
202
+ declare const Title: (props: ComponentPropsWithRef<"h1">) => react.JSX.Element;
203
+ declare const Description$1: (props: ComponentPropsWithRef<"p">) => react.JSX.Element;
204
+ declare const EmptyState: typeof Root$1 & {
205
+ Title: typeof Title;
206
+ Header: typeof Header$1;
207
+ Footer: typeof Footer$1;
208
+ Content: typeof Content$1;
209
+ Description: typeof Description$1;
210
+ Illustration: typeof Illustration;
211
+ FeaturedIcon: typeof FeaturedIcon;
212
+ FileTypeIcon: typeof FileTypeIcon;
213
+ };
214
+
215
+ /**
216
+ * Returns a human-readable file size.
217
+ * @param bytes - The size of the file in bytes.
218
+ * @returns A string representing the file size in a human-readable format.
219
+ */
220
+ declare const getReadableFileSize: (bytes: number) => string;
221
+ interface FileUploadDropZoneProps {
222
+ /** The class name of the drop zone. */
223
+ className?: string;
224
+ /**
225
+ * A hint text explaining what files can be dropped.
226
+ */
227
+ hint?: string;
228
+ /**
229
+ * Disables dropping or uploading files.
230
+ */
231
+ isDisabled?: boolean;
232
+ /**
233
+ * Specifies the types of files that the server accepts.
234
+ * Examples: "image/*", ".pdf,image/*", "image/*,video/mpeg,application/pdf"
235
+ */
236
+ accept?: string;
237
+ /**
238
+ * Allows multiple file uploads.
239
+ */
240
+ allowsMultiple?: boolean;
241
+ /**
242
+ * Maximum file size in bytes.
243
+ */
244
+ maxSize?: number;
245
+ /**
246
+ * Callback function that is called with the list of dropped files
247
+ * when files are dropped on the drop zone.
248
+ */
249
+ onDropFiles?: (files: FileList) => void;
250
+ /**
251
+ * Callback function that is called with the list of unaccepted files
252
+ * when files are dropped on the drop zone.
253
+ */
254
+ onDropUnacceptedFiles?: (files: FileList) => void;
255
+ /**
256
+ * Callback function that is called with the list of files that exceed
257
+ * the size limit when files are dropped on the drop zone.
258
+ */
259
+ onSizeLimitExceed?: (files: FileList) => void;
260
+ }
261
+ declare const FileUploadDropZone: ({ className, hint, isDisabled, accept, allowsMultiple, maxSize, onDropFiles, onDropUnacceptedFiles, onSizeLimitExceed, }: FileUploadDropZoneProps) => react.JSX.Element;
262
+ interface FileListItemProps {
263
+ /** The name of the file. */
264
+ name: string;
265
+ /** The size of the file. */
266
+ size: number;
267
+ /** The upload progress of the file. */
268
+ progress: number;
269
+ /** Whether the file failed to upload. */
270
+ failed?: boolean;
271
+ /** The type of the file. */
272
+ type?: ComponentProps<typeof FileIcon>["type"];
273
+ /** The class name of the file list item. */
274
+ className?: string;
275
+ /** The variant of the file icon. */
276
+ fileIconVariant?: ComponentProps<typeof FileIcon>["variant"];
277
+ /** The function to call when the file is deleted. */
278
+ onDelete?: () => void;
279
+ /** The function to call when the file upload is retried. */
280
+ onRetry?: () => void;
281
+ }
282
+ declare const FileListItemProgressBar: ({ name, size, progress, failed, type, fileIconVariant, onDelete, onRetry, className }: FileListItemProps) => react.JSX.Element;
283
+ declare const FileListItemProgressFill: ({ name, size, progress, failed, type, fileIconVariant, onDelete, onRetry, className }: FileListItemProps) => react.JSX.Element;
284
+ declare const FileUpload: {
285
+ Root: (props: ComponentPropsWithRef<"div">) => react.JSX.Element;
286
+ List: (props: ComponentPropsWithRef<"ul">) => react.JSX.Element;
287
+ DropZone: ({ className, hint, isDisabled, accept, allowsMultiple, maxSize, onDropFiles, onDropUnacceptedFiles, onSizeLimitExceed, }: FileUploadDropZoneProps) => react.JSX.Element;
288
+ ListItemProgressBar: ({ name, size, progress, failed, type, fileIconVariant, onDelete, onRetry, className }: FileListItemProps) => react.JSX.Element;
289
+ ListItemProgressFill: ({ name, size, progress, failed, type, fileIconVariant, onDelete, onRetry, className }: FileListItemProps) => react.JSX.Element;
290
+ };
291
+
292
+ interface LoadingIndicatorProps {
293
+ /**
294
+ * The visual style of the loading indicator.
295
+ * @default 'line-simple'
296
+ */
297
+ type?: "line-simple" | "line-spinner" | "dot-circle";
298
+ /**
299
+ * The size of the loading indicator.
300
+ * @default 'sm'
301
+ */
302
+ size?: "sm" | "md" | "lg" | "xl";
303
+ /**
304
+ * Optional text label displayed below the indicator.
305
+ */
306
+ label?: string;
307
+ }
308
+ declare const LoadingIndicator: ({ type, size, label }: LoadingIndicatorProps) => react.JSX.Element;
309
+
310
+ declare const ModalOverlay: (props: ModalOverlayProps) => react.JSX.Element;
311
+ declare const Modal: (props: ModalOverlayProps) => react.JSX.Element;
312
+ declare const Dialog$1: (props: DialogProps$1) => react.JSX.Element;
313
+
314
+ interface PaginationRootProps {
315
+ /** Number of sibling pages to show on each side of the current page */
316
+ siblingCount?: number;
317
+ /** Current active page number */
318
+ page: number;
319
+ /** Total number of pages */
320
+ total: number;
321
+ children: ReactNode;
322
+ /** The style of the pagination root. */
323
+ style?: CSSProperties;
324
+ /** The class name of the pagination root. */
325
+ className?: string;
326
+ /** Callback function that's called when the page changes with the new page number. */
327
+ onPageChange?: (page: number) => void;
328
+ }
329
+
330
+ interface PaginationProps extends Partial<Omit<PaginationRootProps, "children">> {
331
+ /** Whether the pagination buttons are rounded. */
332
+ rounded?: boolean;
333
+ }
334
+ declare const PaginationPageDefault: ({ rounded, page, total, className, ...props }: PaginationProps) => react.JSX.Element;
335
+ declare const PaginationPageMinimalCenter: ({ rounded, page, total, className, ...props }: PaginationProps) => react.JSX.Element;
336
+ declare const PaginationCardDefault: ({ rounded, page, total, ...props }: PaginationProps) => react.JSX.Element;
337
+ interface PaginationCardMinimalProps {
338
+ /** The current page. */
339
+ page?: number;
340
+ /** The total number of pages. */
341
+ total?: number;
342
+ /** The alignment of the pagination. */
343
+ align?: "left" | "center" | "right";
344
+ /** The class name of the pagination component. */
345
+ className?: string;
346
+ /** The function to call when the page changes. */
347
+ onPageChange?: (page: number) => void;
348
+ }
349
+ declare const PaginationCardMinimal: ({ page, total, align, onPageChange, className }: PaginationCardMinimalProps) => react.JSX.Element;
350
+ interface PaginationButtonGroupProps extends Partial<Omit<PaginationRootProps, "children">> {
351
+ /** The alignment of the pagination. */
352
+ align?: "left" | "center" | "right";
353
+ }
354
+ declare const PaginationButtonGroup: ({ align, page, total, ...props }: PaginationButtonGroupProps) => react.JSX.Element;
355
+
356
+ interface PaginationDotProps extends Omit<PaginationRootProps, "children"> {
357
+ /** The size of the pagination dot. */
358
+ size?: "md" | "lg";
359
+ /** Whether the pagination uses brand colors. */
360
+ isBrand?: boolean;
361
+ /** Whether the pagination is displayed in a card. */
362
+ framed?: boolean;
363
+ }
364
+ declare const PaginationDot: ({ framed, className, size, isBrand, ...props }: PaginationDotProps) => react.JSX.Element;
365
+
366
+ interface PaginationLineProps extends Omit<PaginationRootProps, "children"> {
367
+ /** The size of the pagination line. */
368
+ size?: "md" | "lg";
369
+ /** Whether the pagination is displayed in a card. */
370
+ framed?: boolean;
371
+ }
372
+ declare const PaginationLine: ({ framed, className, size, ...props }: PaginationLineProps) => react.JSX.Element;
373
+
374
+ interface DialogProps extends DialogProps$1, RefAttributes<HTMLElement> {
375
+ }
376
+ declare const Dialog: {
377
+ (props: DialogProps): react.JSX.Element;
378
+ displayName: string;
379
+ };
380
+ interface SlideoutMenuProps extends Omit<ModalOverlayProps, "children">, RefAttributes<HTMLDivElement> {
381
+ children: ReactNode | ((children: ModalRenderProps & {
382
+ close: () => void;
383
+ }) => ReactNode);
384
+ dialogClassName?: string;
385
+ }
386
+ declare const Menu: {
387
+ ({ children, dialogClassName, ...props }: SlideoutMenuProps): react.JSX.Element;
388
+ displayName: string;
389
+ };
390
+ declare const Content: {
391
+ ({ role, ...props }: ComponentPropsWithRef<"div">): react.JSX.Element;
392
+ displayName: string;
393
+ };
394
+ interface SlideoutHeaderProps extends ComponentPropsWithRef<"header"> {
395
+ onClose?: () => void;
396
+ }
397
+ declare const Header: {
398
+ ({ className, children, onClose, ...props }: SlideoutHeaderProps): react.JSX.Element;
399
+ displayName: string;
400
+ };
401
+ declare const Footer: {
402
+ (props: ComponentPropsWithRef<"footer">): react.JSX.Element;
403
+ displayName: string;
404
+ };
405
+ declare const SlideoutMenu: typeof Menu & {
406
+ Trigger: typeof DialogTrigger;
407
+ Content: typeof Content;
408
+ Header: typeof Header;
409
+ Footer: typeof Footer;
410
+ };
411
+
412
+ declare const TableRowActionsDropdown: () => react.JSX.Element;
413
+ interface TableCardHeaderProps {
414
+ /** The title of the table card header. */
415
+ title: string;
416
+ /** The badge displayed next to the title. */
417
+ badge?: ReactNode;
418
+ /** The description of the table card header. */
419
+ description?: string;
420
+ /** The content displayed after the title and badge. */
421
+ contentTrailing?: ReactNode;
422
+ /** The class name of the table card header. */
423
+ className?: string;
424
+ }
425
+ interface TableRootProps extends TableProps, Omit<ComponentPropsWithRef<"table">, "className" | "slot" | "style"> {
426
+ size?: "sm" | "md";
427
+ }
428
+ declare const TableRoot: {
429
+ ({ className, size, ...props }: TableRootProps): react.JSX.Element;
430
+ displayName: string;
431
+ };
432
+ interface TableHeaderProps<T extends object> extends TableHeaderProps$1<T>, Omit<ComponentPropsWithRef<"thead">, "children" | "className" | "slot" | "style"> {
433
+ bordered?: boolean;
434
+ }
435
+ declare const TableHeader: {
436
+ <T extends object>({ columns, children, bordered, className, ...props }: TableHeaderProps<T>): react.JSX.Element;
437
+ displayName: string;
438
+ };
439
+ interface TableHeadProps extends ColumnProps, Omit<ThHTMLAttributes<HTMLTableCellElement>, "children" | "className" | "style" | "id"> {
440
+ label?: string;
441
+ tooltip?: string;
442
+ }
443
+ declare const TableHead: {
444
+ ({ className, tooltip, label, children, ...props }: TableHeadProps): react.JSX.Element;
445
+ displayName: string;
446
+ };
447
+ interface TableRowProps<T extends object> extends RowProps<T>, Omit<ComponentPropsWithRef<"tr">, "children" | "className" | "onClick" | "slot" | "style" | "id"> {
448
+ highlightSelectedRow?: boolean;
449
+ }
450
+ declare const TableRow: {
451
+ <T extends object>({ columns, children, className, highlightSelectedRow, ...props }: TableRowProps<T>): react.JSX.Element;
452
+ displayName: string;
453
+ };
454
+ interface TableCellProps extends CellProps, Omit<TdHTMLAttributes<HTMLTableCellElement>, "children" | "className" | "style" | "id"> {
455
+ ref?: Ref<HTMLTableCellElement>;
456
+ }
457
+ declare const TableCell: {
458
+ ({ className, children, ...props }: TableCellProps): react.JSX.Element;
459
+ displayName: string;
460
+ };
461
+ declare const TableCard: {
462
+ Root: ({ children, className, size, ...props }: HTMLAttributes<HTMLDivElement> & {
463
+ size?: "sm" | "md";
464
+ }) => react.JSX.Element;
465
+ Header: ({ title, badge, description, contentTrailing, className }: TableCardHeaderProps) => react.JSX.Element;
466
+ };
467
+ declare const Table: typeof TableRoot & {
468
+ Body: typeof TableBody;
469
+ Cell: typeof TableCell;
470
+ Head: typeof TableHead;
471
+ Header: typeof TableHeader;
472
+ Row: typeof TableRow;
473
+ };
474
+
475
+ type Orientation = "horizontal" | "vertical";
476
+ type HorizontalTypes = "button-brand" | "button-gray" | "button-border" | "button-minimal" | "underline";
477
+ type VerticalTypes = "button-brand" | "button-gray" | "button-border" | "button-minimal" | "line";
478
+ type TabTypeColors<T> = T extends "horizontal" ? HorizontalTypes : VerticalTypes;
479
+ declare const sizes: {
480
+ sm: {
481
+ "button-brand": string;
482
+ "button-gray": string;
483
+ "button-border": string;
484
+ "button-minimal": string;
485
+ underline: string;
486
+ line: string;
487
+ };
488
+ md: {
489
+ "button-brand": string;
490
+ "button-gray": string;
491
+ "button-border": string;
492
+ "button-minimal": string;
493
+ underline: string;
494
+ line: string;
495
+ };
496
+ };
497
+ interface TabListComponentProps<T extends object, K extends Orientation> extends TabListProps<T> {
498
+ /** The size of the tab list. */
499
+ size?: keyof typeof sizes;
500
+ /** The type of the tab list. */
501
+ type?: TabTypeColors<K>;
502
+ /** The orientation of the tab list. */
503
+ orientation?: K;
504
+ /** The items of the tab list. */
505
+ items: T[];
506
+ /** Whether the tab list is full width. */
507
+ fullWidth?: boolean;
508
+ }
509
+ declare const TabList: <T extends Orientation>({ size, type, orientation: orientationProp, fullWidth, className, children, ...otherProps }: TabListComponentProps<TabComponentProps, T>) => react.JSX.Element;
510
+ declare const TabPanel: (props: ComponentPropsWithRef<typeof TabPanel$1>) => react.JSX.Element;
511
+ interface TabComponentProps extends TabProps {
512
+ /** The label of the tab. */
513
+ label?: ReactNode;
514
+ /** The children of the tab. */
515
+ children?: ReactNode | ((props: TabRenderProps) => ReactNode);
516
+ /** The badge displayed next to the label. */
517
+ badge?: number | string;
518
+ }
519
+ declare const Tab: (props: TabComponentProps) => react.JSX.Element;
520
+ declare const Tabs: {
521
+ ({ className, ...props }: ComponentPropsWithRef<typeof Tabs$1>): react.JSX.Element;
522
+ Panel: (props: ComponentPropsWithRef<typeof TabPanel$1>) => react.JSX.Element;
523
+ List: <T extends Orientation>({ size, type, orientation: orientationProp, fullWidth, className, children, ...otherProps }: TabListComponentProps<TabComponentProps, T>) => react.JSX.Element;
524
+ Item: (props: TabComponentProps) => react.JSX.Element;
525
+ };
526
+
527
+ type AvatarSize = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
528
+ interface AvatarProps {
529
+ size?: AvatarSize;
530
+ className?: string;
531
+ src?: string | null;
532
+ alt?: string;
533
+ /**
534
+ * Display a contrast border around the avatar.
535
+ */
536
+ contrastBorder?: boolean;
537
+ /**
538
+ * Display a badge (i.e. company logo).
539
+ */
540
+ badge?: ReactNode;
541
+ /**
542
+ * Display a status indicator.
543
+ */
544
+ status?: "online" | "offline";
545
+ /**
546
+ * Display a verified tick icon.
547
+ *
548
+ * @default false
549
+ */
550
+ verified?: boolean;
551
+ /**
552
+ * The initials of the user to display if no image is available.
553
+ */
554
+ initials?: string;
555
+ /**
556
+ * An icon to display if no image is available.
557
+ */
558
+ placeholderIcon?: FC<{
559
+ className?: string;
560
+ }>;
561
+ /**
562
+ * A placeholder to display if no image is available.
563
+ */
564
+ placeholder?: ReactNode;
565
+ /**
566
+ * Whether the avatar should show a focus ring when the parent group is in focus.
567
+ * For example, when the avatar is wrapped inside a link.
568
+ *
569
+ * @default false
570
+ */
571
+ focusable?: boolean;
572
+ }
573
+ declare const Avatar: ({ contrastBorder, size, src, alt, initials, placeholder, placeholderIcon: PlaceholderIcon, badge, status, verified, focusable, className, }: AvatarProps) => react.JSX.Element;
574
+
575
+ type IconComponentType = React.FunctionComponent<{
576
+ className?: string;
577
+ strokeWidth?: string | number;
578
+ }>;
579
+ type Sizes = "sm" | "md" | "lg";
580
+ type BadgeColors = "gray" | "brand" | "error" | "warning" | "success" | "gray-blue" | "blue-light" | "blue" | "indigo" | "purple" | "pink" | "orange";
581
+ type FlagTypes = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ-1" | "BQ-2" | "BQ" | "BR" | "BS" | "BT" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD-1" | "CD" | "CF" | "CH" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DS" | "DZ" | "earth" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB-2" | "GB" | "GD" | "GE" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GQ" | "GR" | "GT" | "GU" | "GW" | "GY" | "HK" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW";
582
+ type ExtractColorKeys<T> = T extends {
583
+ styles: infer C;
584
+ } ? keyof C : never;
585
+ type ExtractBadgeKeys<T> = keyof T;
586
+ type BadgeTypeToColorMap<T> = {
587
+ [K in ExtractBadgeKeys<T>]: ExtractColorKeys<T[K]>;
588
+ };
589
+ declare const badgeTypes: {
590
+ readonly pillColor: "pill-color";
591
+ readonly badgeColor: "color";
592
+ readonly badgeModern: "modern";
593
+ };
594
+ type BadgeTypes = (typeof badgeTypes)[keyof typeof badgeTypes];
595
+
596
+ declare const filledColors: Record<BadgeColors, {
597
+ root: string;
598
+ addon: string;
599
+ addonButton: string;
600
+ }>;
601
+ declare const withPillTypes: {
602
+ "pill-color": {
603
+ common: string;
604
+ styles: Record<BadgeColors, {
605
+ root: string;
606
+ addon: string;
607
+ addonButton: string;
608
+ }>;
609
+ };
610
+ color: {
611
+ common: string;
612
+ styles: Record<BadgeColors, {
613
+ root: string;
614
+ addon: string;
615
+ addonButton: string;
616
+ }>;
617
+ };
618
+ modern: {
619
+ common: string;
620
+ styles: {
621
+ gray: {
622
+ root: string;
623
+ addon: string;
624
+ addonButton: string;
625
+ };
626
+ };
627
+ };
628
+ };
629
+ declare const withBadgeTypes: {
630
+ "pill-color": {
631
+ common: string;
632
+ styles: Record<BadgeColors, {
633
+ root: string;
634
+ addon: string;
635
+ addonButton: string;
636
+ }>;
637
+ };
638
+ color: {
639
+ common: string;
640
+ styles: Record<BadgeColors, {
641
+ root: string;
642
+ addon: string;
643
+ addonButton: string;
644
+ }>;
645
+ };
646
+ modern: {
647
+ common: string;
648
+ styles: Record<BadgeColors, {
649
+ root: string;
650
+ addon: string;
651
+ }>;
652
+ };
653
+ };
654
+ type BadgeColor<T extends BadgeTypes> = BadgeTypeToColorMap<typeof withPillTypes>[T];
655
+ interface BadgeProps<T extends BadgeTypes> {
656
+ type?: T;
657
+ size?: Sizes;
658
+ color?: BadgeColor<T>;
659
+ children: ReactNode;
660
+ className?: string;
661
+ }
662
+ declare const Badge: <T extends BadgeTypes>(props: BadgeProps<T>) => react.JSX.Element;
663
+ interface BadgeWithDotProps<T extends BadgeTypes> {
664
+ type?: T;
665
+ size?: Sizes;
666
+ color?: BadgeTypeToColorMap<typeof withBadgeTypes>[T];
667
+ className?: string;
668
+ children: ReactNode;
669
+ }
670
+ declare const BadgeWithDot: <T extends BadgeTypes>(props: BadgeWithDotProps<T>) => react.JSX.Element;
671
+ interface BadgeWithIconProps<T extends BadgeTypes> {
672
+ type?: T;
673
+ size?: Sizes;
674
+ color?: BadgeTypeToColorMap<typeof withBadgeTypes>[T];
675
+ iconLeading?: IconComponentType;
676
+ iconTrailing?: IconComponentType;
677
+ children: ReactNode;
678
+ className?: string;
679
+ }
680
+ declare const BadgeWithIcon: <T extends BadgeTypes>(props: BadgeWithIconProps<T>) => react.JSX.Element;
681
+ interface BadgeWithFlagProps<T extends BadgeTypes> {
682
+ type?: T;
683
+ size?: Sizes;
684
+ flag?: FlagTypes;
685
+ color?: BadgeTypeToColorMap<typeof withPillTypes>[T];
686
+ children: ReactNode;
687
+ }
688
+ declare const BadgeWithFlag: <T extends BadgeTypes>(props: BadgeWithFlagProps<T>) => react.JSX.Element;
689
+ interface BadgeWithImageProps<T extends BadgeTypes> {
690
+ type?: T;
691
+ size?: Sizes;
692
+ imgSrc: string;
693
+ color?: BadgeTypeToColorMap<typeof withPillTypes>[T];
694
+ children: ReactNode;
695
+ }
696
+ declare const BadgeWithImage: <T extends BadgeTypes>(props: BadgeWithImageProps<T>) => react.JSX.Element;
697
+ interface BadgeWithButtonProps<T extends BadgeTypes> {
698
+ type?: T;
699
+ size?: Sizes;
700
+ icon?: IconComponentType;
701
+ color?: BadgeTypeToColorMap<typeof withPillTypes>[T];
702
+ children: ReactNode;
703
+ /**
704
+ * The label for the button.
705
+ */
706
+ buttonLabel?: string;
707
+ /**
708
+ * The click event handler for the button.
709
+ */
710
+ onButtonClick?: MouseEventHandler<HTMLButtonElement>;
711
+ }
712
+ declare const BadgeWithButton: <T extends BadgeTypes>(props: BadgeWithButtonProps<T>) => react.JSX.Element;
713
+ interface BadgeIconProps<T extends BadgeTypes> {
714
+ type?: T;
715
+ size?: Sizes;
716
+ icon: IconComponentType;
717
+ color?: BadgeTypeToColorMap<typeof withPillTypes>[T];
718
+ children?: ReactNode;
719
+ }
720
+ declare const BadgeIcon: <T extends BadgeTypes>(props: BadgeIconProps<T>) => react.JSX.Element;
721
+
722
+ type Size = "md" | "lg";
723
+ type Color = "brand" | "warning" | "error" | "gray" | "success";
724
+ type Theme = "light" | "modern";
725
+ type Align = "leading" | "trailing";
726
+ interface BadgeGroupProps {
727
+ children?: string | ReactNode;
728
+ addonText: string;
729
+ size?: Size;
730
+ color: Color;
731
+ theme?: Theme;
732
+ /**
733
+ * Alignment of the badge addon element.
734
+ */
735
+ align?: Align;
736
+ iconTrailing?: FC<{
737
+ className?: string;
738
+ }> | ReactNode;
739
+ className?: string;
740
+ }
741
+ declare const BadgeGroup: ({ children, addonText, size, color, theme, align, className, iconTrailing: IconTrailing, }: BadgeGroupProps) => react.JSX.Element;
742
+
743
+ declare const styles$2: {
744
+ common: {
745
+ root: string;
746
+ icon: string;
747
+ };
748
+ sizes: {
749
+ sm: {
750
+ root: string;
751
+ icon: string;
752
+ };
753
+ md: {
754
+ root: string;
755
+ icon: string;
756
+ };
757
+ lg: {
758
+ root: string;
759
+ icon: string;
760
+ };
761
+ };
762
+ };
763
+ type ButtonSize = keyof typeof styles$2.sizes;
764
+ interface ButtonGroupProps extends Omit<ToggleButtonGroupProps, "orientation">, RefAttributes<HTMLDivElement> {
765
+ size?: ButtonSize;
766
+ className?: string;
767
+ }
768
+ declare const ButtonGroup: ({ children, size, className, ...otherProps }: ButtonGroupProps) => react.JSX.Element;
769
+
770
+ declare const styles$1: {
771
+ common: {
772
+ root: string;
773
+ icon: string;
774
+ };
775
+ sizes: {
776
+ sm: {
777
+ root: string;
778
+ linkRoot: string;
779
+ };
780
+ md: {
781
+ root: string;
782
+ linkRoot: string;
783
+ };
784
+ lg: {
785
+ root: string;
786
+ linkRoot: string;
787
+ };
788
+ xl: {
789
+ root: string;
790
+ linkRoot: string;
791
+ };
792
+ };
793
+ colors: {
794
+ primary: {
795
+ root: string;
796
+ };
797
+ secondary: {
798
+ root: string;
799
+ };
800
+ tertiary: {
801
+ root: string;
802
+ };
803
+ "link-gray": {
804
+ root: string;
805
+ };
806
+ "link-color": {
807
+ root: string;
808
+ };
809
+ "primary-destructive": {
810
+ root: string;
811
+ };
812
+ "secondary-destructive": {
813
+ root: string;
814
+ };
815
+ "tertiary-destructive": {
816
+ root: string;
817
+ };
818
+ "link-destructive": {
819
+ root: string;
820
+ };
821
+ };
822
+ };
823
+ /**
824
+ * Common props shared between button and anchor variants
825
+ */
826
+ interface CommonProps$1 {
827
+ /** Disables the button and shows a disabled state */
828
+ isDisabled?: boolean;
829
+ /** Shows a loading spinner and disables the button */
830
+ isLoading?: boolean;
831
+ /** The size variant of the button */
832
+ size?: keyof typeof styles$1.sizes;
833
+ /** The color variant of the button */
834
+ color?: keyof typeof styles$1.colors;
835
+ /** Icon component or element to show before the text */
836
+ iconLeading?: FC<{
837
+ className?: string;
838
+ }> | ReactNode;
839
+ /** Icon component or element to show after the text */
840
+ iconTrailing?: FC<{
841
+ className?: string;
842
+ }> | ReactNode;
843
+ /** Removes horizontal padding from the text content */
844
+ noTextPadding?: boolean;
845
+ /** When true, keeps the text visible during loading state */
846
+ showTextWhileLoading?: boolean;
847
+ }
848
+ /**
849
+ * Props for the button variant (non-link)
850
+ */
851
+ interface ButtonProps extends CommonProps$1, DetailedHTMLProps<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color" | "slot">, HTMLButtonElement> {
852
+ /** Slot name for react-aria component */
853
+ slot?: ButtonProps$1["slot"];
854
+ }
855
+ /**
856
+ * Props for the link variant (anchor tag)
857
+ */
858
+ interface LinkProps extends CommonProps$1, DetailedHTMLProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "color">, HTMLAnchorElement> {
859
+ }
860
+ /** Union type of button and link props */
861
+ type Props = ButtonProps | LinkProps;
862
+ declare const Button: ({ size, color, children, className, noTextPadding, iconLeading: IconLeading, iconTrailing: IconTrailing, isDisabled: disabled, isLoading: loading, showTextWhileLoading, ...otherProps }: Props) => react__default.JSX.Element;
863
+
864
+ interface CheckboxProps extends CheckboxProps$1 {
865
+ ref?: Ref<HTMLLabelElement>;
866
+ size?: "sm" | "md";
867
+ label?: ReactNode;
868
+ hint?: ReactNode;
869
+ }
870
+ declare const Checkbox: {
871
+ ({ label, hint, size, className, ...ariaCheckboxProps }: CheckboxProps): react.JSX.Element;
872
+ displayName: string;
873
+ };
874
+
875
+ interface DropdownItemProps extends MenuItemProps {
876
+ /** The label of the item to be displayed. */
877
+ label?: string;
878
+ /** An addon to be displayed on the right side of the item. */
879
+ addon?: string;
880
+ /** If true, the item will not have any styles. */
881
+ unstyled?: boolean;
882
+ /** An icon to be displayed on the left side of the item. */
883
+ icon?: FC<{
884
+ className?: string;
885
+ }>;
886
+ }
887
+ interface DropdownMenuProps<T extends object> extends MenuProps<T> {
888
+ }
889
+ interface DropdownPopoverProps extends PopoverProps {
890
+ }
891
+ declare const Dropdown: {
892
+ Root: typeof MenuTrigger;
893
+ Popover: (props: DropdownPopoverProps) => react.JSX.Element;
894
+ Menu: <T extends object>(props: DropdownMenuProps<T>) => react.JSX.Element;
895
+ Section: <T extends object>(props: react_aria_components.MenuSectionProps<T> & React.RefAttributes<HTMLElement>) => react.ReactElement | null;
896
+ SectionHeader: (props: React.HTMLAttributes<HTMLElement> & React.RefAttributes<object>) => React.ReactElement | null;
897
+ Item: ({ label, children, addon, icon: Icon, unstyled, ...props }: DropdownItemProps) => react.JSX.Element;
898
+ Separator: (props: SeparatorProps) => react.JSX.Element;
899
+ DotsButton: (props: ButtonProps$1 & RefAttributes<HTMLButtonElement>) => react.JSX.Element;
900
+ };
901
+
902
+ declare const Form: {
903
+ (props: ComponentPropsWithRef<typeof Form$1>): react.JSX.Element;
904
+ displayName: string;
905
+ };
906
+
907
+ type PinInputContextType = {
908
+ size: "sm" | "md" | "lg";
909
+ disabled: boolean;
910
+ id: string;
911
+ };
912
+ declare const usePinInputContext: () => PinInputContextType;
913
+ interface RootProps extends ComponentPropsWithRef<"div"> {
914
+ size?: "sm" | "md" | "lg";
915
+ disabled?: boolean;
916
+ }
917
+ declare const Root: {
918
+ ({ className, size, disabled, ...props }: RootProps): react.JSX.Element;
919
+ displayName: string;
920
+ };
921
+ type GroupProps = ComponentPropsWithRef<typeof OTPInput> & {
922
+ width?: number;
923
+ inputClassName?: string;
924
+ };
925
+ declare const Group: {
926
+ ({ inputClassName, containerClassName, width, maxLength, ...props }: GroupProps): react.JSX.Element;
927
+ displayName: string;
928
+ };
929
+ declare const Slot: {
930
+ ({ index, className, ...props }: ComponentPropsWithRef<"div"> & {
931
+ index: number;
932
+ }): react.JSX.Element;
933
+ displayName: string;
934
+ };
935
+ declare const Separator: {
936
+ (props: ComponentPropsWithRef<"p">): react.JSX.Element;
937
+ displayName: string;
938
+ };
939
+ declare const Label$1: {
940
+ ({ className, ...props }: ComponentPropsWithRef<"label">): react.JSX.Element;
941
+ displayName: string;
942
+ };
943
+ declare const Description: {
944
+ ({ className, ...props }: ComponentPropsWithRef<"p">): react.JSX.Element;
945
+ displayName: string;
946
+ };
947
+ declare const PinInput: typeof Root & {
948
+ Slot: typeof Slot;
949
+ Label: typeof Label$1;
950
+ Group: typeof Group;
951
+ Separator: typeof Separator;
952
+ Description: typeof Description;
953
+ };
954
+
955
+ interface ProgressBarProps {
956
+ /**
957
+ * The current value of the progress bar.
958
+ */
959
+ value: number;
960
+ /**
961
+ * The minimum value of the progress bar.
962
+ * @default 0
963
+ */
964
+ min?: number;
965
+ /**
966
+ * The maximum value of the progress bar.
967
+ * @default 100
968
+ */
969
+ max?: number;
970
+ /**
971
+ * Optional additional CSS class names for the progress bar container.
972
+ */
973
+ className?: string;
974
+ /**
975
+ * Optional additional CSS class names for the progress bar indicator element.
976
+ */
977
+ progressClassName?: string;
978
+ /**
979
+ * Optional function to format the displayed value.
980
+ * It receives the raw value and the calculated percentage.
981
+ */
982
+ valueFormatter?: (value: number, valueInPercentage: number) => string | number;
983
+ }
984
+ /**
985
+ * A basic progress bar component.
986
+ */
987
+ declare const ProgressBarBase: ({ value, min, max, className, progressClassName }: ProgressBarProps) => react.JSX.Element;
988
+ type ProgressBarLabelPosition = "right" | "bottom" | "top-floating" | "bottom-floating";
989
+ interface ProgressIndicatorWithTextProps extends ProgressBarProps {
990
+ /**
991
+ * Specifies the layout of the text relative to the progress bar.
992
+ * - `right`: Text is displayed to the right of the progress bar.
993
+ * - `bottom`: Text is displayed below the progress bar, aligned to the right.
994
+ * - `top-floating`: Text is displayed in a floating tooltip above the progress indicator.
995
+ * - `bottom-floating`: Text is displayed in a floating tooltip below the progress indicator.
996
+ */
997
+ labelPosition?: ProgressBarLabelPosition;
998
+ }
999
+ /**
1000
+ * A progress bar component that displays the value text in various configurable layouts.
1001
+ */
1002
+ declare const ProgressBar: ({ value, min, max, valueFormatter, labelPosition, className, progressClassName }: ProgressIndicatorWithTextProps) => react.JSX.Element;
1003
+
1004
+ interface RadioGroupContextType {
1005
+ size?: "sm" | "md";
1006
+ }
1007
+ interface RadioButtonBaseProps {
1008
+ size?: "sm" | "md";
1009
+ className?: string;
1010
+ isFocusVisible?: boolean;
1011
+ isSelected?: boolean;
1012
+ isDisabled?: boolean;
1013
+ }
1014
+ declare const RadioButtonBase: {
1015
+ ({ className, isFocusVisible, isSelected, isDisabled, size }: RadioButtonBaseProps): react.JSX.Element;
1016
+ displayName: string;
1017
+ };
1018
+ interface RadioButtonProps extends RadioProps {
1019
+ size?: "sm" | "md";
1020
+ label?: ReactNode;
1021
+ hint?: ReactNode;
1022
+ ref?: Ref<HTMLLabelElement>;
1023
+ }
1024
+ declare const RadioButton: {
1025
+ ({ label, hint, className, size, ...ariaRadioProps }: RadioButtonProps): react.JSX.Element;
1026
+ displayName: string;
1027
+ };
1028
+ interface RadioGroupProps extends RadioGroupContextType, RadioGroupProps$1 {
1029
+ children: ReactNode;
1030
+ className?: string;
1031
+ }
1032
+ declare const RadioGroup: ({ children, className, size, ...props }: RadioGroupProps) => react.JSX.Element;
1033
+
1034
+ interface ComboBoxProps extends Omit<ComboBoxProps$1<SelectItemType>, "children" | "items">, RefAttributes<HTMLDivElement>, CommonProps {
1035
+ shortcut?: boolean;
1036
+ items?: SelectItemType[];
1037
+ popoverClassName?: string;
1038
+ shortcutClassName?: string;
1039
+ children: ListBoxProps<SelectItemType>["children"];
1040
+ }
1041
+ declare const ComboBox: ({ placeholder, shortcut, size, children, items, shortcutClassName, ...otherProps }: ComboBoxProps) => react.JSX.Element;
1042
+
1043
+ interface SelectItemProps extends Omit<ListBoxItemProps<SelectItemType>, "id">, SelectItemType {
1044
+ }
1045
+ declare const SelectItem: ({ label, id, value, avatarUrl, supportingText, isDisabled, icon: Icon, className, children, ...props }: SelectItemProps) => react.JSX.Element;
1046
+
1047
+ type SelectItemType = {
1048
+ id: string;
1049
+ label?: string;
1050
+ avatarUrl?: string;
1051
+ isDisabled?: boolean;
1052
+ supportingText?: string;
1053
+ icon?: FC | ReactNode;
1054
+ };
1055
+ interface CommonProps {
1056
+ hint?: string;
1057
+ label?: string;
1058
+ tooltip?: string;
1059
+ size?: "sm" | "md";
1060
+ placeholder?: string;
1061
+ }
1062
+ interface SelectProps extends Omit<SelectProps$1<SelectItemType>, "children" | "items">, RefAttributes<HTMLDivElement>, CommonProps {
1063
+ items?: SelectItemType[];
1064
+ popoverClassName?: string;
1065
+ placeholderIcon?: FC | ReactNode;
1066
+ children: ReactNode | ((item: SelectItemType) => ReactNode);
1067
+ }
1068
+ declare const Select: ({ placeholder, placeholderIcon, size, children, items, label, hint, tooltip, className, ...rest }: SelectProps) => react.JSX.Element;
1069
+ declare const _Select: typeof Select & {
1070
+ ComboBox: typeof ComboBox;
1071
+ Item: typeof SelectItem;
1072
+ };
1073
+
1074
+ interface MultiSelectProps extends Omit<ComboBoxProps$1<SelectItemType>, "children" | "items">, RefAttributes<HTMLDivElement> {
1075
+ hint?: string;
1076
+ label?: string;
1077
+ tooltip?: string;
1078
+ size?: "sm" | "md";
1079
+ placeholder?: string;
1080
+ shortcut?: boolean;
1081
+ items?: SelectItemType[];
1082
+ popoverClassName?: string;
1083
+ shortcutClassName?: string;
1084
+ selectedItems: ListData<SelectItemType>;
1085
+ placeholderIcon?: IconComponentType | null;
1086
+ children: ListBoxProps<SelectItemType>["children"];
1087
+ onItemCleared?: (key: Key) => void;
1088
+ onItemInserted?: (key: Key) => void;
1089
+ }
1090
+ declare const MultiSelectBase: ({ items, children, size, selectedItems, onItemCleared, onItemInserted, shortcut, placeholder, name: _name, className: _className, ...props }: MultiSelectProps) => react.JSX.Element;
1091
+ declare const MultiSelect: typeof MultiSelectBase & {
1092
+ Item: typeof SelectItem;
1093
+ };
1094
+
1095
+ declare const styles: {
1096
+ default: string;
1097
+ bottom: string;
1098
+ "top-floating": string;
1099
+ };
1100
+ interface SliderProps extends SliderProps$1 {
1101
+ labelPosition?: keyof typeof styles;
1102
+ labelFormatter?: (value: number) => string;
1103
+ }
1104
+ declare const Slider: ({ labelPosition, minValue, maxValue, labelFormatter, formatOptions, ...rest }: SliderProps) => react.JSX.Element;
1105
+
1106
+ interface TagItem {
1107
+ id: string;
1108
+ label: string;
1109
+ count?: number;
1110
+ avatarSrc?: string;
1111
+ avatarContrastBorder?: boolean;
1112
+ dot?: boolean;
1113
+ dotClassName?: string;
1114
+ isDisabled?: boolean;
1115
+ onClose?: (id: string) => void;
1116
+ }
1117
+ interface TagGroupProps extends TagGroupProps$1, RefAttributes<HTMLDivElement> {
1118
+ label: string;
1119
+ size?: "sm" | "md" | "lg";
1120
+ }
1121
+ declare const TagGroup: ({ label, selectionMode, size, children, ...otherProps }: TagGroupProps) => react.JSX.Element;
1122
+ declare const TagList: <T extends object>(props: react_aria_components.TagListProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
1123
+ interface TagProps extends TagProps$1, RefAttributes<object>, Omit<TagItem, "label" | "id"> {
1124
+ }
1125
+ declare const Tag: ({ id, avatarSrc, avatarContrastBorder, dot, dotClassName, isDisabled, count, className, children, onClose, }: PropsWithChildren<TagProps>) => react.JSX.Element;
1126
+
1127
+ interface TextAreaBaseProps extends TextAreaProps {
1128
+ ref?: Ref<HTMLTextAreaElement>;
1129
+ }
1130
+ declare const TextAreaBase: {
1131
+ ({ className, ...props }: TextAreaBaseProps): react__default.JSX.Element;
1132
+ displayName: string;
1133
+ };
1134
+ interface TextFieldProps$1 extends TextFieldProps$2 {
1135
+ /** Label text for the textarea */
1136
+ label?: string;
1137
+ /** Helper text displayed below the textarea */
1138
+ hint?: ReactNode;
1139
+ /** Tooltip message displayed after the label. */
1140
+ tooltip?: string;
1141
+ /** Class name for the textarea wrapper */
1142
+ textAreaClassName?: TextAreaBaseProps["className"];
1143
+ /** Ref for the textarea wrapper */
1144
+ ref?: Ref<HTMLDivElement>;
1145
+ /** Ref for the textarea */
1146
+ textAreaRef?: TextAreaBaseProps["ref"];
1147
+ /** Whether to hide required indicator from label. */
1148
+ hideRequiredIndicator?: boolean;
1149
+ /** Placeholder text. */
1150
+ placeholder?: string;
1151
+ /** Visible height of textarea in rows . */
1152
+ rows?: number;
1153
+ /** Visible width of textarea in columns. */
1154
+ cols?: number;
1155
+ }
1156
+ declare const TextArea: {
1157
+ ({ label, hint, tooltip, textAreaRef, hideRequiredIndicator, textAreaClassName, placeholder, className, rows, cols, ...props }: TextFieldProps$1): react__default.JSX.Element;
1158
+ displayName: string;
1159
+ };
1160
+
1161
+ interface ToggleBaseProps {
1162
+ size?: "sm" | "md";
1163
+ slim?: boolean;
1164
+ className?: string;
1165
+ isHovered?: boolean;
1166
+ isFocusVisible?: boolean;
1167
+ isSelected?: boolean;
1168
+ isDisabled?: boolean;
1169
+ }
1170
+ declare const ToggleBase: ({ className, isHovered, isDisabled, isFocusVisible, isSelected, slim, size }: ToggleBaseProps) => react.JSX.Element;
1171
+ interface ToggleProps extends SwitchProps {
1172
+ size?: "sm" | "md";
1173
+ label?: string;
1174
+ hint?: ReactNode;
1175
+ slim?: boolean;
1176
+ }
1177
+ declare const Toggle: ({ label, hint, className, size, slim, ...ariaSwitchProps }: ToggleProps) => react.JSX.Element;
1178
+
1179
+ interface TooltipProps extends TooltipTriggerComponentProps, Omit<TooltipProps$1, "children"> {
1180
+ /**
1181
+ * The title of the tooltip.
1182
+ */
1183
+ title: ReactNode;
1184
+ /**
1185
+ * The description of the tooltip.
1186
+ */
1187
+ description?: ReactNode;
1188
+ /**
1189
+ * Whether to show the arrow on the tooltip.
1190
+ *
1191
+ * @default false
1192
+ */
1193
+ arrow?: boolean;
1194
+ /**
1195
+ * Delay in milliseconds before the tooltip is shown.
1196
+ *
1197
+ * @default 300
1198
+ */
1199
+ delay?: number;
1200
+ }
1201
+ declare const Tooltip: ({ title, description, children, arrow, delay, closeDelay, trigger, isDisabled, isOpen, defaultOpen, offset, crossOffset, placement, onOpenChange, ...tooltipProps }: TooltipProps) => react.JSX.Element;
1202
+ interface TooltipTriggerProps extends ButtonProps$1 {
1203
+ }
1204
+ declare const TooltipTrigger: ({ children, className, ...buttonProps }: TooltipTriggerProps) => react.JSX.Element;
1205
+
1206
+ declare const getStarProgress: (starPosition: number, rating: number, maxRating?: number) => number;
1207
+ interface StarIconProps extends SVGProps<SVGSVGElement> {
1208
+ /**
1209
+ * The progress of the star icon. It should be a number between 0 and 100.
1210
+ *
1211
+ * @default 100
1212
+ */
1213
+ progress?: number;
1214
+ }
1215
+ declare const StarIcon: ({ progress, ...props }: StarIconProps) => react.JSX.Element;
1216
+ interface RatingStarsProps extends HTMLAttributes<HTMLDivElement> {
1217
+ /**
1218
+ * The rating to display.
1219
+ *
1220
+ * @default 5
1221
+ */
1222
+ rating?: number;
1223
+ /**
1224
+ * The number of stars to display.
1225
+ */
1226
+ stars?: number;
1227
+ /**
1228
+ * The class name of the star icon.
1229
+ */
1230
+ starClassName?: string;
1231
+ }
1232
+ declare const RatingStars: ({ rating, stars, starClassName, ...props }: RatingStarsProps) => react.JSX.Element;
1233
+
1234
+ declare const Wreath: (props: HTMLAttributes<HTMLOrSVGElement>) => react.JSX.Element;
1235
+ interface RatingBadgeProps extends HTMLAttributes<HTMLDivElement> {
1236
+ title?: string;
1237
+ subtitle?: string;
1238
+ rating?: number;
1239
+ theme?: "light" | "dark";
1240
+ }
1241
+ declare const RatingBadge: ({ title, subtitle, rating, theme, className, ...props }: RatingBadgeProps) => react.JSX.Element;
1242
+
1243
+ declare function useActiveItem(itemIds: string[]): string;
1244
+
1245
+ /**
1246
+ * Checks whether a particular Tailwind CSS viewport size applies.
1247
+ *
1248
+ * @param size The size to check, which must either be included in Tailwind CSS's
1249
+ * list of default screen sizes, or added to the Tailwind CSS config file.
1250
+ *
1251
+ * @returns A boolean indicating whether the viewport size applies.
1252
+ */
1253
+ declare const useBreakpoint: (size: "sm" | "md" | "lg" | "xl" | "2xl") => boolean;
1254
+
1255
+ type UseClipboardReturnType = {
1256
+ /**
1257
+ * The state indicating whether the text has been copied.
1258
+ * If a string is provided, it will be used as the identifier for the copied state.
1259
+ */
1260
+ copied: string | boolean;
1261
+ /**
1262
+ * Function to copy text to the clipboard using the modern clipboard API.
1263
+ * Falls back to the fallback function if the modern API fails.
1264
+ *
1265
+ * @param {string} text - The text to be copied.
1266
+ * @param {string} [id] - Optional identifier to set the copied state.
1267
+ * @returns {Promise<Object>} - A promise that resolves to an object containing:
1268
+ * - `success` (boolean): Whether the copy operation was successful.
1269
+ * - `error` (Error | undefined): The error object if the copy operation failed.
1270
+ */
1271
+ copy: (text: string, id?: string) => Promise<{
1272
+ success: boolean;
1273
+ error?: Error;
1274
+ }>;
1275
+ };
1276
+ /**
1277
+ * Custom hook to copy text to the clipboard.
1278
+ *
1279
+ * @returns {UseClipboardReturnType} - An object containing the copied state and the copy function.
1280
+ */
1281
+ declare const useClipboard: () => UseClipboardReturnType;
1282
+
1283
+ /**
1284
+ * The options for the useResizeObserver hook.
1285
+ */
1286
+ type useResizeObserverOptionsType<T> = {
1287
+ /**
1288
+ * The ref to the element to observe.
1289
+ */
1290
+ ref: RefObject<T | undefined | null> | undefined;
1291
+ /**
1292
+ * The box to observe.
1293
+ */
1294
+ box?: ResizeObserverBoxOptions;
1295
+ /**
1296
+ * The callback function to call when the size changes.
1297
+ */
1298
+ onResize: () => void;
1299
+ };
1300
+ /**
1301
+ * A hook that observes the size of an element and calls a callback function when the size changes.
1302
+ * @param options - The options for the hook.
1303
+ */
1304
+ declare function useResizeObserver<T extends Element>(options: useResizeObserverOptionsType<T>): void;
1305
+
1306
+ /**
1307
+ * This function is a wrapper around the twMerge function.
1308
+ * It is used to merge the classes inside style objects.
1309
+ */
1310
+ declare const cx: (...classLists: tailwind_merge.ClassNameValue[]) => string;
1311
+ /**
1312
+ * This function does nothing besides helping us to be able to
1313
+ * sort the classes inside style objects which is not supported
1314
+ * by the Tailwind IntelliSense by default.
1315
+ */
1316
+ declare function sortCx<T extends Record<string, string | number | Record<string, string | number | Record<string, string | number>>>>(classes: T): T;
1317
+
1318
+ type ReactComponent = react__default.FC<any> | react__default.ComponentClass<any, any>;
1319
+ /**
1320
+ * Checks if a given value is a function component.
1321
+ */
1322
+ declare const isFunctionComponent: (component: any) => component is react__default.FC<any>;
1323
+ /**
1324
+ * Checks if a given value is a class component.
1325
+ */
1326
+ declare const isClassComponent: (component: any) => component is react__default.ComponentClass<any, any>;
1327
+ /**
1328
+ * Checks if a given value is a forward ref component.
1329
+ */
1330
+ declare const isForwardRefComponent: (component: any) => component is react__default.ForwardRefExoticComponent<any>;
1331
+ /**
1332
+ * Checks if a given value is a valid React component.
1333
+ */
1334
+ declare const isReactComponent: (component: any) => component is ReactComponent;
1335
+
1336
+ interface InputBaseProps extends TextFieldProps {
1337
+ /** Tooltip message on hover. */
1338
+ tooltip?: string;
1339
+ /**
1340
+ * Input size.
1341
+ * @default "sm"
1342
+ */
1343
+ size?: "sm" | "md";
1344
+ /** Placeholder text. */
1345
+ placeholder?: string;
1346
+ /** Class name for the icon. */
1347
+ iconClassName?: string;
1348
+ /** Class name for the input. */
1349
+ inputClassName?: string;
1350
+ /** Class name for the input wrapper. */
1351
+ wrapperClassName?: string;
1352
+ /** Class name for the tooltip. */
1353
+ tooltipClassName?: string;
1354
+ /** Keyboard shortcut to display. */
1355
+ shortcut?: string | boolean;
1356
+ ref?: Ref<HTMLInputElement>;
1357
+ groupRef?: Ref<HTMLDivElement>;
1358
+ /** Icon component to display on the left side of the input. */
1359
+ icon?: ComponentType<HTMLAttributes<HTMLOrSVGElement>>;
1360
+ }
1361
+ interface BaseProps {
1362
+ /** Label text for the input */
1363
+ label?: string;
1364
+ /** Helper text displayed below the input */
1365
+ hint?: ReactNode;
1366
+ }
1367
+ interface TextFieldProps extends BaseProps, TextFieldProps$2, Pick<InputBaseProps, "size" | "wrapperClassName" | "inputClassName" | "iconClassName" | "tooltipClassName"> {
1368
+ ref?: Ref<HTMLDivElement>;
1369
+ }
1370
+ interface InputProps extends InputBaseProps, BaseProps {
1371
+ /** Whether to hide required indicator from label */
1372
+ hideRequiredIndicator?: boolean;
1373
+ }
1374
+ declare const Input: {
1375
+ ({ size, placeholder, icon: Icon, label, hint, shortcut, hideRequiredIndicator, className, ref, groupRef, tooltip, iconClassName, inputClassName, wrapperClassName, tooltipClassName, ...props }: InputProps): react.JSX.Element;
1376
+ displayName: string;
1377
+ };
1378
+
1379
+ interface InputPrefixProps extends HTMLAttributes<HTMLDivElement> {
1380
+ /** The position of the prefix. */
1381
+ position?: "leading" | "trailing";
1382
+ /** The size of the prefix. */
1383
+ size?: "sm" | "md";
1384
+ /** Indicates that the prefix is disabled. */
1385
+ isDisabled?: boolean;
1386
+ }
1387
+ interface InputGroupProps extends Omit<InputBaseProps, "type" | "icon" | "placeholder" | "tooltip" | "shortcut" | `${string}ClassName`> {
1388
+ /** A prefix text that is displayed in the same box as the input.*/
1389
+ prefix?: string;
1390
+ /** A leading addon that is displayed with visual separation from the input. */
1391
+ leadingAddon?: ReactNode;
1392
+ /** A trailing addon that is displayed with visual separation from the input. */
1393
+ trailingAddon?: ReactNode;
1394
+ /** The class name to apply to the input group. */
1395
+ className?: string;
1396
+ /** The children of the input group (i.e `<InputBase />`) */
1397
+ children: ReactNode;
1398
+ }
1399
+ declare const InputGroup: {
1400
+ ({ size, prefix, leadingAddon, trailingAddon, label, hint, children, ...props }: InputGroupProps): react.JSX.Element;
1401
+ Prefix: ({ isDisabled, children, ...props }: InputPrefixProps) => react.JSX.Element;
1402
+ displayName: string;
1403
+ };
1404
+
1405
+ interface LabelProps extends LabelProps$1 {
1406
+ children: ReactNode;
1407
+ isRequired?: boolean;
1408
+ tooltip?: string;
1409
+ tooltipDescription?: string;
1410
+ ref?: Ref<HTMLLabelElement>;
1411
+ }
1412
+ declare const Label: {
1413
+ ({ isRequired, tooltip, tooltipDescription, className, ...props }: LabelProps): react.JSX.Element;
1414
+ displayName: string;
1415
+ };
1416
+
1417
+ export { Avatar, type AvatarProps, Badge, type BadgeColor, BadgeGroup, BadgeIcon, BadgeWithButton, BadgeWithDot, BadgeWithFlag, BadgeWithIcon, BadgeWithImage, Button, ButtonGroup, type ButtonProps, Carousel, CarouselContext, Checkbox, ComboBox, type CommonProps$1 as CommonProps, Dialog, Dropdown, EmptyState, FeaturedIcon$1 as FeaturedIcon, FileListItemProgressBar, FileListItemProgressFill, type FileListItemProps, FileUpload, FileUploadDropZone, Form, HeaderNavigationBase, Input, InputGroup, Label, LoadingIndicator, Modal, Dialog$1 as ModalDialog, ModalOverlay, MultiSelect, PaginationButtonGroup, PaginationCardDefault, PaginationCardMinimal, PaginationDot, PaginationLine, PaginationPageDefault, PaginationPageMinimalCenter, PinInput, ProgressBar, ProgressBarBase, type ProgressBarProps, type ProgressIndicatorWithTextProps, type Props, RadioButton, RadioButtonBase, type RadioButtonBaseProps, RadioGroup, type RadioGroupContextType, RatingBadge, RatingStars, _Select as Select, SlideoutMenu, Slider, StarIcon, Tab, TabList, TabPanel, Table, TableCard, TableRowActionsDropdown, Tabs, Tag, TagGroup, type TagItem, TagList, TextArea, TextAreaBase, Toggle, ToggleBase, Tooltip, TooltipTrigger, Wreath, cx, filledColors, getReadableFileSize, getStarProgress, isClassComponent, isForwardRefComponent, isFunctionComponent, isReactComponent, sortCx, styles$1 as styles, useActiveItem, useBreakpoint, useCarousel, useClipboard, usePinInputContext, useResizeObserver };