@braintwopoint0/playback-commons 0.1.9 → 0.1.11
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/ui/index.d.ts +47 -1
- package/dist/ui/index.js +727 -89
- package/dist/ui/index.js.map +1 -1
- package/package.json +5 -2
package/dist/ui/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
6
6
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
9
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
10
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
9
11
|
import * as RechartsPrimitive from 'recharts';
|
|
10
12
|
|
|
11
13
|
declare const buttonVariants: (props?: ({
|
|
@@ -58,6 +60,8 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
|
58
60
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
59
61
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
60
62
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
63
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
61
65
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
62
66
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
63
67
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -111,6 +115,48 @@ declare const Highlight: ({ children, className, }: {
|
|
|
111
115
|
className?: string;
|
|
112
116
|
}) => react_jsx_runtime.JSX.Element;
|
|
113
117
|
|
|
118
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
119
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
120
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
121
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
122
|
+
|
|
123
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
124
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>['variant'];
|
|
125
|
+
}): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
|
|
128
|
+
interface DatePickerProps {
|
|
129
|
+
value: string;
|
|
130
|
+
onChange: (value: string) => void;
|
|
131
|
+
min?: string;
|
|
132
|
+
max?: string;
|
|
133
|
+
className?: string;
|
|
134
|
+
id?: string;
|
|
135
|
+
placeholder?: string;
|
|
136
|
+
}
|
|
137
|
+
declare function DatePicker({ value, onChange, min, max, className, id, placeholder, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
138
|
+
|
|
139
|
+
interface TimePickerProps {
|
|
140
|
+
value?: string;
|
|
141
|
+
onChange?: (value: string) => void;
|
|
142
|
+
placeholder?: string;
|
|
143
|
+
className?: string;
|
|
144
|
+
disabled?: boolean;
|
|
145
|
+
min?: string;
|
|
146
|
+
max?: string;
|
|
147
|
+
}
|
|
148
|
+
declare function TimePicker({ value, onChange, placeholder, className, disabled, min, max, }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
149
|
+
|
|
150
|
+
interface DateTimePickerProps {
|
|
151
|
+
value: string;
|
|
152
|
+
onChange: (value: string) => void;
|
|
153
|
+
placeholder?: string;
|
|
154
|
+
className?: string;
|
|
155
|
+
disabled?: boolean;
|
|
156
|
+
required?: boolean;
|
|
157
|
+
}
|
|
158
|
+
declare function DateTimePicker({ value, onChange, placeholder, className, disabled, required, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
159
|
+
|
|
114
160
|
declare const THEMES: {
|
|
115
161
|
readonly light: "";
|
|
116
162
|
readonly dark: ".dark";
|
|
@@ -149,4 +195,4 @@ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlig
|
|
|
149
195
|
nameKey?: string;
|
|
150
196
|
}): react_jsx_runtime.JSX.Element | null;
|
|
151
197
|
|
|
152
|
-
export { AnimatedTooltip, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FlipWords, HeroHighlight, Highlight, HoverCard, HoverCardDescription, HoverCardTitle, HoverEffect, Input, type InputProps, Label, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, badgeVariants, buttonVariants };
|
|
198
|
+
export { AnimatedTooltip, Badge, type BadgeProps, Button, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, DatePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FlipWords, HeroHighlight, Highlight, HoverCard, HoverCardDescription, HoverCardTitle, HoverEffect, Input, type InputProps, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, TimePicker, badgeVariants, buttonVariants };
|