@braintwopoint0/playback-commons 0.1.10 → 0.1.12
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 +622 -25
- 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?: ({
|
|
@@ -113,6 +115,48 @@ declare const Highlight: ({ children, className, }: {
|
|
|
113
115
|
className?: string;
|
|
114
116
|
}) => react_jsx_runtime.JSX.Element;
|
|
115
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
|
+
|
|
116
160
|
declare const THEMES: {
|
|
117
161
|
readonly light: "";
|
|
118
162
|
readonly dark: ".dark";
|
|
@@ -151,4 +195,6 @@ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlig
|
|
|
151
195
|
nameKey?: string;
|
|
152
196
|
}): react_jsx_runtime.JSX.Element | null;
|
|
153
197
|
|
|
154
|
-
|
|
198
|
+
declare function Footer(): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
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, Footer, 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 };
|