@maxsteinwender/sort-ui 0.1.0 → 1.0.2
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/LICENSE +1 -0
- package/README.md +35 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Regular.woff2 +0 -0
- package/dist/fonts/remixicon/remixicon.woff2 +0 -0
- package/dist/form.d.mts +28 -0
- package/dist/form.d.ts +28 -0
- package/dist/form.js +203 -0
- package/dist/form.mjs +173 -0
- package/dist/index.d.mts +14 -25
- package/dist/index.d.ts +14 -25
- package/dist/index.js +537 -580
- package/dist/index.mjs +535 -572
- package/dist/styles.css +376 -277
- package/dist/tailwind-preset.js +5 -0
- package/dist/tailwind-preset.mjs +5 -0
- package/package.json +18 -10
package/dist/index.d.ts
CHANGED
|
@@ -16,9 +16,6 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
|
16
16
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
17
17
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
18
18
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
20
|
-
import * as react_hook_form from 'react-hook-form';
|
|
21
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
22
19
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
23
20
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
24
21
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
@@ -408,12 +405,24 @@ declare namespace CalendarDayButton {
|
|
|
408
405
|
var displayName: string;
|
|
409
406
|
}
|
|
410
407
|
|
|
411
|
-
declare const
|
|
408
|
+
declare const cardVariants: (props?: ({
|
|
409
|
+
variant?: "default" | "flat" | null | undefined;
|
|
410
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
411
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
412
|
+
}
|
|
413
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
412
414
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
413
415
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
414
416
|
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
415
417
|
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
416
418
|
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
419
|
+
interface CardCoverProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
420
|
+
/** Edge-to-edge cover — no inner radius, no inner border. */
|
|
421
|
+
flush?: boolean;
|
|
422
|
+
/** CSS aspect-ratio string (e.g. "3/2", "16/9"). Default: "3/2". */
|
|
423
|
+
aspectRatio?: string;
|
|
424
|
+
}
|
|
425
|
+
declare const CardCover: React$1.ForwardRefExoticComponent<CardCoverProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
417
426
|
|
|
418
427
|
declare const THEMES: {
|
|
419
428
|
readonly light: "";
|
|
@@ -1002,26 +1011,6 @@ interface FileUploadCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement
|
|
|
1002
1011
|
}
|
|
1003
1012
|
declare const FileUploadCard: React$1.ForwardRefExoticComponent<FileUploadCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1004
1013
|
|
|
1005
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
1006
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
1007
|
-
declare const useFormField: () => {
|
|
1008
|
-
invalid: boolean;
|
|
1009
|
-
isDirty: boolean;
|
|
1010
|
-
isTouched: boolean;
|
|
1011
|
-
isValidating: boolean;
|
|
1012
|
-
error?: react_hook_form.FieldError;
|
|
1013
|
-
id: string;
|
|
1014
|
-
name: string;
|
|
1015
|
-
formItemId: string;
|
|
1016
|
-
formDescriptionId: string;
|
|
1017
|
-
formMessageId: string;
|
|
1018
|
-
};
|
|
1019
|
-
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1020
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1021
|
-
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
1022
|
-
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1023
|
-
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1024
|
-
|
|
1025
1014
|
declare const gridTableHeaderItemVariants: (props?: ({
|
|
1026
1015
|
variant?: "label" | "checkbox" | "icon" | "empty" | null | undefined;
|
|
1027
1016
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2235,4 +2224,4 @@ interface VerticalStepperItemProps extends React$1.HTMLAttributes<HTMLDivElement
|
|
|
2235
2224
|
}
|
|
2236
2225
|
declare const VerticalStepperItem: React$1.ForwardRefExoticComponent<VerticalStepperItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2237
2226
|
|
|
2238
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps,
|
|
2227
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardCover, type CardCoverProps, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps, type GridSortDirection, GridTableCell, type GridTableCellProps, GridTableHeaderItem, type GridTableHeaderItemProps, GridTableRow, type GridTableRowProps, GridTableSlotItem, type GridTableSlotItemProps, HorizontalStepper, HorizontalStepperItem, type HorizontalStepperItemProps, type HorizontalStepperProps, InlineTips, Input, InputButton, type InputButtonProps, InputCaption, type InputCaptionProps, InputField, type InputFieldProps, InputStepper, type InputStepperProps, Label, LinkButton, type LinkButtonProps, MenuSearchInput, type MenuSearchInputProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageItem, type PageItemProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paginator, type PaginatorProps, type PasswordRequirement, Popover, PopoverContent, PopoverTrigger, Progress, ProgressBar, type ProgressBarProps, RadialProgressBar, type RadialProgressBarProps, RadioButton, RadioButtonCard, RadioButtonList, type RadioButtonListProps, RadioButtonWithText, RadioCardGroup, RadioGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, SelectLabel, SelectMenu, SelectMenuDescription, SelectMenuFooterButton, type SelectMenuFooterButtonProps, type SelectMenuIndicator, SelectMenuItem, type SelectMenuItemProps, SelectMenuLabel, type SelectMenuLabelProps, SelectMenuLargeItem, type SelectMenuLargeItemProps, type SelectMenuProps, SelectMenuSeparator, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Toaster as ShadcnToaster, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCard, type SidebarCardProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderHandle, SliderInput, SliderRange, SliderRangeInput, type SlotState, type SocialBrand, SocialButton, type SocialButtonProps, SortBreadcrumb, SortBreadcrumbItem, type SortBreadcrumbItemProps, type SortBreadcrumbProps, type SortDirection, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeVariant, type StepperColorMode, StepperIcon, type StepperIconProps, StepperNumber, type StepperNumberProps, type StepperState, type StepperStep, type StepperVariant, Switch, SwitchList, type SwitchListProps, SwitchWithText, type SwitchWithTextProps, TabItem, type TabItemProps, TabList, type TabListProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableHeaderItem, TableItem, TablePagination, type TablePaginationProps, TableRow, TableRowSort, type TableSkeletonColumn, TableSkeletonRow, type TableSkeletonRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, type TextAreaFieldProps, Textarea, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, UnderlineTabItem, UnderlineTabsList, type UploadFile, Userbar, type UserbarProps, VerticalStepper, type VerticalStepperColorMode, VerticalStepperItem, type VerticalStepperItemProps, type VerticalStepperProps, type VerticalStepperStep, accordionItemVariants, avatarButtonVariants, avatarVariants, buttonGroupItemVariants, buttonVariants, cardVariants, checkboxCardVariants, checkboxVariants, checkboxWithTextVariants, chipVariants, controlButtonVariants, datePickerInputContainerVariants, dividerVariants, emptyStateVariants, extractInitials, fileUploadCardVariants, filterButtonVariants, formatBytes, gridTableHeaderItemVariants, gridTableRowVariants, gridTableSlotItemVariants, horizontalStepperItemVariants, inlineTipsVariants, inputButtonVariants, inputContainerVariants, lineVariants, linkButtonVariants, navigationMenuTriggerStyle, pageItemVariants, progressBarVariants, radialProgressBarVariants, radioButtonCardVariants, radioButtonVariants, radioButtonWithTextVariants, sidebarCardVariants, sidebarMenuItemVariants, sliderHandleVariants, socialButtonVariants, stepperIconVariants, stepperNumberVariants, tabItemVariants, tabListVariants, tableHeaderItemVariants, tableItemVariants, tableRowSortVariants, textAreaContainerVariants, toggleVariants, tooltipContentVariants, underlineTabItemVariants, underlineTabsListVariants, useSidebar, userbarVariants, validateFile };
|