@parrot-co/parrot-ui 0.0.85 → 0.0.87
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/main.js +942 -1053
- package/dist/main.js.map +1 -1
- package/dist/module.js +901 -1012
- package/dist/module.js.map +1 -1
- package/package.json +42 -27
- package/styles.css +1 -4345
- package/dist/types.d.ts +0 -407
- package/dist/types.d.ts.map +0 -1
package/dist/types.d.ts
DELETED
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { AriaTextFieldOptions, AriaButtonProps, AriaNumberFieldProps, AriaCheckboxGroupProps, AriaCheckboxProps, AriaRadioGroupProps, AriaRadioProps, AriaListBoxOptions, AriaCalendarProps, AriaDatePickerProps, AriaProgressBarProps, AriaTabListProps, AriaSwitchProps, AriaModalOverlayProps } from "react-aria";
|
|
3
|
-
import { ListState, OverlayTriggerProps, OverlayTriggerState } from "react-stately";
|
|
4
|
-
import { DateValue } from "@react-types/calendar";
|
|
5
|
-
import { DateValue as _DateValue1 } from "@internationalized/date";
|
|
6
|
-
declare const supportedColors: readonly ["tomato", "red", "crimson", "pink", "plum", "purple", "violet", "indigo", "blue", "cyan", "teal", "green", "grass", "orange", "brown", "sky", "mint", "lime", "yellow", "amber", "gold", "bronze", "gray", "mauve", "slate", "sage", "olive", "sand"];
|
|
7
|
-
type Color = (typeof supportedColors)[number];
|
|
8
|
-
type ColorVariant = "solid" | "outline" | "light" | "lightOutline" | "solidMono" | "ghost" | "pastel";
|
|
9
|
-
type BorderRadius = "none" | "sm" | "md" | "lg" | "full";
|
|
10
|
-
type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
11
|
-
type ButtonAppearance = "primary" | "secondary" | "minimal";
|
|
12
|
-
type ButtonAppearanceSchemaType = Partial<Record<ButtonAppearance, {
|
|
13
|
-
variant: ColorVariant;
|
|
14
|
-
color: Color;
|
|
15
|
-
}>>;
|
|
16
|
-
type PositionType = "absolute" | "relative" | "fixed" | "sticky";
|
|
17
|
-
type JustifyContentType = "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly";
|
|
18
|
-
type AlignItemsType = "start" | "center" | "end" | "stretch" | "baseline";
|
|
19
|
-
type FlexDirectionType = "row" | "column" | "row-reverse" | "column-reverse";
|
|
20
|
-
type SizeOption = "none" | "4xs" | "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
21
|
-
interface BoxProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
22
|
-
stretchX?: boolean;
|
|
23
|
-
stretchY?: boolean;
|
|
24
|
-
stretchXY?: boolean;
|
|
25
|
-
position?: PositionType;
|
|
26
|
-
as?: React.ElementType;
|
|
27
|
-
}
|
|
28
|
-
export const Box: React.ForwardRefExoticComponent<BoxProps & {
|
|
29
|
-
children?: React.ReactNode;
|
|
30
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
type ActionStatus = "idle" | "loading" | "success" | "error";
|
|
32
|
-
type ID = string | number;
|
|
33
|
-
type Columns = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
34
|
-
interface GridProps extends React.ComponentProps<typeof Box> {
|
|
35
|
-
columns?: Columns;
|
|
36
|
-
gap?: SizeOption;
|
|
37
|
-
gapX?: SizeOption;
|
|
38
|
-
gapY?: SizeOption;
|
|
39
|
-
align?: AlignItemsType;
|
|
40
|
-
justify?: JustifyContentType;
|
|
41
|
-
}
|
|
42
|
-
export const Grid: React.ForwardRefExoticComponent<Omit<GridProps & {
|
|
43
|
-
as?: React.ElementType<any> | undefined;
|
|
44
|
-
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
45
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
46
|
-
}, "color" | "as">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
-
interface GridItemProps extends React.ComponentProps<typeof Box> {
|
|
48
|
-
colSpan?: Columns;
|
|
49
|
-
}
|
|
50
|
-
export const GridItem: React.ForwardRefExoticComponent<Omit<GridItemProps & {
|
|
51
|
-
as?: React.ElementType<any> | undefined;
|
|
52
|
-
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
53
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
54
|
-
}, "color" | "as">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
-
interface FlexProps extends React.ComponentProps<typeof Box> {
|
|
56
|
-
justify?: JustifyContentType;
|
|
57
|
-
align?: AlignItemsType;
|
|
58
|
-
direction?: FlexDirectionType;
|
|
59
|
-
gap?: SizeOption;
|
|
60
|
-
columnGap?: SizeOption;
|
|
61
|
-
rowGap?: SizeOption;
|
|
62
|
-
stack?: boolean;
|
|
63
|
-
inline?: boolean;
|
|
64
|
-
wrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
65
|
-
}
|
|
66
|
-
export const Flex: React.ForwardRefExoticComponent<Omit<FlexProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
67
|
-
type TextWeight = "light" | "regular" | "medium" | "semi-bold" | "bold" | "heavy" | "inherit";
|
|
68
|
-
type TextColorVariant = "light" | "lighter" | "dark" | "default";
|
|
69
|
-
interface TextProps {
|
|
70
|
-
size?: SizeOption;
|
|
71
|
-
weight?: TextWeight;
|
|
72
|
-
highlight?: boolean;
|
|
73
|
-
color?: Color | "inherit" | "white";
|
|
74
|
-
variant?: TextColorVariant;
|
|
75
|
-
align?: "left" | "center" | "right";
|
|
76
|
-
numeric?: boolean;
|
|
77
|
-
underline?: boolean;
|
|
78
|
-
italic?: boolean;
|
|
79
|
-
lineHeight?: "normal" | "shorter" | "short" | "base" | "tall";
|
|
80
|
-
textRef?: any;
|
|
81
|
-
textCase?: "uppercase" | "lowercase" | "capitalize";
|
|
82
|
-
}
|
|
83
|
-
export const Text: {
|
|
84
|
-
<T extends React.ElementType<any> = "span">(props: TextProps & {
|
|
85
|
-
children?: React.ReactNode;
|
|
86
|
-
} & {
|
|
87
|
-
as?: React.ElementType<any> | T | undefined;
|
|
88
|
-
} & Omit<React.ComponentPropsWithRef<T>, "color" | "as">): JSX.Element;
|
|
89
|
-
displayName: string;
|
|
90
|
-
};
|
|
91
|
-
interface SpaceProps extends React.ComponentProps<typeof Flex> {
|
|
92
|
-
compact?: boolean;
|
|
93
|
-
gap?: SizeOption;
|
|
94
|
-
className?: string;
|
|
95
|
-
}
|
|
96
|
-
export const Space: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<SpaceProps>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
97
|
-
type InputProps = {
|
|
98
|
-
description?: React.ReactNode;
|
|
99
|
-
label?: React.ReactNode;
|
|
100
|
-
error?: React.ReactNode;
|
|
101
|
-
append?: React.ReactNode;
|
|
102
|
-
prepend?: React.ReactNode;
|
|
103
|
-
validationStatus?: "error" | "success" | "warning";
|
|
104
|
-
className?: string;
|
|
105
|
-
shape?: "rounded" | "sharp";
|
|
106
|
-
inputRef?: React.RefObject<HTMLInputElement>;
|
|
107
|
-
appearance?: "outline" | "filled" | "filled-outline";
|
|
108
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
109
|
-
color?: Color;
|
|
110
|
-
};
|
|
111
|
-
interface ExtendedInputProps extends Omit<AriaTextFieldOptions<"input">, "size">, InputProps {
|
|
112
|
-
_someProp?: string;
|
|
113
|
-
}
|
|
114
|
-
type InputVariantProps = Pick<InputProps, "appearance" | "size" | "color" | "shape">;
|
|
115
|
-
export const Input: React.ForwardRefExoticComponent<ExtendedInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
116
|
-
interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
117
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
118
|
-
}
|
|
119
|
-
export const Loader: React.ForwardRefExoticComponent<LoaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
120
|
-
interface ButtonGroupProps extends Pick<ButtonProps, "color" | "variant" | "size" | "radius" | "idleColor" | "idleVariant" | "activeColor" | "activeVariant" | "isToggle"> {
|
|
121
|
-
label?: string;
|
|
122
|
-
}
|
|
123
|
-
export function ButtonGroup({ color, variant, size, compact, radius, gap, children, idleColor, activeColor, idleVariant, activeVariant, isToggle, }: ButtonGroupProps & React.ComponentProps<typeof Space>): JSX.Element;
|
|
124
|
-
interface ThemeProviderValue {
|
|
125
|
-
color?: Color;
|
|
126
|
-
scaling?: SizeScale;
|
|
127
|
-
grayVariant?: string;
|
|
128
|
-
radius?: BorderRadius;
|
|
129
|
-
buttonAppearance?: ButtonAppearanceSchemaType;
|
|
130
|
-
avatarRadiusSize?: BorderRadius;
|
|
131
|
-
}
|
|
132
|
-
interface ThemeProviderProps extends ThemeProviderValue {
|
|
133
|
-
children?: React.ReactNode;
|
|
134
|
-
className?: string;
|
|
135
|
-
}
|
|
136
|
-
type SizeScale = "90%" | "95%" | "100%" | "105%" | "110%";
|
|
137
|
-
export function ThemeProvider(props: ThemeProviderProps): JSX.Element;
|
|
138
|
-
export function useTheme(options?: {
|
|
139
|
-
requireThemeProvider: boolean;
|
|
140
|
-
}): ThemeProviderValue | null;
|
|
141
|
-
interface ButtonToggleProps {
|
|
142
|
-
isToggle?: boolean;
|
|
143
|
-
idleColor?: Color;
|
|
144
|
-
idleVariant?: ColorVariant;
|
|
145
|
-
activeColor?: Color;
|
|
146
|
-
activeVariant?: ColorVariant;
|
|
147
|
-
}
|
|
148
|
-
type ButtonProps = AriaButtonProps<"button" | "div" | "a"> & ButtonToggleProps & {
|
|
149
|
-
append?: React.ReactNode;
|
|
150
|
-
prepend?: React.ReactNode;
|
|
151
|
-
as?: React.ElementType;
|
|
152
|
-
isLoading?: boolean;
|
|
153
|
-
className?: string;
|
|
154
|
-
isIconButton?: boolean;
|
|
155
|
-
color?: Color;
|
|
156
|
-
variant?: ColorVariant;
|
|
157
|
-
size?: ButtonSize;
|
|
158
|
-
radius?: BorderRadius;
|
|
159
|
-
isSelected?: boolean;
|
|
160
|
-
defaultSelected?: boolean;
|
|
161
|
-
appearance?: ButtonAppearance;
|
|
162
|
-
role?: string;
|
|
163
|
-
style?: React.CSSProperties;
|
|
164
|
-
};
|
|
165
|
-
export const Button: React.ForwardRefExoticComponent<AriaButtonProps<"div" | "a" | "button"> & ButtonToggleProps & {
|
|
166
|
-
append?: React.ReactNode;
|
|
167
|
-
prepend?: React.ReactNode;
|
|
168
|
-
as?: React.ElementType<any> | undefined;
|
|
169
|
-
isLoading?: boolean | undefined;
|
|
170
|
-
className?: string | undefined;
|
|
171
|
-
isIconButton?: boolean | undefined;
|
|
172
|
-
color?: "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | "orange" | "brown" | "sky" | "mint" | "lime" | "yellow" | "amber" | "gold" | "bronze" | "gray" | "mauve" | "slate" | "sage" | "olive" | "sand" | undefined;
|
|
173
|
-
variant?: ColorVariant | undefined;
|
|
174
|
-
size?: ButtonSize | undefined;
|
|
175
|
-
radius?: BorderRadius | undefined;
|
|
176
|
-
isSelected?: boolean | undefined;
|
|
177
|
-
defaultSelected?: boolean | undefined;
|
|
178
|
-
appearance?: ButtonAppearance | undefined;
|
|
179
|
-
role?: string | undefined;
|
|
180
|
-
style?: React.CSSProperties | undefined;
|
|
181
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
182
|
-
interface IconButtonProps extends ButtonProps {
|
|
183
|
-
isIcon?: boolean;
|
|
184
|
-
}
|
|
185
|
-
export const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
186
|
-
interface NumberInputProps extends InputProps, AriaNumberFieldProps {
|
|
187
|
-
showSteppers?: boolean;
|
|
188
|
-
}
|
|
189
|
-
export const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
190
|
-
interface TextareaProps extends AriaTextFieldOptions<"textarea">, InputProps {
|
|
191
|
-
resize?: "none" | "both" | "horizontal" | "vertical";
|
|
192
|
-
className?: string;
|
|
193
|
-
style?: React.CSSProperties;
|
|
194
|
-
}
|
|
195
|
-
export const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLDivElement>>;
|
|
196
|
-
interface CheckboxGroupProps extends AriaCheckboxGroupProps, CheckboxVariantProps {
|
|
197
|
-
}
|
|
198
|
-
export const CheckboxGroup: React.ForwardRefExoticComponent<Omit<CheckboxGroupProps & FlexProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
199
|
-
interface CheckboxVariantProps {
|
|
200
|
-
appearance?: "outline" | "filled";
|
|
201
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
202
|
-
shape?: "sharp" | "round";
|
|
203
|
-
color?: Color;
|
|
204
|
-
}
|
|
205
|
-
interface CheckboxProps extends AriaCheckboxProps, CheckboxVariantProps {
|
|
206
|
-
}
|
|
207
|
-
export const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLLabelElement>>;
|
|
208
|
-
interface RadioProps extends AriaRadioProps, Pick<InputVariantProps, "appearance" | "color"> {
|
|
209
|
-
className?: string;
|
|
210
|
-
style?: React.CSSProperties;
|
|
211
|
-
size?: "xs" | "sm" | "md" | "lg";
|
|
212
|
-
}
|
|
213
|
-
export const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLLabelElement>>;
|
|
214
|
-
interface RadioGroupProps extends AriaRadioGroupProps {
|
|
215
|
-
children?: React.ReactNode;
|
|
216
|
-
}
|
|
217
|
-
export const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupProps & FlexProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
218
|
-
interface RadioCardProps extends AriaRadioProps, Pick<InputVariantProps, "appearance" | "color"> {
|
|
219
|
-
title?: React.ReactNode;
|
|
220
|
-
description?: React.ReactNode;
|
|
221
|
-
children?: React.ReactNode;
|
|
222
|
-
showIndicator?: boolean;
|
|
223
|
-
}
|
|
224
|
-
export const RadioCard: React.ForwardRefExoticComponent<RadioCardProps & React.RefAttributes<HTMLLabelElement>>;
|
|
225
|
-
interface ListBoxProps<T> extends AriaListBoxOptions<T> {
|
|
226
|
-
__parrotKey?: ID;
|
|
227
|
-
children?: any;
|
|
228
|
-
labelKey?: keyof T | string;
|
|
229
|
-
valueKey?: keyof T | string;
|
|
230
|
-
sectionKey?: keyof T;
|
|
231
|
-
renderOption?: (item: T) => React.ReactNode;
|
|
232
|
-
getSectionLabel?: (item: T) => React.ReactNode;
|
|
233
|
-
getSectionItems?: (item: T) => T[];
|
|
234
|
-
state?: ListState<T>;
|
|
235
|
-
color?: Color;
|
|
236
|
-
width?: number | string;
|
|
237
|
-
showSeparator?: boolean;
|
|
238
|
-
showSelectedMarker?: boolean;
|
|
239
|
-
}
|
|
240
|
-
export const Tag: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
241
|
-
prepend?: React.ReactNode;
|
|
242
|
-
append?: React.ReactNode;
|
|
243
|
-
hashValue?: string | undefined;
|
|
244
|
-
color?: "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | "orange" | "brown" | "sky" | "mint" | "lime" | "yellow" | "amber" | "gold" | "bronze" | "gray" | "mauve" | "slate" | "sage" | "olive" | "sand" | undefined;
|
|
245
|
-
size?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
|
|
246
|
-
shape?: "rounded" | "sharp" | "pill" | undefined;
|
|
247
|
-
variant?: ColorVariant | undefined;
|
|
248
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
249
|
-
type SingleOrMultipleValue = ID | Array<ID>;
|
|
250
|
-
interface MockNativeOnChangeEvent {
|
|
251
|
-
target: {
|
|
252
|
-
value: SingleOrMultipleValue;
|
|
253
|
-
name?: string;
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
interface SelectProps<T> extends ListBoxProps<T>, InputProps {
|
|
257
|
-
renderValue?: (value: T) => React.ReactNode;
|
|
258
|
-
placeholder?: string;
|
|
259
|
-
isDisabled?: boolean;
|
|
260
|
-
name?: string;
|
|
261
|
-
listBoxColor?: Color;
|
|
262
|
-
value?: SingleOrMultipleValue;
|
|
263
|
-
defaultValue?: SingleOrMultipleValue;
|
|
264
|
-
onChange?(event: MockNativeOnChangeEvent): void;
|
|
265
|
-
}
|
|
266
|
-
export function Select<T>({ label, selectionMode, appearance, append, prepend, renderValue, color, error, description, size, shape, listBoxColor, className, value, defaultValue, onChange, ...props }: SelectProps<T>): JSX.Element;
|
|
267
|
-
interface CalendarProps extends AriaCalendarProps<DateValue>, InputVariantProps {
|
|
268
|
-
numberOfMonths?: number;
|
|
269
|
-
}
|
|
270
|
-
export const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
271
|
-
interface DatePickerProps extends Omit<AriaDatePickerProps<_DateValue1>, "value" | "defaultValue" | "onChange">, InputVariantProps {
|
|
272
|
-
numberOfMonths?: number;
|
|
273
|
-
error?: string;
|
|
274
|
-
value?: Date;
|
|
275
|
-
defaultValue?: Date;
|
|
276
|
-
onChange?: (date: Date, proxiedValue: _DateValue1) => void;
|
|
277
|
-
dropdownIcon?: React.ReactNode;
|
|
278
|
-
}
|
|
279
|
-
export const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
280
|
-
type AvatarSize = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
281
|
-
type AvatarShape = "circle" | "square";
|
|
282
|
-
interface AvatarProps {
|
|
283
|
-
src?: string;
|
|
284
|
-
alt?: string;
|
|
285
|
-
name?: string;
|
|
286
|
-
fallback?: React.ReactNode;
|
|
287
|
-
radius?: BorderRadius;
|
|
288
|
-
color?: Color;
|
|
289
|
-
variant?: ColorVariant;
|
|
290
|
-
size?: AvatarSize;
|
|
291
|
-
shape?: AvatarShape;
|
|
292
|
-
}
|
|
293
|
-
export const Avatar: React.ForwardRefExoticComponent<AvatarProps & {
|
|
294
|
-
children?: React.ReactNode;
|
|
295
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
296
|
-
type Upload = {
|
|
297
|
-
name: string;
|
|
298
|
-
url: string;
|
|
299
|
-
id: string;
|
|
300
|
-
file?: File;
|
|
301
|
-
status?: ActionStatus;
|
|
302
|
-
progress?: number;
|
|
303
|
-
};
|
|
304
|
-
interface FileUploaderProps {
|
|
305
|
-
onFileUpload?: (files: Array<Upload>) => void;
|
|
306
|
-
onRemoveFile?: () => void;
|
|
307
|
-
onStatusChange?: (status: ActionStatus) => void;
|
|
308
|
-
error?: React.ReactNode;
|
|
309
|
-
label?: React.ReactNode;
|
|
310
|
-
allowMultiple?: boolean;
|
|
311
|
-
uploads?: Array<Upload>;
|
|
312
|
-
hideFileList?: boolean;
|
|
313
|
-
color?: Color;
|
|
314
|
-
}
|
|
315
|
-
export const FileUploader: React.ForwardRefExoticComponent<FileUploaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
316
|
-
interface SeparatorProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
317
|
-
orientation?: "horizontal" | "vertical";
|
|
318
|
-
color?: Color;
|
|
319
|
-
opacity?: "faint" | "medium" | "strong";
|
|
320
|
-
}
|
|
321
|
-
export const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
322
|
-
interface ProgressProps extends AriaProgressBarProps, React.ComponentPropsWithoutRef<"div"> {
|
|
323
|
-
height?: number;
|
|
324
|
-
color?: Color;
|
|
325
|
-
}
|
|
326
|
-
export const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
327
|
-
interface TabsProps extends AriaTabListProps<any> {
|
|
328
|
-
orientation?: "horizontal" | "vertical";
|
|
329
|
-
}
|
|
330
|
-
export const Root: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
331
|
-
export const Item: <T>(props: import("react-stately").ItemProps<T>) => JSX.Element;
|
|
332
|
-
export const Tabs: {
|
|
333
|
-
Item: <T>(props: import("react-stately").ItemProps<T>) => JSX.Element;
|
|
334
|
-
Root: import("react").ForwardRefExoticComponent<import("components/tabs/tabs").TabsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
335
|
-
};
|
|
336
|
-
interface Props extends AriaSwitchProps {
|
|
337
|
-
color?: Color;
|
|
338
|
-
variant?: ColorVariant;
|
|
339
|
-
size?: "sm" | "md" | "lg";
|
|
340
|
-
}
|
|
341
|
-
export const Switch: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLLabelElement>>;
|
|
342
|
-
interface ColorTrayProps extends React.ComponentProps<typeof RadioGroup> {
|
|
343
|
-
trayColors?: Array<Color>;
|
|
344
|
-
size?: "sm" | "md" | "lg";
|
|
345
|
-
}
|
|
346
|
-
export const ColorTray: React.ForwardRefExoticComponent<Omit<ColorTrayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
347
|
-
type IconOptionType = {
|
|
348
|
-
name: string;
|
|
349
|
-
icon: React.ReactNode;
|
|
350
|
-
};
|
|
351
|
-
interface IconTrayProps extends React.ComponentProps<typeof RadioGroup> {
|
|
352
|
-
icons?: Array<IconOptionType>;
|
|
353
|
-
color: string;
|
|
354
|
-
size?: "sm" | "md" | "lg";
|
|
355
|
-
}
|
|
356
|
-
export const IconTray: React.ForwardRefExoticComponent<Omit<IconTrayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
357
|
-
interface StickerProps extends FlexProps {
|
|
358
|
-
padded?: boolean;
|
|
359
|
-
color?: Color;
|
|
360
|
-
variant?: ColorVariant;
|
|
361
|
-
}
|
|
362
|
-
export const Sticker: React.ForwardRefExoticComponent<Omit<StickerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
363
|
-
export function Table(): JSX.Element;
|
|
364
|
-
interface TimelineProps<T> {
|
|
365
|
-
items: Array<T>;
|
|
366
|
-
render?(item: T): React.ReactNode;
|
|
367
|
-
labelKey?: keyof T;
|
|
368
|
-
getIndicator?(item: T): React.ReactNode;
|
|
369
|
-
hideLastItemTail?: boolean;
|
|
370
|
-
}
|
|
371
|
-
export function Timeline<T>({ items, render, labelKey, getIndicator, hideLastItemTail, }: TimelineProps<T>): JSX.Element;
|
|
372
|
-
export interface ModalProps extends AriaModalOverlayProps {
|
|
373
|
-
hideTitle?: boolean;
|
|
374
|
-
state: OverlayTriggerState;
|
|
375
|
-
children?: React.ReactNode;
|
|
376
|
-
title?: React.ReactNode;
|
|
377
|
-
description?: React.ReactNode;
|
|
378
|
-
onConfirm?(): void;
|
|
379
|
-
onCancel?(): void;
|
|
380
|
-
confirmLabel?: string;
|
|
381
|
-
cancelLabel?: string;
|
|
382
|
-
confirmButtonProps?: React.ComponentProps<typeof Button>;
|
|
383
|
-
cancelButtonProps?: React.ComponentProps<typeof Button>;
|
|
384
|
-
width?: number | string;
|
|
385
|
-
variant?: "modal" | "drawer";
|
|
386
|
-
showCloseButton?: boolean;
|
|
387
|
-
}
|
|
388
|
-
export function Modal(props: ModalProps): JSX.Element;
|
|
389
|
-
export declare namespace Modal {
|
|
390
|
-
var useModal: typeof import("index").useModal;
|
|
391
|
-
}
|
|
392
|
-
export function useModal(props?: OverlayTriggerProps): OverlayTriggerState;
|
|
393
|
-
interface TagField extends InputProps {
|
|
394
|
-
tags?: Array<string>;
|
|
395
|
-
defaultTags?: Array<string>;
|
|
396
|
-
placeholder?: string;
|
|
397
|
-
onInputValueChange?(value: string): void;
|
|
398
|
-
onChange?(tags: Array<string>): void;
|
|
399
|
-
tagVariant?: React.ComponentProps<typeof Tag>["variant"];
|
|
400
|
-
tagColor?: React.ComponentProps<typeof Tag>["color"];
|
|
401
|
-
tagShape?: React.ComponentProps<typeof Tag>["shape"];
|
|
402
|
-
tagSize?: React.ComponentProps<typeof Tag>["size"];
|
|
403
|
-
renderTag?(value: string, onRemove: (value: string) => void): React.ReactNode;
|
|
404
|
-
}
|
|
405
|
-
export function TagInput({ appearance, size, label, error, placeholder, tags, defaultTags, tagColor, tagVariant, tagShape, tagSize, color, onChange, renderTag, shape, }: TagField): JSX.Element;
|
|
406
|
-
|
|
407
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;AEAA,QAAO,MAAM,gRA6BH,CAAC;AAEX,aAAoB,CAAA,sBAAsB,EAAC,MAAM,CAAC,CAAC;AAEnD,oBACI,OAAO,GACP,SAAS,GACT,OAAO,GACP,cAAc,GACd,WAAW,GACX,OAAO,GACP,QAAQ,CAAC;AAEb,oBAA2B,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAGhE,kBAAyB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,wBAA+B,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEnE,kCAAyC,OAAO,CAC9C,MAAM,CAAC,gBAAgB,EAAE;IAAE,OAAO,EAAE,YAAY,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC,CAClE,CAAC;AAUF,oBAA2B,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExE,0BACI,OAAO,GACP,QAAQ,GACR,KAAK,GACL,eAAe,GACf,cAAc,GACd,cAAc,CAAC;AAEnB,sBACI,OAAO,GACP,QAAQ,GACR,KAAK,GACL,SA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AAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,cAAc,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC;IACzD,QAAQ,CAAC,EAAE,MAAM,cAAc,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,MAAM,cAAc,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IACrD,OAAO,CAAC,EAAE,MAAM,cAAc,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACnD,SAAS,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,SAAS,CAAC;CAC/E;AAED,yBAAyB,EACvB,UAAsB,EACtB,IAAW,EACX,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EACJ,WAAW,EACX,QAAiB,EACjB,UAAoB,EACpB,QAAoB,EACpB,OAAc,EACd,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAiB,GAClB,EAAE,QAAQ,eAoKV","sources":["packages/parrot-ui/src/src/utils/assertions.ts","packages/parrot-ui/src/src/utils/dom.ts","packages/parrot-ui/src/src/utils/theme.ts","packages/parrot-ui/src/src/components/box/box.tsx","packages/parrot-ui/src/src/components/box/index.ts","packages/parrot-ui/src/src/utils/types.ts","packages/parrot-ui/src/src/components/grid/grid.tsx","packages/parrot-ui/src/src/components/grid/index.ts","packages/parrot-ui/src/src/components/flex/flex.tsx","packages/parrot-ui/src/src/components/flex/index.ts","packages/parrot-ui/src/src/components/text/text.tsx","packages/parrot-ui/src/src/components/text/index.ts","packages/parrot-ui/src/src/components/input-label/input-label.tsx","packages/parrot-ui/src/src/components/input-label/index.ts","packages/parrot-ui/src/src/components/input-error/input-error.tsx","packages/parrot-ui/src/src/components/input-error/index.ts","packages/parrot-ui/src/src/components/space/space.tsx","packages/parrot-ui/src/src/components/input/input.tsx","packages/parrot-ui/src/src/components/loader/loader.tsx","packages/parrot-ui/src/src/components/loader/index.ts","packages/parrot-ui/src/src/components/space/index.ts","packages/parrot-ui/src/src/utils/object.ts","packages/parrot-ui/src/src/components/button/button-group.tsx","packages/parrot-ui/src/src/components/theme/theme-provider.tsx","packages/parrot-ui/src/src/components/button/button.tsx","packages/parrot-ui/src/src/components/button/icon-button.tsx","packages/parrot-ui/src/src/components/button/index.ts","packages/parrot-ui/src/src/components/input/number-input.tsx","packages/parrot-ui/src/src/components/input/password-input.tsx","packages/parrot-ui/src/src/components/input/index.ts","packages/parrot-ui/src/src/components/textarea/textarea.tsx","packages/parrot-ui/src/src/components/textarea/index.ts","packages/parrot-ui/src/src/components/checkbox/checkbox-group.tsx","packages/parrot-ui/src/src/components/checkbox/checkbox.tsx","packages/parrot-ui/src/src/components/checkbox/index.ts","packages/parrot-ui/src/src/components/radio/radio.tsx","packages/parrot-ui/src/src/components/radio/radio-card.tsx","packages/parrot-ui/src/src/components/radio/index.ts","packages/parrot-ui/src/src/components/list-box/list-box.utils.tsx","packages/parrot-ui/src/src/components/list-box/list-box-provider.tsx","packages/parrot-ui/src/src/components/list-box/list-box.tsx","packages/parrot-ui/src/src/components/list-box/index.ts","packages/parrot-ui/src/src/utils/helpers.ts","packages/parrot-ui/src/src/components/tag/tag.tsx","packages/parrot-ui/src/src/components/tag/index.ts","packages/parrot-ui/src/src/components/popover/popover.tsx","packages/parrot-ui/src/src/components/popover/index.ts","packages/parrot-ui/src/src/components/select/select.tsx","packages/parrot-ui/src/src/components/select/index.ts","packages/parrot-ui/src/src/components/date-picker/date-field.tsx","packages/parrot-ui/src/src/utils/array.ts","packages/parrot-ui/src/src/components/date-picker/calendar.tsx","packages/parrot-ui/src/src/components/date-picker/date-picker.utils.ts","packages/parrot-ui/src/src/components/date-picker/date-picker.tsx","packages/parrot-ui/src/src/components/date-picker/index.ts","packages/parrot-ui/src/src/components/avatar/avatar.tsx","packages/parrot-ui/src/src/components/avatar/index.ts","packages/parrot-ui/src/src/components/file-uploader/file-uploader.tsx","packages/parrot-ui/src/src/components/file-uploader/index.ts","packages/parrot-ui/src/src/components/separator/separator.tsx","packages/parrot-ui/src/src/components/separator/index.ts","packages/parrot-ui/src/src/components/progress/progress.tsx","packages/parrot-ui/src/src/components/progress/index.ts","packages/parrot-ui/src/src/components/tabs/tabs.tsx","packages/parrot-ui/src/src/components/tabs/index.ts","packages/parrot-ui/src/src/components/switch/switch.tsx","packages/parrot-ui/src/src/components/switch/index.ts","packages/parrot-ui/src/src/components/color-tray/color-tray.tsx","packages/parrot-ui/src/src/components/color-tray/index.ts","packages/parrot-ui/src/src/components/icon-tray/icon-tray.tsx","packages/parrot-ui/src/src/components/icon-tray/index.ts","packages/parrot-ui/src/src/components/sticker/sticker.tsx","packages/parrot-ui/src/src/components/sticker/index.ts","packages/parrot-ui/src/src/components/table/table.tsx","packages/parrot-ui/src/src/components/table/index.ts","packages/parrot-ui/src/src/components/timeline/timeline.tsx","packages/parrot-ui/src/src/components/timeline/index.ts","packages/parrot-ui/src/src/components/modal/modal.tsx","packages/parrot-ui/src/src/components/modal/index.ts","packages/parrot-ui/src/src/utils/regex.ts","packages/parrot-ui/src/src/hooks/use-controlled-state.tsx","packages/parrot-ui/src/src/components/tag-input/tag-input.tsx","packages/parrot-ui/src/src/components/tag-input/index.ts","packages/parrot-ui/src/src/components/theme/index.ts","packages/parrot-ui/src/src/index.ts","packages/parrot-ui/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"export { Box } from \"./components/box\";\nexport { Grid, GridItem } from \"./components/grid\";\nexport { Flex } from \"./components/flex\";\nexport { Input, NumberInput } from \"./components/input\";\nexport { Text } from \"./components/text\";\nexport { Textarea } from \"./components/textarea\";\nexport { Button, IconButton, ButtonGroup } from \"./components/button\";\nexport { Checkbox, CheckboxGroup } from \"./components/checkbox\";\nexport { Radio, RadioGroup, RadioCard } from \"./components/radio\";\nexport { Select } from \"./components/select\";\nexport { DatePicker, Calendar } from \"./components/date-picker\";\nexport { Avatar } from \"./components/avatar\";\nexport { FileUploader } from \"./components/file-uploader\";\nexport { Separator } from \"./components/separator\";\nexport { Progress } from \"./components/progress\";\nexport { Loader } from \"./components/loader\";\nexport { Root, Item } from \"./components/tabs\";\nexport { Tag } from \"./components/tag\";\nexport { Switch } from \"./components/switch\";\nexport { ColorTray } from \"./components/color-tray\";\nexport { IconTray } from \"./components/icon-tray\";\nexport { Sticker } from \"./components/sticker\";\nexport { TabObject as Tabs } from \"./components/tabs\";\nexport { Table } from \"./components/table\";\nexport { Timeline } from \"./components/timeline\";\nexport { Modal, useModal } from \"./components/modal\";\nexport { Space } from \"./components/space\";\nexport { TagInput } from \"./components/tag-input\";\nexport { ThemeProvider, useTheme } from \"./components/theme\";\n\nexport type { ModalProps } from \"./components/modal\";\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|