@murabei-data-science/pumpwood-ui 1.4.5 → 1.4.7
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/components.d.ts +36 -13
- package/dist/components.esm.js +4 -4
- package/dist/components.js +5 -5
- package/dist/index.css +1 -1
- package/dist/types/components/Stack/index.d.ts +11 -12
- package/dist/types/components/Timeline/index.d.ts +58 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/ui/timeline.d.ts +25 -0
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import { ReactNode, ReactElement, ComponentType, HTMLAttributes, InputHTMLAttributes } from 'react';
|
|
3
|
+
import { ReactNode, ReactElement, ComponentType, HTMLAttributes, InputHTMLAttributes, TimeHTMLAttributes } from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { FileWithPath, Accept } from 'react-dropzone';
|
|
@@ -757,16 +757,6 @@ declare const Sidebar: {
|
|
|
757
757
|
Action: typeof Action;
|
|
758
758
|
};
|
|
759
759
|
|
|
760
|
-
type StackProps = HTMLAttributes<HTMLDivElement> & {
|
|
761
|
-
children: ReactNode;
|
|
762
|
-
/** The direction of the stack. Defaults to 'col'. */
|
|
763
|
-
direction?: "row" | "col";
|
|
764
|
-
/** The gap between elements. Maps to Tailwind gap utility (e.g. 4 -> gap-4). */
|
|
765
|
-
gap?: number;
|
|
766
|
-
/** Click handler. When set, the stack becomes keyboard-accessible (role="button"). */
|
|
767
|
-
onClick?: () => void;
|
|
768
|
-
className?: string;
|
|
769
|
-
};
|
|
770
760
|
/**
|
|
771
761
|
* A layout component that arranges children in a stack (vertical or horizontal).
|
|
772
762
|
*
|
|
@@ -782,7 +772,16 @@ type StackProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
782
772
|
* </Stack>
|
|
783
773
|
* ```
|
|
784
774
|
*/
|
|
785
|
-
declare
|
|
775
|
+
declare const Stack: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
776
|
+
children: ReactNode;
|
|
777
|
+
/** The direction of the stack. Defaults to 'col'. */
|
|
778
|
+
direction?: "row" | "col";
|
|
779
|
+
/** The gap between elements. Maps to Tailwind gap utility (e.g. 4 -> gap-4). */
|
|
780
|
+
gap?: number;
|
|
781
|
+
/** Click handler. When set, the stack becomes keyboard-accessible (role="button"). */
|
|
782
|
+
onClick?: () => void;
|
|
783
|
+
className?: string;
|
|
784
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
786
785
|
|
|
787
786
|
/**
|
|
788
787
|
* Column definition for Table.
|
|
@@ -1316,10 +1315,34 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
1316
1315
|
|
|
1317
1316
|
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
1318
1317
|
|
|
1318
|
+
interface TimelineProps extends HTMLAttributes<HTMLDivElement> {
|
|
1319
|
+
defaultValue?: number;
|
|
1320
|
+
value?: number;
|
|
1321
|
+
onValueChange?: (value: number) => void;
|
|
1322
|
+
orientation?: "horizontal" | "vertical";
|
|
1323
|
+
variant?: "steps" | "events";
|
|
1324
|
+
}
|
|
1325
|
+
declare function Timeline({ defaultValue, value, onValueChange, orientation, variant, className, children, ...props }: TimelineProps): React.JSX.Element;
|
|
1326
|
+
declare function TimelineContent({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
1327
|
+
interface TimelineDateProps extends TimeHTMLAttributes<HTMLTimeElement> {
|
|
1328
|
+
asChild?: boolean;
|
|
1329
|
+
}
|
|
1330
|
+
declare function TimelineDate({ asChild, className, ...props }: TimelineDateProps): React.JSX.Element;
|
|
1331
|
+
declare function TimelineHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
1332
|
+
/** @deprecated Vertical timelines render the rail inside TimelineItem. */
|
|
1333
|
+
declare function TimelineIndicator(_props: HTMLAttributes<HTMLDivElement>): null;
|
|
1334
|
+
interface TimelineItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
1335
|
+
step: number;
|
|
1336
|
+
}
|
|
1337
|
+
declare function TimelineItem({ step, className, children, ...props }: TimelineItemProps): React.JSX.Element;
|
|
1338
|
+
/** @deprecated Vertical timelines render the rail inside TimelineItem. */
|
|
1339
|
+
declare function TimelineSeparator(_props: HTMLAttributes<HTMLDivElement>): null;
|
|
1340
|
+
declare function TimelineTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): React.JSX.Element;
|
|
1341
|
+
|
|
1319
1342
|
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1320
1343
|
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1321
1344
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1322
1345
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1323
1346
|
|
|
1324
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertWithIcon, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClearButton, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, DatePicker, DeleteDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DownloadButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, PumpwoodDropzone as Dropzone, Empty, EmptyContainer, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorBoundary, ErrorMessage, ErrorToastContent, FKSelect, FileDropzone, Input, Label, Loading, MarkdownEditor, MultiSelectDropdown, NoResult, Pagination, PopConfirm, Popover, PopoverContent, PopoverTrigger, PumpwoodBadge, PumpwoodCard, PumpwoodTable, Radio, RangePicker, Select$1 as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, Select as SelectPrimitive, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, Skeleton, Spinner, Stack, Table$1 as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, Table as TablePrimitive, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, Textarea, Tooltip, TooltipComponent, TooltipContent, TooltipProvider, TooltipTrigger, Typography, badgeVariants, createFKSelectFetcher, fkSelectFetcher, pumpwoodBadgeVariants, useSidebarCollapse };
|
|
1347
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertWithIcon, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClearButton, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, DatePicker, DeleteDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DownloadButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, PumpwoodDropzone as Dropzone, Empty, EmptyContainer, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorBoundary, ErrorMessage, ErrorToastContent, FKSelect, FileDropzone, Input, Label, Loading, MarkdownEditor, MultiSelectDropdown, NoResult, Pagination, PopConfirm, Popover, PopoverContent, PopoverTrigger, PumpwoodBadge, PumpwoodCard, PumpwoodTable, Radio, RangePicker, Select$1 as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, Select as SelectPrimitive, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, Skeleton, Spinner, Stack, Table$1 as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, Table as TablePrimitive, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, Textarea, Timeline, TimelineContent, TimelineDate, TimelineHeader, TimelineIndicator, TimelineItem, TimelineSeparator, TimelineTitle, Tooltip, TooltipComponent, TooltipContent, TooltipProvider, TooltipTrigger, Typography, badgeVariants, createFKSelectFetcher, fkSelectFetcher, pumpwoodBadgeVariants, useSidebarCollapse };
|
|
1325
1348
|
export type { ComboboxItem, CreateFKSelectFetcherOptions, DynamicListFn, DynamicListPagination, FKFetcherPageResult, FKFetcherParams, FKFetcherReturn, FKSelectFetcherParams, IAlertWithIconProps, IDatePickerProps, IFKSelectProps, IMarkdownEditorProps, IMultiSelectOption, IRangePickerProps, ISelectFKProps, ISelectProps, IStaticSelectProps, ITableColumn, ITableProps, ITagItem, IUseSidebarCollapseOptions, PopConfirmProps, RetrieveFileFn };
|