@doscientos/ui 0.1.16 → 0.1.18
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/index.cjs +157 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -20
- package/dist/index.d.ts +35 -20
- package/dist/index.js +157 -131
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import { RefCallback, ReactNode, ComponentPropsWithRef } from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
4
5
|
import * as react_aria_components from 'react-aria-components';
|
|
5
6
|
import { DisclosureGroupProps, DisclosurePanelProps, DisclosureProps, ButtonProps as ButtonProps$1, LinkProps, Breadcrumb as Breadcrumb$1, Link, Breadcrumbs as Breadcrumbs$1, Separator as Separator$1, CheckboxProps as CheckboxProps$1, ComboBoxProps, Key, Popover as Popover$1, InputProps as InputProps$1, ListBoxItemProps, ListBoxProps, Input as Input$1, ListBox, ModalOverlayProps, Menu as Menu$1, MenuSectionProps, MenuItemProps, Header, SubmenuTrigger, MenuTrigger as MenuTrigger$1, TextAreaProps, MenuProps, PopoverProps as PopoverProps$1, DialogTrigger, NumberFieldProps, SearchFieldProps, SelectProps, SelectValue as SelectValue$1, Modal, Text, Heading, DialogTriggerProps, SwitchProps as SwitchProps$1, TabPanelProps as TabPanelProps$1, TabProps as TabProps$1, TabsProps as TabsProps$1, TabListProps, TabPanelsProps, Tooltip as Tooltip$1, TooltipTrigger as TooltipTrigger$1 } from 'react-aria-components';
|
|
6
7
|
export { ComboBoxProps, ComboBoxValue as ComboboxValue, DialogTriggerProps as PopoverTriggerProps, SearchFieldProps, SelectProps, DialogProps as SheetPrimitiveProps, DialogTriggerProps as SheetTriggerPrimitiveProps } from 'react-aria-components';
|
|
7
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
|
|
10
10
|
type AutosaveStatus = "idle" | "saving" | "saved" | "error";
|
|
@@ -35,6 +35,12 @@ interface UseFormDirtyResult<T extends HTMLFormElement = HTMLFormElement> {
|
|
|
35
35
|
/** Tracks changes in native form controls and supports controlled fields. */
|
|
36
36
|
declare function useFormDirty<T extends HTMLFormElement = HTMLFormElement>(): UseFormDirtyResult<T>;
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Adds a subtle, centered press ripple to an interactive element.
|
|
40
|
+
* The effect owns the element's `::after` pseudo-element.
|
|
41
|
+
*/
|
|
42
|
+
declare const actionRipple: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
43
|
+
|
|
38
44
|
/** Merges conditional class names, resolving conflicting Tailwind utilities. */
|
|
39
45
|
declare function cn(...inputs: ClassValue[]): string;
|
|
40
46
|
|
|
@@ -110,6 +116,18 @@ declare function BreadcrumbLink({ className, ...props }: React.ComponentProps<ty
|
|
|
110
116
|
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React$1.JSX.Element;
|
|
111
117
|
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"span">): React$1.JSX.Element;
|
|
112
118
|
|
|
119
|
+
type SeparatorProps = React.ComponentProps<typeof Separator$1>;
|
|
120
|
+
declare function Separator({ className, orientation, ...props }: SeparatorProps): React$1.JSX.Element;
|
|
121
|
+
|
|
122
|
+
declare const buttonGroupVariants: (props?: ({
|
|
123
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
124
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
125
|
+
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
126
|
+
declare function ButtonGroupText({ className, render, ...props }: React$1.ComponentProps<"div"> & {
|
|
127
|
+
render?: (props: React$1.HTMLAttributes<HTMLElement>) => React$1.ReactNode;
|
|
128
|
+
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
129
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
130
|
+
|
|
113
131
|
declare const buttonVariants: (props?: ({
|
|
114
132
|
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
115
133
|
size?: "default" | "sm" | "lg" | "xs" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
@@ -123,18 +141,6 @@ type LinkButtonProps = Omit<LinkProps, "className"> & VariantProps<typeof button
|
|
|
123
141
|
};
|
|
124
142
|
declare function LinkButton({ className, variant, size, ...props }: LinkButtonProps): React$1.JSX.Element;
|
|
125
143
|
|
|
126
|
-
type SeparatorProps = React.ComponentProps<typeof Separator$1>;
|
|
127
|
-
declare function Separator({ className, orientation, ...props }: SeparatorProps): React$1.JSX.Element;
|
|
128
|
-
|
|
129
|
-
declare const buttonGroupVariants: (props?: ({
|
|
130
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
131
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
132
|
-
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
133
|
-
declare function ButtonGroupText({ className, render, ...props }: React$1.ComponentProps<"div"> & {
|
|
134
|
-
render?: (props: React$1.HTMLAttributes<HTMLElement>) => React$1.ReactNode;
|
|
135
|
-
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
136
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
137
|
-
|
|
138
144
|
type CardProps = React$1.ComponentProps<"div"> & {
|
|
139
145
|
size?: "default" | "sm";
|
|
140
146
|
};
|
|
@@ -519,18 +525,27 @@ declare function SubmitButton({ pendingLabel, loading, children, isDisabled, siz
|
|
|
519
525
|
declare const switchSizes: {
|
|
520
526
|
readonly sm: {
|
|
521
527
|
readonly control: "h-4 w-[1.875rem] p-0.5";
|
|
522
|
-
readonly thumb: "h-3
|
|
523
|
-
readonly
|
|
528
|
+
readonly thumb: "h-3";
|
|
529
|
+
readonly idleWidth: "0.75rem";
|
|
530
|
+
readonly activeWidth: "1rem";
|
|
531
|
+
readonly selectedOffset: "0.875rem";
|
|
532
|
+
readonly activeSelectedOffset: "0.625rem";
|
|
524
533
|
};
|
|
525
534
|
readonly md: {
|
|
526
535
|
readonly control: "h-5 w-9 p-0.5";
|
|
527
|
-
readonly thumb: "h-4
|
|
528
|
-
readonly
|
|
536
|
+
readonly thumb: "h-4";
|
|
537
|
+
readonly idleWidth: "1rem";
|
|
538
|
+
readonly activeWidth: "1.25rem";
|
|
539
|
+
readonly selectedOffset: "1rem";
|
|
540
|
+
readonly activeSelectedOffset: "0.75rem";
|
|
529
541
|
};
|
|
530
542
|
readonly lg: {
|
|
531
543
|
readonly control: "h-6 w-11 p-0.5";
|
|
532
|
-
readonly thumb: "h-5
|
|
533
|
-
readonly
|
|
544
|
+
readonly thumb: "h-5";
|
|
545
|
+
readonly idleWidth: "1.25rem";
|
|
546
|
+
readonly activeWidth: "1.5rem";
|
|
547
|
+
readonly selectedOffset: "1.25rem";
|
|
548
|
+
readonly activeSelectedOffset: "1rem";
|
|
534
549
|
};
|
|
535
550
|
};
|
|
536
551
|
type SwitchProps = Omit<SwitchProps$1, "className"> & {
|
|
@@ -628,4 +643,4 @@ declare function Tooltip({ className, placement, offset, crossOffset, children,
|
|
|
628
643
|
children?: React$1.ReactNode;
|
|
629
644
|
}): React$1.JSX.Element;
|
|
630
645
|
|
|
631
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, type AlertProps, AlertTitle, AppShell, type AppShellBreakpoint, AppShellContent, type AppShellContentProps, AppShellHeader, AppShellMain, AppShellMobileHeader, type AppShellProps, AppShellSidebar, AutocompleteCombobox, type AutocompleteComboboxProps, type AutosaveStatus, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type AvatarProps, Badge, BadgeLink, type BadgeLinkProps, type BadgeProps, Breadcrumb, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxList, Command, CommandContent, CommandInput, CommandItem, CommandList, ConfirmDialog, type ConfirmDialogProps, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateContent, EmptyStateDescription, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, FormFeedback, type FormFeedbackProps, type FormFeedbackState, FormRow, type FormRowProps, HighlightMatch, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, InputGroupButton, type InputGroupButtonProps, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Kbd, KbdGroup, Label, type LabelProps, LinkButton, type LinkButtonProps, LoadingOverlay, Menu, MenuContent, MenuItem, MenuTrigger, ModalDialog, type ModalDialogProps, OtpInput, type OtpInputProps, PageHeader, PageHeaderActions, PageHeaderDescription, PageHeaderHeading, PageHeaderTitle, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverProps, PopoverTrigger, QuantityInput, type QuantityInputProps, SearchClearButton, SearchField, SearchInput, Select, SelectContent, SelectItem, SelectList, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, type SidebarItemProps, SidebarMore, SidebarProvider, SidebarRail, SidebarSearch, SidebarSeparator, SidebarTrigger, Skeleton, SubmitButton, type SubmitButtonProps, Switch, type SwitchProps, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsPanels, type TabsProps, TabsTrigger, type TextMatchPart, Textarea, type TextareaProps, Toast, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastVariant, ToastViewport, Toaster, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, TooltipTrigger, type UseAutosaveOptions, type UseFormDirtyResult, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, cn, emptyStateMediaVariants, fieldVariants, formSnapshot, getTextMatchParts, inputGroupAddonVariants, toast, useAutosave, useDebouncedValue, useFormDirty, useFormFeedback, useSidebar, useToast };
|
|
646
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, type AlertProps, AlertTitle, AppShell, type AppShellBreakpoint, AppShellContent, type AppShellContentProps, AppShellHeader, AppShellMain, AppShellMobileHeader, type AppShellProps, AppShellSidebar, AutocompleteCombobox, type AutocompleteComboboxProps, type AutosaveStatus, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type AvatarProps, Badge, BadgeLink, type BadgeLinkProps, type BadgeProps, Breadcrumb, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxList, Command, CommandContent, CommandInput, CommandItem, CommandList, ConfirmDialog, type ConfirmDialogProps, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateContent, EmptyStateDescription, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, FormFeedback, type FormFeedbackProps, type FormFeedbackState, FormRow, type FormRowProps, HighlightMatch, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, InputGroupButton, type InputGroupButtonProps, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Kbd, KbdGroup, Label, type LabelProps, LinkButton, type LinkButtonProps, LoadingOverlay, Menu, MenuContent, MenuItem, MenuTrigger, ModalDialog, type ModalDialogProps, OtpInput, type OtpInputProps, PageHeader, PageHeaderActions, PageHeaderDescription, PageHeaderHeading, PageHeaderTitle, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverProps, PopoverTrigger, QuantityInput, type QuantityInputProps, SearchClearButton, SearchField, SearchInput, Select, SelectContent, SelectItem, SelectList, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, type SidebarItemProps, SidebarMore, SidebarProvider, SidebarRail, SidebarSearch, SidebarSeparator, SidebarTrigger, Skeleton, SubmitButton, type SubmitButtonProps, Switch, type SwitchProps, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsPanels, type TabsProps, TabsTrigger, type TextMatchPart, Textarea, type TextareaProps, Toast, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastVariant, ToastViewport, Toaster, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, TooltipTrigger, type UseAutosaveOptions, type UseFormDirtyResult, actionRipple, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, cn, emptyStateMediaVariants, fieldVariants, formSnapshot, getTextMatchParts, inputGroupAddonVariants, toast, useAutosave, useDebouncedValue, useFormDirty, useFormFeedback, useSidebar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import { RefCallback, ReactNode, ComponentPropsWithRef } from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
4
5
|
import * as react_aria_components from 'react-aria-components';
|
|
5
6
|
import { DisclosureGroupProps, DisclosurePanelProps, DisclosureProps, ButtonProps as ButtonProps$1, LinkProps, Breadcrumb as Breadcrumb$1, Link, Breadcrumbs as Breadcrumbs$1, Separator as Separator$1, CheckboxProps as CheckboxProps$1, ComboBoxProps, Key, Popover as Popover$1, InputProps as InputProps$1, ListBoxItemProps, ListBoxProps, Input as Input$1, ListBox, ModalOverlayProps, Menu as Menu$1, MenuSectionProps, MenuItemProps, Header, SubmenuTrigger, MenuTrigger as MenuTrigger$1, TextAreaProps, MenuProps, PopoverProps as PopoverProps$1, DialogTrigger, NumberFieldProps, SearchFieldProps, SelectProps, SelectValue as SelectValue$1, Modal, Text, Heading, DialogTriggerProps, SwitchProps as SwitchProps$1, TabPanelProps as TabPanelProps$1, TabProps as TabProps$1, TabsProps as TabsProps$1, TabListProps, TabPanelsProps, Tooltip as Tooltip$1, TooltipTrigger as TooltipTrigger$1 } from 'react-aria-components';
|
|
6
7
|
export { ComboBoxProps, ComboBoxValue as ComboboxValue, DialogTriggerProps as PopoverTriggerProps, SearchFieldProps, SelectProps, DialogProps as SheetPrimitiveProps, DialogTriggerProps as SheetTriggerPrimitiveProps } from 'react-aria-components';
|
|
7
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
|
|
10
10
|
type AutosaveStatus = "idle" | "saving" | "saved" | "error";
|
|
@@ -35,6 +35,12 @@ interface UseFormDirtyResult<T extends HTMLFormElement = HTMLFormElement> {
|
|
|
35
35
|
/** Tracks changes in native form controls and supports controlled fields. */
|
|
36
36
|
declare function useFormDirty<T extends HTMLFormElement = HTMLFormElement>(): UseFormDirtyResult<T>;
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Adds a subtle, centered press ripple to an interactive element.
|
|
40
|
+
* The effect owns the element's `::after` pseudo-element.
|
|
41
|
+
*/
|
|
42
|
+
declare const actionRipple: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
43
|
+
|
|
38
44
|
/** Merges conditional class names, resolving conflicting Tailwind utilities. */
|
|
39
45
|
declare function cn(...inputs: ClassValue[]): string;
|
|
40
46
|
|
|
@@ -110,6 +116,18 @@ declare function BreadcrumbLink({ className, ...props }: React.ComponentProps<ty
|
|
|
110
116
|
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React$1.JSX.Element;
|
|
111
117
|
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"span">): React$1.JSX.Element;
|
|
112
118
|
|
|
119
|
+
type SeparatorProps = React.ComponentProps<typeof Separator$1>;
|
|
120
|
+
declare function Separator({ className, orientation, ...props }: SeparatorProps): React$1.JSX.Element;
|
|
121
|
+
|
|
122
|
+
declare const buttonGroupVariants: (props?: ({
|
|
123
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
124
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
125
|
+
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
126
|
+
declare function ButtonGroupText({ className, render, ...props }: React$1.ComponentProps<"div"> & {
|
|
127
|
+
render?: (props: React$1.HTMLAttributes<HTMLElement>) => React$1.ReactNode;
|
|
128
|
+
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
129
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
130
|
+
|
|
113
131
|
declare const buttonVariants: (props?: ({
|
|
114
132
|
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
115
133
|
size?: "default" | "sm" | "lg" | "xs" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
@@ -123,18 +141,6 @@ type LinkButtonProps = Omit<LinkProps, "className"> & VariantProps<typeof button
|
|
|
123
141
|
};
|
|
124
142
|
declare function LinkButton({ className, variant, size, ...props }: LinkButtonProps): React$1.JSX.Element;
|
|
125
143
|
|
|
126
|
-
type SeparatorProps = React.ComponentProps<typeof Separator$1>;
|
|
127
|
-
declare function Separator({ className, orientation, ...props }: SeparatorProps): React$1.JSX.Element;
|
|
128
|
-
|
|
129
|
-
declare const buttonGroupVariants: (props?: ({
|
|
130
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
131
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
132
|
-
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
133
|
-
declare function ButtonGroupText({ className, render, ...props }: React$1.ComponentProps<"div"> & {
|
|
134
|
-
render?: (props: React$1.HTMLAttributes<HTMLElement>) => React$1.ReactNode;
|
|
135
|
-
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
136
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
137
|
-
|
|
138
144
|
type CardProps = React$1.ComponentProps<"div"> & {
|
|
139
145
|
size?: "default" | "sm";
|
|
140
146
|
};
|
|
@@ -519,18 +525,27 @@ declare function SubmitButton({ pendingLabel, loading, children, isDisabled, siz
|
|
|
519
525
|
declare const switchSizes: {
|
|
520
526
|
readonly sm: {
|
|
521
527
|
readonly control: "h-4 w-[1.875rem] p-0.5";
|
|
522
|
-
readonly thumb: "h-3
|
|
523
|
-
readonly
|
|
528
|
+
readonly thumb: "h-3";
|
|
529
|
+
readonly idleWidth: "0.75rem";
|
|
530
|
+
readonly activeWidth: "1rem";
|
|
531
|
+
readonly selectedOffset: "0.875rem";
|
|
532
|
+
readonly activeSelectedOffset: "0.625rem";
|
|
524
533
|
};
|
|
525
534
|
readonly md: {
|
|
526
535
|
readonly control: "h-5 w-9 p-0.5";
|
|
527
|
-
readonly thumb: "h-4
|
|
528
|
-
readonly
|
|
536
|
+
readonly thumb: "h-4";
|
|
537
|
+
readonly idleWidth: "1rem";
|
|
538
|
+
readonly activeWidth: "1.25rem";
|
|
539
|
+
readonly selectedOffset: "1rem";
|
|
540
|
+
readonly activeSelectedOffset: "0.75rem";
|
|
529
541
|
};
|
|
530
542
|
readonly lg: {
|
|
531
543
|
readonly control: "h-6 w-11 p-0.5";
|
|
532
|
-
readonly thumb: "h-5
|
|
533
|
-
readonly
|
|
544
|
+
readonly thumb: "h-5";
|
|
545
|
+
readonly idleWidth: "1.25rem";
|
|
546
|
+
readonly activeWidth: "1.5rem";
|
|
547
|
+
readonly selectedOffset: "1.25rem";
|
|
548
|
+
readonly activeSelectedOffset: "1rem";
|
|
534
549
|
};
|
|
535
550
|
};
|
|
536
551
|
type SwitchProps = Omit<SwitchProps$1, "className"> & {
|
|
@@ -628,4 +643,4 @@ declare function Tooltip({ className, placement, offset, crossOffset, children,
|
|
|
628
643
|
children?: React$1.ReactNode;
|
|
629
644
|
}): React$1.JSX.Element;
|
|
630
645
|
|
|
631
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, type AlertProps, AlertTitle, AppShell, type AppShellBreakpoint, AppShellContent, type AppShellContentProps, AppShellHeader, AppShellMain, AppShellMobileHeader, type AppShellProps, AppShellSidebar, AutocompleteCombobox, type AutocompleteComboboxProps, type AutosaveStatus, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type AvatarProps, Badge, BadgeLink, type BadgeLinkProps, type BadgeProps, Breadcrumb, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxList, Command, CommandContent, CommandInput, CommandItem, CommandList, ConfirmDialog, type ConfirmDialogProps, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateContent, EmptyStateDescription, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, FormFeedback, type FormFeedbackProps, type FormFeedbackState, FormRow, type FormRowProps, HighlightMatch, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, InputGroupButton, type InputGroupButtonProps, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Kbd, KbdGroup, Label, type LabelProps, LinkButton, type LinkButtonProps, LoadingOverlay, Menu, MenuContent, MenuItem, MenuTrigger, ModalDialog, type ModalDialogProps, OtpInput, type OtpInputProps, PageHeader, PageHeaderActions, PageHeaderDescription, PageHeaderHeading, PageHeaderTitle, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverProps, PopoverTrigger, QuantityInput, type QuantityInputProps, SearchClearButton, SearchField, SearchInput, Select, SelectContent, SelectItem, SelectList, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, type SidebarItemProps, SidebarMore, SidebarProvider, SidebarRail, SidebarSearch, SidebarSeparator, SidebarTrigger, Skeleton, SubmitButton, type SubmitButtonProps, Switch, type SwitchProps, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsPanels, type TabsProps, TabsTrigger, type TextMatchPart, Textarea, type TextareaProps, Toast, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastVariant, ToastViewport, Toaster, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, TooltipTrigger, type UseAutosaveOptions, type UseFormDirtyResult, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, cn, emptyStateMediaVariants, fieldVariants, formSnapshot, getTextMatchParts, inputGroupAddonVariants, toast, useAutosave, useDebouncedValue, useFormDirty, useFormFeedback, useSidebar, useToast };
|
|
646
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, type AlertProps, AlertTitle, AppShell, type AppShellBreakpoint, AppShellContent, type AppShellContentProps, AppShellHeader, AppShellMain, AppShellMobileHeader, type AppShellProps, AppShellSidebar, AutocompleteCombobox, type AutocompleteComboboxProps, type AutosaveStatus, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type AvatarProps, Badge, BadgeLink, type BadgeLinkProps, type BadgeProps, Breadcrumb, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxList, Command, CommandContent, CommandInput, CommandItem, CommandList, ConfirmDialog, type ConfirmDialogProps, Drawer, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateContent, EmptyStateDescription, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, FormFeedback, type FormFeedbackProps, type FormFeedbackState, FormRow, type FormRowProps, HighlightMatch, IconButton, type IconButtonProps, Input, InputGroup, InputGroupAddon, InputGroupButton, type InputGroupButtonProps, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, Kbd, KbdGroup, Label, type LabelProps, LinkButton, type LinkButtonProps, LoadingOverlay, Menu, MenuContent, MenuItem, MenuTrigger, ModalDialog, type ModalDialogProps, OtpInput, type OtpInputProps, PageHeader, PageHeaderActions, PageHeaderDescription, PageHeaderHeading, PageHeaderTitle, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverProps, PopoverTrigger, QuantityInput, type QuantityInputProps, SearchClearButton, SearchField, SearchInput, Select, SelectContent, SelectItem, SelectList, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, type SidebarItemProps, SidebarMore, SidebarProvider, SidebarRail, SidebarSearch, SidebarSeparator, SidebarTrigger, Skeleton, SubmitButton, type SubmitButtonProps, Switch, type SwitchProps, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsPanels, type TabsProps, TabsTrigger, type TextMatchPart, Textarea, type TextareaProps, Toast, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastVariant, ToastViewport, Toaster, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, TooltipTrigger, type UseAutosaveOptions, type UseFormDirtyResult, actionRipple, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, cn, emptyStateMediaVariants, fieldVariants, formSnapshot, getTextMatchParts, inputGroupAddonVariants, toast, useAutosave, useDebouncedValue, useFormDirty, useFormFeedback, useSidebar, useToast };
|