@lolmath/ui 6.3.0 → 7.0.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/es/index.css +415 -419
- package/dist/es/index.d.ts +55 -246
- package/dist/es/index.js +837 -798
- package/dist/es/index.js.map +1 -1
- package/dist/font/beaufort/beaufort.css +20 -10
- package/dist/font/spiegel/spiegel.css +10 -5
- package/dist/lib/{index.js → index.cjs} +934 -898
- package/dist/lib/index.cjs.map +1 -0
- package/dist/lib/index.css +415 -419
- package/dist/lib/{index.d.ts → index.d.cts} +55 -246
- package/dist/tailwind.css +95 -0
- package/package.json +22 -33
- package/readme.md +17 -32
- package/dist/es/plugin.d.ts +0 -8
- package/dist/es/plugin.js +0 -150
- package/dist/es/plugin.js.map +0 -1
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/plugin.d.ts +0 -8
- package/dist/lib/plugin.js +0 -185
- package/dist/lib/plugin.js.map +0 -1
package/dist/es/index.d.ts
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import * as react_aria_components from 'react-aria-components';
|
|
2
|
-
import { ButtonProps as ButtonProps$1, DisclosureProps, DisclosurePanelProps,
|
|
3
|
-
export { Autocomplete, Collection, Dialog, DialogTrigger, Key, MenuItemProps, MenuProps, RouterProvider, Select, SelectValue, Selection, Popover as UnstyledPopover, useFilter } from 'react-aria-components';
|
|
2
|
+
import { BreadcrumbsProps, BreadcrumbProps, ButtonProps as ButtonProps$1, LinkProps, CheckboxProps, DisclosureProps, DisclosurePanelProps, MenuTrigger as MenuTrigger$1, MenuProps, MenuItemProps, PopoverProps, MenuSectionProps, Header, SeparatorProps, VirtualizerProps, HeadingProps as HeadingProps$1, ModalOverlayProps, DialogProps, NumberFieldProps, Input, Group, ProgressBarProps as ProgressBarProps$1, RadioGroupProps, RadioProps, SearchFieldProps, ComboBoxProps, InputProps, ListBoxProps, ListBoxItemProps, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, TabListProps, TabProps, TabPanelProps, TagProps, TextFieldProps, TextAreaProps, ToggleButtonProps as ToggleButtonProps$1, TextProps as TextProps$1, LabelProps as LabelProps$1 } from 'react-aria-components';
|
|
3
|
+
export { Autocomplete, Collection, Dialog, DialogTrigger, FieldError, GridLayout, Key, ListBoxItem, ListLayout, MenuItemProps, MenuProps, RouterProvider, Select, SelectValue, Selection, Size, TableLayout, Popover as UnstyledPopover, Virtualizer, WaterfallLayout, useFilter } from 'react-aria-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import react__default, { Ref, ComponentProps, JSX } from 'react';
|
|
7
|
-
import
|
|
7
|
+
import * as cva from 'cva';
|
|
8
8
|
import { Key } from 'react-aria';
|
|
9
|
-
|
|
10
|
-
declare const DisclosureGroup: react.ForwardRefExoticComponent<react_aria_components.DisclosureGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare function DisclosureButton({ children, className, ...props }: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
12
|
-
declare function Disclosure({ className, ...props }: DisclosureProps): react_jsx_runtime.JSX.Element;
|
|
13
|
-
declare function DisclosurePanel({ className, ...props }: DisclosurePanelProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
import { ExternalToast as ExternalToast$1, ToasterProps } from 'sonner';
|
|
14
10
|
|
|
15
11
|
declare function Breadcrumbs<T extends object>({ className, ...props }: BreadcrumbsProps<T>): react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare function Breadcrumb({ className, ...props }: BreadcrumbProps & {
|
|
12
|
+
declare function Breadcrumb({ className, children, href, ...props }: BreadcrumbProps & {
|
|
17
13
|
href?: string;
|
|
18
14
|
}): react_jsx_runtime.JSX.Element;
|
|
19
15
|
|
|
@@ -32,59 +28,11 @@ declare const button: (props?: ({
|
|
|
32
28
|
thin?: boolean | undefined;
|
|
33
29
|
size?: "small" | "medium" | "large" | undefined;
|
|
34
30
|
} & ({
|
|
35
|
-
class?:
|
|
36
|
-
[x: string]: any;
|
|
37
|
-
} | null | undefined)[] | {
|
|
38
|
-
[x: string]: any;
|
|
39
|
-
} | null | undefined)[] | {
|
|
40
|
-
[x: string]: any;
|
|
41
|
-
} | null | undefined)[] | {
|
|
42
|
-
[x: string]: any;
|
|
43
|
-
} | null | undefined)[] | {
|
|
44
|
-
[x: string]: any;
|
|
45
|
-
} | null | undefined)[] | {
|
|
46
|
-
[x: string]: any;
|
|
47
|
-
} | null | undefined)[] | {
|
|
48
|
-
[x: string]: any;
|
|
49
|
-
} | null | undefined)[] | {
|
|
50
|
-
[x: string]: any;
|
|
51
|
-
} | null | undefined)[] | {
|
|
52
|
-
[x: string]: any;
|
|
53
|
-
} | null | undefined)[] | {
|
|
54
|
-
[x: string]: any;
|
|
55
|
-
} | null | undefined)[] | {
|
|
56
|
-
[x: string]: any;
|
|
57
|
-
} | null | undefined)[] | {
|
|
58
|
-
[x: string]: any;
|
|
59
|
-
} | null | undefined;
|
|
31
|
+
class?: cva.ClassValue;
|
|
60
32
|
className?: never;
|
|
61
33
|
} | {
|
|
62
34
|
class?: never;
|
|
63
|
-
className?:
|
|
64
|
-
[x: string]: any;
|
|
65
|
-
} | null | undefined)[] | {
|
|
66
|
-
[x: string]: any;
|
|
67
|
-
} | null | undefined)[] | {
|
|
68
|
-
[x: string]: any;
|
|
69
|
-
} | null | undefined)[] | {
|
|
70
|
-
[x: string]: any;
|
|
71
|
-
} | null | undefined)[] | {
|
|
72
|
-
[x: string]: any;
|
|
73
|
-
} | null | undefined)[] | {
|
|
74
|
-
[x: string]: any;
|
|
75
|
-
} | null | undefined)[] | {
|
|
76
|
-
[x: string]: any;
|
|
77
|
-
} | null | undefined)[] | {
|
|
78
|
-
[x: string]: any;
|
|
79
|
-
} | null | undefined)[] | {
|
|
80
|
-
[x: string]: any;
|
|
81
|
-
} | null | undefined)[] | {
|
|
82
|
-
[x: string]: any;
|
|
83
|
-
} | null | undefined)[] | {
|
|
84
|
-
[x: string]: any;
|
|
85
|
-
} | null | undefined)[] | {
|
|
86
|
-
[x: string]: any;
|
|
87
|
-
} | null | undefined;
|
|
35
|
+
className?: cva.ClassValue;
|
|
88
36
|
})) | undefined) => string;
|
|
89
37
|
declare function _Button({ children, className, preset, shape, size, thin, ...props }: ButtonProps, ref: Ref<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
90
38
|
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -100,6 +48,11 @@ declare const ButtonLink: react.ForwardRefExoticComponent<ButtonLinkProps & reac
|
|
|
100
48
|
|
|
101
49
|
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
102
50
|
|
|
51
|
+
declare const DisclosureGroup: react.ForwardRefExoticComponent<react_aria_components.DisclosureGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
declare function DisclosureButton({ children, className, ...props }: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare function Disclosure({ className, ...props }: DisclosureProps): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare function DisclosurePanel({ className, ...props }: DisclosurePanelProps): react_jsx_runtime.JSX.Element;
|
|
55
|
+
|
|
103
56
|
interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
104
57
|
preset?: "left" | "center" | "right";
|
|
105
58
|
hrProps?: React.HTMLAttributes<HTMLHRElement>;
|
|
@@ -107,6 +60,16 @@ interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
107
60
|
}
|
|
108
61
|
declare function Divider({ preset, hrProps: { className: hrClassName, ...hrProps }, childrenWrapperProps: { className: childrenWrapperClassName, ...childrenWrapperProps }, className, children, ...rest }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
109
62
|
|
|
63
|
+
declare const MenuTrigger: typeof MenuTrigger$1;
|
|
64
|
+
declare const SubmenuTrigger: (props: react_aria_components.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react.ReactElement | null;
|
|
65
|
+
declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare function MenuItem<T extends object>({ className, ...props }: MenuItemProps<T>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function MenuPopover({ className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function MenuSection<T extends object>({ className, ...props }: MenuSectionProps<T>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function MenuHeader({ className, ...props }: ComponentProps<typeof Header>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function MenuVirtualizer<T>(props: Omit<VirtualizerProps<T>, "layout" | "layoutOptions">): react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
110
73
|
interface ModalProps extends Omit<ModalOverlayProps, "children"> {
|
|
111
74
|
modalOverlayClassName?: ModalOverlayProps["className"];
|
|
112
75
|
dialogProps?: Omit<DialogProps, "children">;
|
|
@@ -126,6 +89,8 @@ declare function NumberField({ inputProps, groupProps, children, preset, size, .
|
|
|
126
89
|
size?: "small" | "medium" | "large";
|
|
127
90
|
}): react_jsx_runtime.JSX.Element;
|
|
128
91
|
|
|
92
|
+
declare function Popover({ children, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
|
|
129
94
|
interface ProgressBarProps extends Omit<ProgressBarProps$1, "children"> {
|
|
130
95
|
label?: string;
|
|
131
96
|
}
|
|
@@ -140,12 +105,30 @@ declare function SearchField({ inputProps, borderProps, children, className, siz
|
|
|
140
105
|
size?: "small" | "medium" | "large";
|
|
141
106
|
}): react_jsx_runtime.JSX.Element;
|
|
142
107
|
|
|
108
|
+
interface SelectedKey {
|
|
109
|
+
id: Key;
|
|
110
|
+
name: string;
|
|
111
|
+
}
|
|
112
|
+
interface MultipleSelectProps<T extends SelectedKey> extends Omit<ComboBoxProps<T>, "children" | "validate" | "allowsEmptyCollection" | "selectedKey" | "inputValue" | "className" | "value" | "onSelectionChange" | "onInputChange"> {
|
|
113
|
+
items: Array<T>;
|
|
114
|
+
selectedItems: Array<T>;
|
|
115
|
+
className?: string;
|
|
116
|
+
onChange?: (items: Array<T>) => void;
|
|
117
|
+
renderEmptyState?: (inputValue: string) => react__default.ReactNode;
|
|
118
|
+
tag: (item: T) => react__default.ReactNode;
|
|
119
|
+
children: react__default.ReactNode | ((item: T) => react__default.ReactNode);
|
|
120
|
+
inputProps?: InputProps;
|
|
121
|
+
size?: "small" | "medium" | "large";
|
|
122
|
+
}
|
|
123
|
+
declare function MultipleSelect<T extends SelectedKey>({ children, items, selectedItems, onChange, className, name, renderEmptyState, size, ...props }: MultipleSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
143
125
|
declare function SelectButton({ className, size, ...props }: ButtonProps$1 & {
|
|
144
126
|
size?: "small" | "medium" | "large";
|
|
145
127
|
}): react_jsx_runtime.JSX.Element;
|
|
146
128
|
declare function SelectPopover({ className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
147
129
|
declare function SelectListBox<T extends object>({ className, ...props }: ListBoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
148
130
|
declare function SelectListBoxItem({ className, ...props }: ListBoxItemProps): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function SelectVirtualizer<T>(props: Omit<VirtualizerProps<T>, "layout" | "layoutOptions">): react_jsx_runtime.JSX.Element;
|
|
149
132
|
|
|
150
133
|
declare function Slider<T extends number | number[]>({ children, className, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
151
134
|
sliderTrackProps?: SliderTrackProps;
|
|
@@ -268,6 +251,8 @@ declare function TabList<T extends object>({ className, ...rest }: TabListProps<
|
|
|
268
251
|
declare function Tab({ children, className, ...rest }: TabProps): react_jsx_runtime.JSX.Element;
|
|
269
252
|
declare function TabPanel({ ...rest }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
270
253
|
|
|
254
|
+
declare function Tag({ children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
271
256
|
declare function TextArea({ textAreaProps, children, ...props }: TextFieldProps & {
|
|
272
257
|
textAreaProps?: TextAreaProps;
|
|
273
258
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -276,59 +261,11 @@ declare const textField: (props?: ({
|
|
|
276
261
|
size?: "small" | "medium" | "large" | undefined;
|
|
277
262
|
isTextArea?: boolean | undefined;
|
|
278
263
|
} & ({
|
|
279
|
-
class?:
|
|
280
|
-
[x: string]: any;
|
|
281
|
-
} | null | undefined)[] | {
|
|
282
|
-
[x: string]: any;
|
|
283
|
-
} | null | undefined)[] | {
|
|
284
|
-
[x: string]: any;
|
|
285
|
-
} | null | undefined)[] | {
|
|
286
|
-
[x: string]: any;
|
|
287
|
-
} | null | undefined)[] | {
|
|
288
|
-
[x: string]: any;
|
|
289
|
-
} | null | undefined)[] | {
|
|
290
|
-
[x: string]: any;
|
|
291
|
-
} | null | undefined)[] | {
|
|
292
|
-
[x: string]: any;
|
|
293
|
-
} | null | undefined)[] | {
|
|
294
|
-
[x: string]: any;
|
|
295
|
-
} | null | undefined)[] | {
|
|
296
|
-
[x: string]: any;
|
|
297
|
-
} | null | undefined)[] | {
|
|
298
|
-
[x: string]: any;
|
|
299
|
-
} | null | undefined)[] | {
|
|
300
|
-
[x: string]: any;
|
|
301
|
-
} | null | undefined)[] | {
|
|
302
|
-
[x: string]: any;
|
|
303
|
-
} | null | undefined;
|
|
264
|
+
class?: cva.ClassValue;
|
|
304
265
|
className?: never;
|
|
305
266
|
} | {
|
|
306
267
|
class?: never;
|
|
307
|
-
className?:
|
|
308
|
-
[x: string]: any;
|
|
309
|
-
} | null | undefined)[] | {
|
|
310
|
-
[x: string]: any;
|
|
311
|
-
} | null | undefined)[] | {
|
|
312
|
-
[x: string]: any;
|
|
313
|
-
} | null | undefined)[] | {
|
|
314
|
-
[x: string]: any;
|
|
315
|
-
} | null | undefined)[] | {
|
|
316
|
-
[x: string]: any;
|
|
317
|
-
} | null | undefined)[] | {
|
|
318
|
-
[x: string]: any;
|
|
319
|
-
} | null | undefined)[] | {
|
|
320
|
-
[x: string]: any;
|
|
321
|
-
} | null | undefined)[] | {
|
|
322
|
-
[x: string]: any;
|
|
323
|
-
} | null | undefined)[] | {
|
|
324
|
-
[x: string]: any;
|
|
325
|
-
} | null | undefined)[] | {
|
|
326
|
-
[x: string]: any;
|
|
327
|
-
} | null | undefined)[] | {
|
|
328
|
-
[x: string]: any;
|
|
329
|
-
} | null | undefined)[] | {
|
|
330
|
-
[x: string]: any;
|
|
331
|
-
} | null | undefined;
|
|
268
|
+
className?: cva.ClassValue;
|
|
332
269
|
})) | undefined) => string;
|
|
333
270
|
declare function TextField({ inputProps, borderProps, children, size, ...props }: TextFieldProps & {
|
|
334
271
|
inputProps?: InputProps;
|
|
@@ -345,8 +282,6 @@ interface ToggleButtonProps extends ToggleButtonProps$1 {
|
|
|
345
282
|
}
|
|
346
283
|
declare function ToggleButton({ children, className, preset, shape, size, thin, ...props }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
347
284
|
|
|
348
|
-
declare function Popover({ children, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
349
|
-
|
|
350
285
|
type HeadingColor = "gold100" | "gold200" | "gold400" | "grey100";
|
|
351
286
|
type HeadingElement = "h1" | "h2" | "h3" | "h4" | "h5";
|
|
352
287
|
interface HeadingProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> {
|
|
@@ -355,62 +290,14 @@ interface HeadingProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTML
|
|
|
355
290
|
as?: HeadingElement | "span";
|
|
356
291
|
}
|
|
357
292
|
declare const heading: (props?: ({
|
|
358
|
-
color?: "
|
|
293
|
+
color?: "gold100" | "gold200" | "gold400" | "grey100" | undefined;
|
|
359
294
|
preset?: "h1" | "h2" | "h3" | "h4" | "h5" | undefined;
|
|
360
295
|
} & ({
|
|
361
|
-
class?:
|
|
362
|
-
[x: string]: any;
|
|
363
|
-
} | null | undefined)[] | {
|
|
364
|
-
[x: string]: any;
|
|
365
|
-
} | null | undefined)[] | {
|
|
366
|
-
[x: string]: any;
|
|
367
|
-
} | null | undefined)[] | {
|
|
368
|
-
[x: string]: any;
|
|
369
|
-
} | null | undefined)[] | {
|
|
370
|
-
[x: string]: any;
|
|
371
|
-
} | null | undefined)[] | {
|
|
372
|
-
[x: string]: any;
|
|
373
|
-
} | null | undefined)[] | {
|
|
374
|
-
[x: string]: any;
|
|
375
|
-
} | null | undefined)[] | {
|
|
376
|
-
[x: string]: any;
|
|
377
|
-
} | null | undefined)[] | {
|
|
378
|
-
[x: string]: any;
|
|
379
|
-
} | null | undefined)[] | {
|
|
380
|
-
[x: string]: any;
|
|
381
|
-
} | null | undefined)[] | {
|
|
382
|
-
[x: string]: any;
|
|
383
|
-
} | null | undefined)[] | {
|
|
384
|
-
[x: string]: any;
|
|
385
|
-
} | null | undefined;
|
|
296
|
+
class?: cva.ClassValue;
|
|
386
297
|
className?: never;
|
|
387
298
|
} | {
|
|
388
299
|
class?: never;
|
|
389
|
-
className?:
|
|
390
|
-
[x: string]: any;
|
|
391
|
-
} | null | undefined)[] | {
|
|
392
|
-
[x: string]: any;
|
|
393
|
-
} | null | undefined)[] | {
|
|
394
|
-
[x: string]: any;
|
|
395
|
-
} | null | undefined)[] | {
|
|
396
|
-
[x: string]: any;
|
|
397
|
-
} | null | undefined)[] | {
|
|
398
|
-
[x: string]: any;
|
|
399
|
-
} | null | undefined)[] | {
|
|
400
|
-
[x: string]: any;
|
|
401
|
-
} | null | undefined)[] | {
|
|
402
|
-
[x: string]: any;
|
|
403
|
-
} | null | undefined)[] | {
|
|
404
|
-
[x: string]: any;
|
|
405
|
-
} | null | undefined)[] | {
|
|
406
|
-
[x: string]: any;
|
|
407
|
-
} | null | undefined)[] | {
|
|
408
|
-
[x: string]: any;
|
|
409
|
-
} | null | undefined)[] | {
|
|
410
|
-
[x: string]: any;
|
|
411
|
-
} | null | undefined)[] | {
|
|
412
|
-
[x: string]: any;
|
|
413
|
-
} | null | undefined;
|
|
300
|
+
className?: cva.ClassValue;
|
|
414
301
|
})) | undefined) => string;
|
|
415
302
|
declare function Heading({ as, preset, color, className, ...rest }: HeadingProps): JSX.Element;
|
|
416
303
|
|
|
@@ -418,102 +305,24 @@ type TextColor = "grey100" | "grey150" | "gold100";
|
|
|
418
305
|
type TextElement = "p" | "span" | "div";
|
|
419
306
|
type TextPreset = "sm" | "base" | "md" | "lg" | "largeNumber" | "stat";
|
|
420
307
|
declare const text: (props?: ({
|
|
421
|
-
color?: "
|
|
308
|
+
color?: "gold100" | "grey100" | "grey150" | undefined;
|
|
422
309
|
preset?: "base" | "label" | "sm" | "md" | "lg" | "largeNumber" | "stat" | undefined;
|
|
423
310
|
} & ({
|
|
424
|
-
class?:
|
|
425
|
-
[x: string]: any;
|
|
426
|
-
} | null | undefined)[] | {
|
|
427
|
-
[x: string]: any;
|
|
428
|
-
} | null | undefined)[] | {
|
|
429
|
-
[x: string]: any;
|
|
430
|
-
} | null | undefined)[] | {
|
|
431
|
-
[x: string]: any;
|
|
432
|
-
} | null | undefined)[] | {
|
|
433
|
-
[x: string]: any;
|
|
434
|
-
} | null | undefined)[] | {
|
|
435
|
-
[x: string]: any;
|
|
436
|
-
} | null | undefined)[] | {
|
|
437
|
-
[x: string]: any;
|
|
438
|
-
} | null | undefined)[] | {
|
|
439
|
-
[x: string]: any;
|
|
440
|
-
} | null | undefined)[] | {
|
|
441
|
-
[x: string]: any;
|
|
442
|
-
} | null | undefined)[] | {
|
|
443
|
-
[x: string]: any;
|
|
444
|
-
} | null | undefined)[] | {
|
|
445
|
-
[x: string]: any;
|
|
446
|
-
} | null | undefined)[] | {
|
|
447
|
-
[x: string]: any;
|
|
448
|
-
} | null | undefined;
|
|
311
|
+
class?: cva.ClassValue;
|
|
449
312
|
className?: never;
|
|
450
313
|
} | {
|
|
451
314
|
class?: never;
|
|
452
|
-
className?:
|
|
453
|
-
[x: string]: any;
|
|
454
|
-
} | null | undefined)[] | {
|
|
455
|
-
[x: string]: any;
|
|
456
|
-
} | null | undefined)[] | {
|
|
457
|
-
[x: string]: any;
|
|
458
|
-
} | null | undefined)[] | {
|
|
459
|
-
[x: string]: any;
|
|
460
|
-
} | null | undefined)[] | {
|
|
461
|
-
[x: string]: any;
|
|
462
|
-
} | null | undefined)[] | {
|
|
463
|
-
[x: string]: any;
|
|
464
|
-
} | null | undefined)[] | {
|
|
465
|
-
[x: string]: any;
|
|
466
|
-
} | null | undefined)[] | {
|
|
467
|
-
[x: string]: any;
|
|
468
|
-
} | null | undefined)[] | {
|
|
469
|
-
[x: string]: any;
|
|
470
|
-
} | null | undefined)[] | {
|
|
471
|
-
[x: string]: any;
|
|
472
|
-
} | null | undefined)[] | {
|
|
473
|
-
[x: string]: any;
|
|
474
|
-
} | null | undefined)[] | {
|
|
475
|
-
[x: string]: any;
|
|
476
|
-
} | null | undefined;
|
|
315
|
+
className?: cva.ClassValue;
|
|
477
316
|
})) | undefined) => string;
|
|
478
|
-
interface TextProps extends
|
|
317
|
+
interface TextProps extends TextProps$1 {
|
|
479
318
|
preset?: TextPreset;
|
|
480
319
|
color?: TextColor;
|
|
481
|
-
as?: TextElement;
|
|
482
320
|
}
|
|
483
|
-
declare function Text({
|
|
321
|
+
declare function Text({ preset, color, className, ...rest }: TextProps): JSX.Element;
|
|
484
322
|
interface LabelProps extends LabelProps$1 {
|
|
485
323
|
preset?: TextPreset | "label";
|
|
486
324
|
color?: TextColor;
|
|
487
|
-
as?: TextElement;
|
|
488
325
|
}
|
|
489
326
|
declare function Label({ preset, color, className, ...rest }: LabelProps): JSX.Element;
|
|
490
327
|
|
|
491
|
-
|
|
492
|
-
declare const SubmenuTrigger: (props: react_aria_components.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react.ReactElement | null;
|
|
493
|
-
declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): react_jsx_runtime.JSX.Element;
|
|
494
|
-
declare function MenuItem<T extends object>({ className, ...props }: MenuItemProps<T>): react_jsx_runtime.JSX.Element;
|
|
495
|
-
declare function MenuPopover({ className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
496
|
-
declare function MenuSection<T extends object>({ className, ...props }: MenuSectionProps<T>): react_jsx_runtime.JSX.Element;
|
|
497
|
-
declare function MenuHeader({ className, ...props }: ComponentProps<typeof Header>): react_jsx_runtime.JSX.Element;
|
|
498
|
-
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
499
|
-
|
|
500
|
-
interface SelectedKey {
|
|
501
|
-
id: Key;
|
|
502
|
-
name: string;
|
|
503
|
-
}
|
|
504
|
-
interface MultipleSelectProps<T extends SelectedKey> extends Omit<ComboBoxProps<T>, "children" | "validate" | "allowsEmptyCollection" | "selectedKey" | "inputValue" | "className" | "value" | "onSelectionChange" | "onInputChange"> {
|
|
505
|
-
items: Array<T>;
|
|
506
|
-
selectedItems: Array<T>;
|
|
507
|
-
className?: string;
|
|
508
|
-
onChange?: (items: Array<T>) => void;
|
|
509
|
-
renderEmptyState?: (inputValue: string) => react__default.ReactNode;
|
|
510
|
-
tag: (item: T) => react__default.ReactNode;
|
|
511
|
-
children: react__default.ReactNode | ((item: T) => react__default.ReactNode);
|
|
512
|
-
inputProps?: InputProps;
|
|
513
|
-
size?: "small" | "medium" | "large";
|
|
514
|
-
}
|
|
515
|
-
declare function MultipleSelect<T extends SelectedKey>({ children, items, selectedItems, onChange, className, name, renderEmptyState, size, ...props }: MultipleSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
516
|
-
|
|
517
|
-
declare function Tag({ children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
|
|
518
|
-
|
|
519
|
-
export { Breadcrumb, Breadcrumbs, Button, ButtonLink, type ButtonPreset, type ButtonShape, type ButtonSize, Checkbox, DialogButtons, DialogHeading, Disclosure, DisclosureButton, DisclosureGroup, DisclosurePanel, Divider, Heading, type HeadingColor, type HeadingElement, Label, Menu, MenuHeader, MenuItem, MenuPopover, MenuSection, MenuSeparator, MenuTrigger, Modal, MultipleSelect, NumberField, Popover, ProgressBar, Radio, RadioGroup, SearchField, SelectButton, SelectListBox, SelectListBoxItem, SelectPopover, type SelectedKey, Slider, SliderOutput, Sonner, type SonnerProps, Spinner, SubmenuTrigger, Switch, Tab, TabList, TabPanel, Tabs, Tag, Text, TextArea, type TextColor, type TextElement, TextField, type TextPreset, type ToastVariant, ToggleButton, type ToggleButtonPreset, _Button, _ButtonLink, button, heading, sonner, text, textField };
|
|
328
|
+
export { Breadcrumb, Breadcrumbs, Button, ButtonLink, type ButtonPreset, type ButtonShape, type ButtonSize, Checkbox, DialogButtons, DialogHeading, Disclosure, DisclosureButton, DisclosureGroup, DisclosurePanel, Divider, Heading, type HeadingColor, type HeadingElement, Label, Menu, MenuHeader, MenuItem, MenuPopover, MenuSection, MenuSeparator, MenuTrigger, MenuVirtualizer, Modal, MultipleSelect, NumberField, Popover, ProgressBar, Radio, RadioGroup, SearchField, SelectButton, SelectListBox, SelectListBoxItem, SelectPopover, SelectVirtualizer, type SelectedKey, Slider, SliderOutput, Sonner, type SonnerProps, Spinner, SubmenuTrigger, Switch, Tab, TabList, TabPanel, Tabs, Tag, Text, TextArea, type TextColor, type TextElement, TextField, type TextPreset, type ToastVariant, ToggleButton, type ToggleButtonPreset, _Button, _ButtonLink, button, heading, sonner, text, textField };
|