@herca/r-kit 0.0.85 → 0.0.86
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/clients.cjs +6 -4
- package/dist/clients.cjs.map +1 -1
- package/dist/clients.d.cts +2 -1
- package/dist/clients.d.ts +2 -1
- package/dist/clients.js +5 -4
- package/dist/clients.js.map +1 -1
- package/package.json +1 -1
package/dist/clients.d.cts
CHANGED
|
@@ -475,6 +475,7 @@ declare function DropdownContent({ children, className, portalProps, ...props }:
|
|
|
475
475
|
declare function DropdownItem({ children, className, ...props }: {
|
|
476
476
|
children: React.ReactNode;
|
|
477
477
|
} & DropdownMenu.DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
478
|
+
declare function DropdownSeparator(): react_jsx_runtime.JSX.Element;
|
|
478
479
|
|
|
479
480
|
declare function useCopy(): {
|
|
480
481
|
copy: (text: string) => Promise<void>;
|
|
@@ -1291,4 +1292,4 @@ declare function DndItem({ containerId, index, children, className, activeClassN
|
|
|
1291
1292
|
declare const DndContext: react.Context<DndContextProps<unknown> | null>;
|
|
1292
1293
|
declare function useDndContext(): DndContextProps<unknown>;
|
|
1293
1294
|
|
|
1294
|
-
export { type AsyncLoadParams, type AsyncLoadResult, AsyncSelect, type AsyncSelectProps, type AttachmentField, BaseCheckbox, type BaseOption, BaseRadio, BaseSwitch, ButtonDropdown, type ButtonDropdownProps, ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonIconProps, ButtonNavigator, Calendar, type CalendarBaseProps, type CalendarDay, type CalendarDayConfig, type CalendarDayItemProps, type CalendarEvent, type CalendarGridProps, type CalendarOverrideProps, type CalendarProps, type CalendarRangeOverrideProps, type CalendarState, type CalendarStyleConfig, type CalendarTypes, Checkbox, CheckboxGroup, type CheckboxGroupContextValue, type CheckboxGroupProps, CheckboxIndicatorVariants, type CheckboxProps, type CheckboxValue, CheckboxVariants, Chip, type ChipArrayProps, ChipContext, type ChipContextValue, ChipGroup, type ChipOption, type ChipOptionProps, type ChipProps, type ChipSelectedProps, type ChipValue, type ChipVariants, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorPickerButtonProps, type ColorType$2 as ColorType, type ColorVariantType, Counter, type CounterControllerProps, type CounterProps, type DateFormat, DatePicker, type DatePickerMode, type DatePickerProps, type DateRange, type DateRangeProps, DndBoard, type DndBoardProps, DndColumn, type DndColumnProps, DndContext, type DndContextProps, type DndDragPosition, DndItem, type DndItemProps, type DndItemsRecord, type DotConfig, Dropdown, DropdownContent, DropdownItem, type DropdownState, DropdownTrigger, type FileItem, FormDescription, type FormDescriptionProps, FormErrorMessage, type FormErrorMessageProps, FormErrorMessages, type FormErrorMessagesProps, FormField, type FormFieldProps, FormHint, type FormHintProps, FormLabel, type FormLabelProps, type FormSizeType, type GetCalendarDaysProps, type HeadingLevel, type IconType, type ImageForm, Input, InputFile, type InputFileProps, type InputFileRef, InputOTP, type InputOTPProps, type InputOTPSize, type InputOTPType, type InputProps, type InputVariantProps, ItemDropdown, type ListItemType, type LoadOptionsFn, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, ModalPreviewAttachment, ModalTitle, type PlayerProps, PreviewItem, type PreviewItemProps, Radio, RadioGroup, RadioIndicatorVariants, RadioVariants, Select, type SelectGroup, type SelectOnCreateValue, type SelectOption, type SelectProps, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarContext, type SidebarContextProps, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuGroup, SidebarMenuItem, SidebarProvider, SidebarTrigger, type SizeType$2 as SizeType, Switch, SwitchThumbVariants, SwitchVariants, Table, type TableAction, TableBody, type TableBodyProps, TableCell, TableCellHead, type TableCellHeadProps, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TablePagination, type TablePaginationProps, type TableRootProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextAlignValue, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ToastProvider, type ToolbarButtonProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadConfig, type UploadStatus, type UploadedFile, type UseAsyncOptionsConfig, type UseAsyncOptionsResult, chipVariants, formatDateLocal, formatDateToString, generatePages, getCalendarDays, getFormatConfig, getWeekEventSegments, handleDecrement, handleIncrement, handleInputChange, handleKeyDown, inputVariants, isSameDate, isToday, monthsFull, monthsShort, normalize, parseLocalDate, parseMonthName, toDateOnly, useAsyncOptions, useCopy, useDndContext, useIsMobile, useSheetHref, useSidebar, useTabHref, useToast };
|
|
1295
|
+
export { type AsyncLoadParams, type AsyncLoadResult, AsyncSelect, type AsyncSelectProps, type AttachmentField, BaseCheckbox, type BaseOption, BaseRadio, BaseSwitch, ButtonDropdown, type ButtonDropdownProps, ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonIconProps, ButtonNavigator, Calendar, type CalendarBaseProps, type CalendarDay, type CalendarDayConfig, type CalendarDayItemProps, type CalendarEvent, type CalendarGridProps, type CalendarOverrideProps, type CalendarProps, type CalendarRangeOverrideProps, type CalendarState, type CalendarStyleConfig, type CalendarTypes, Checkbox, CheckboxGroup, type CheckboxGroupContextValue, type CheckboxGroupProps, CheckboxIndicatorVariants, type CheckboxProps, type CheckboxValue, CheckboxVariants, Chip, type ChipArrayProps, ChipContext, type ChipContextValue, ChipGroup, type ChipOption, type ChipOptionProps, type ChipProps, type ChipSelectedProps, type ChipValue, type ChipVariants, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorPickerButtonProps, type ColorType$2 as ColorType, type ColorVariantType, Counter, type CounterControllerProps, type CounterProps, type DateFormat, DatePicker, type DatePickerMode, type DatePickerProps, type DateRange, type DateRangeProps, DndBoard, type DndBoardProps, DndColumn, type DndColumnProps, DndContext, type DndContextProps, type DndDragPosition, DndItem, type DndItemProps, type DndItemsRecord, type DotConfig, Dropdown, DropdownContent, DropdownItem, DropdownSeparator, type DropdownState, DropdownTrigger, type FileItem, FormDescription, type FormDescriptionProps, FormErrorMessage, type FormErrorMessageProps, FormErrorMessages, type FormErrorMessagesProps, FormField, type FormFieldProps, FormHint, type FormHintProps, FormLabel, type FormLabelProps, type FormSizeType, type GetCalendarDaysProps, type HeadingLevel, type IconType, type ImageForm, Input, InputFile, type InputFileProps, type InputFileRef, InputOTP, type InputOTPProps, type InputOTPSize, type InputOTPType, type InputProps, type InputVariantProps, ItemDropdown, type ListItemType, type LoadOptionsFn, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, ModalPreviewAttachment, ModalTitle, type PlayerProps, PreviewItem, type PreviewItemProps, Radio, RadioGroup, RadioIndicatorVariants, RadioVariants, Select, type SelectGroup, type SelectOnCreateValue, type SelectOption, type SelectProps, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarContext, type SidebarContextProps, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuGroup, SidebarMenuItem, SidebarProvider, SidebarTrigger, type SizeType$2 as SizeType, Switch, SwitchThumbVariants, SwitchVariants, Table, type TableAction, TableBody, type TableBodyProps, TableCell, TableCellHead, type TableCellHeadProps, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TablePagination, type TablePaginationProps, type TableRootProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextAlignValue, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ToastProvider, type ToolbarButtonProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadConfig, type UploadStatus, type UploadedFile, type UseAsyncOptionsConfig, type UseAsyncOptionsResult, chipVariants, formatDateLocal, formatDateToString, generatePages, getCalendarDays, getFormatConfig, getWeekEventSegments, handleDecrement, handleIncrement, handleInputChange, handleKeyDown, inputVariants, isSameDate, isToday, monthsFull, monthsShort, normalize, parseLocalDate, parseMonthName, toDateOnly, useAsyncOptions, useCopy, useDndContext, useIsMobile, useSheetHref, useSidebar, useTabHref, useToast };
|
package/dist/clients.d.ts
CHANGED
|
@@ -475,6 +475,7 @@ declare function DropdownContent({ children, className, portalProps, ...props }:
|
|
|
475
475
|
declare function DropdownItem({ children, className, ...props }: {
|
|
476
476
|
children: React.ReactNode;
|
|
477
477
|
} & DropdownMenu.DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
478
|
+
declare function DropdownSeparator(): react_jsx_runtime.JSX.Element;
|
|
478
479
|
|
|
479
480
|
declare function useCopy(): {
|
|
480
481
|
copy: (text: string) => Promise<void>;
|
|
@@ -1291,4 +1292,4 @@ declare function DndItem({ containerId, index, children, className, activeClassN
|
|
|
1291
1292
|
declare const DndContext: react.Context<DndContextProps<unknown> | null>;
|
|
1292
1293
|
declare function useDndContext(): DndContextProps<unknown>;
|
|
1293
1294
|
|
|
1294
|
-
export { type AsyncLoadParams, type AsyncLoadResult, AsyncSelect, type AsyncSelectProps, type AttachmentField, BaseCheckbox, type BaseOption, BaseRadio, BaseSwitch, ButtonDropdown, type ButtonDropdownProps, ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonIconProps, ButtonNavigator, Calendar, type CalendarBaseProps, type CalendarDay, type CalendarDayConfig, type CalendarDayItemProps, type CalendarEvent, type CalendarGridProps, type CalendarOverrideProps, type CalendarProps, type CalendarRangeOverrideProps, type CalendarState, type CalendarStyleConfig, type CalendarTypes, Checkbox, CheckboxGroup, type CheckboxGroupContextValue, type CheckboxGroupProps, CheckboxIndicatorVariants, type CheckboxProps, type CheckboxValue, CheckboxVariants, Chip, type ChipArrayProps, ChipContext, type ChipContextValue, ChipGroup, type ChipOption, type ChipOptionProps, type ChipProps, type ChipSelectedProps, type ChipValue, type ChipVariants, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorPickerButtonProps, type ColorType$2 as ColorType, type ColorVariantType, Counter, type CounterControllerProps, type CounterProps, type DateFormat, DatePicker, type DatePickerMode, type DatePickerProps, type DateRange, type DateRangeProps, DndBoard, type DndBoardProps, DndColumn, type DndColumnProps, DndContext, type DndContextProps, type DndDragPosition, DndItem, type DndItemProps, type DndItemsRecord, type DotConfig, Dropdown, DropdownContent, DropdownItem, type DropdownState, DropdownTrigger, type FileItem, FormDescription, type FormDescriptionProps, FormErrorMessage, type FormErrorMessageProps, FormErrorMessages, type FormErrorMessagesProps, FormField, type FormFieldProps, FormHint, type FormHintProps, FormLabel, type FormLabelProps, type FormSizeType, type GetCalendarDaysProps, type HeadingLevel, type IconType, type ImageForm, Input, InputFile, type InputFileProps, type InputFileRef, InputOTP, type InputOTPProps, type InputOTPSize, type InputOTPType, type InputProps, type InputVariantProps, ItemDropdown, type ListItemType, type LoadOptionsFn, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, ModalPreviewAttachment, ModalTitle, type PlayerProps, PreviewItem, type PreviewItemProps, Radio, RadioGroup, RadioIndicatorVariants, RadioVariants, Select, type SelectGroup, type SelectOnCreateValue, type SelectOption, type SelectProps, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarContext, type SidebarContextProps, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuGroup, SidebarMenuItem, SidebarProvider, SidebarTrigger, type SizeType$2 as SizeType, Switch, SwitchThumbVariants, SwitchVariants, Table, type TableAction, TableBody, type TableBodyProps, TableCell, TableCellHead, type TableCellHeadProps, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TablePagination, type TablePaginationProps, type TableRootProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextAlignValue, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ToastProvider, type ToolbarButtonProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadConfig, type UploadStatus, type UploadedFile, type UseAsyncOptionsConfig, type UseAsyncOptionsResult, chipVariants, formatDateLocal, formatDateToString, generatePages, getCalendarDays, getFormatConfig, getWeekEventSegments, handleDecrement, handleIncrement, handleInputChange, handleKeyDown, inputVariants, isSameDate, isToday, monthsFull, monthsShort, normalize, parseLocalDate, parseMonthName, toDateOnly, useAsyncOptions, useCopy, useDndContext, useIsMobile, useSheetHref, useSidebar, useTabHref, useToast };
|
|
1295
|
+
export { type AsyncLoadParams, type AsyncLoadResult, AsyncSelect, type AsyncSelectProps, type AttachmentField, BaseCheckbox, type BaseOption, BaseRadio, BaseSwitch, ButtonDropdown, type ButtonDropdownProps, ButtonGroup, ButtonGroupItem, type ButtonGroupProps, type ButtonIconProps, ButtonNavigator, Calendar, type CalendarBaseProps, type CalendarDay, type CalendarDayConfig, type CalendarDayItemProps, type CalendarEvent, type CalendarGridProps, type CalendarOverrideProps, type CalendarProps, type CalendarRangeOverrideProps, type CalendarState, type CalendarStyleConfig, type CalendarTypes, Checkbox, CheckboxGroup, type CheckboxGroupContextValue, type CheckboxGroupProps, CheckboxIndicatorVariants, type CheckboxProps, type CheckboxValue, CheckboxVariants, Chip, type ChipArrayProps, ChipContext, type ChipContextValue, ChipGroup, type ChipOption, type ChipOptionProps, type ChipProps, type ChipSelectedProps, type ChipValue, type ChipVariants, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorPickerButtonProps, type ColorType$2 as ColorType, type ColorVariantType, Counter, type CounterControllerProps, type CounterProps, type DateFormat, DatePicker, type DatePickerMode, type DatePickerProps, type DateRange, type DateRangeProps, DndBoard, type DndBoardProps, DndColumn, type DndColumnProps, DndContext, type DndContextProps, type DndDragPosition, DndItem, type DndItemProps, type DndItemsRecord, type DotConfig, Dropdown, DropdownContent, DropdownItem, DropdownSeparator, type DropdownState, DropdownTrigger, type FileItem, FormDescription, type FormDescriptionProps, FormErrorMessage, type FormErrorMessageProps, FormErrorMessages, type FormErrorMessagesProps, FormField, type FormFieldProps, FormHint, type FormHintProps, FormLabel, type FormLabelProps, type FormSizeType, type GetCalendarDaysProps, type HeadingLevel, type IconType, type ImageForm, Input, InputFile, type InputFileProps, type InputFileRef, InputOTP, type InputOTPProps, type InputOTPSize, type InputOTPType, type InputProps, type InputVariantProps, ItemDropdown, type ListItemType, type LoadOptionsFn, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, ModalPreviewAttachment, ModalTitle, type PlayerProps, PreviewItem, type PreviewItemProps, Radio, RadioGroup, RadioIndicatorVariants, RadioVariants, Select, type SelectGroup, type SelectOnCreateValue, type SelectOption, type SelectProps, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarContext, type SidebarContextProps, SidebarFooter, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuGroup, SidebarMenuItem, SidebarProvider, SidebarTrigger, type SizeType$2 as SizeType, Switch, SwitchThumbVariants, SwitchVariants, Table, type TableAction, TableBody, type TableBodyProps, TableCell, TableCellHead, type TableCellHeadProps, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TablePagination, type TablePaginationProps, type TableRootProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, type TextAlignValue, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ToastProvider, type ToolbarButtonProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadConfig, type UploadStatus, type UploadedFile, type UseAsyncOptionsConfig, type UseAsyncOptionsResult, chipVariants, formatDateLocal, formatDateToString, generatePages, getCalendarDays, getFormatConfig, getWeekEventSegments, handleDecrement, handleIncrement, handleInputChange, handleKeyDown, inputVariants, isSameDate, isToday, monthsFull, monthsShort, normalize, parseLocalDate, parseMonthName, toDateOnly, useAsyncOptions, useCopy, useDndContext, useIsMobile, useSheetHref, useSidebar, useTabHref, useToast };
|
package/dist/clients.js
CHANGED
|
@@ -14237,15 +14237,15 @@ function DropdownItem({
|
|
|
14237
14237
|
return /* @__PURE__ */ jsx420(
|
|
14238
14238
|
DropdownMenu.Item,
|
|
14239
14239
|
{
|
|
14240
|
-
className: cn(
|
|
14241
|
-
"hover:bg-primary-50 hover:border-primary-300 flex cursor-pointer flex-row items-center gap-2 rounded-lg border border-gray-200 px-3 py-2 outline-0 transition-all",
|
|
14242
|
-
className
|
|
14243
|
-
),
|
|
14240
|
+
className: cn("px-3 py-2 outline-0 transition-all", className),
|
|
14244
14241
|
...props,
|
|
14245
14242
|
children
|
|
14246
14243
|
}
|
|
14247
14244
|
);
|
|
14248
14245
|
}
|
|
14246
|
+
function DropdownSeparator() {
|
|
14247
|
+
return /* @__PURE__ */ jsx420("div", { className: "border-b-1 text-gray-200" });
|
|
14248
|
+
}
|
|
14249
14249
|
|
|
14250
14250
|
// src/hooks/use-copy.ts
|
|
14251
14251
|
import { useState as useState8 } from "react";
|
|
@@ -37432,6 +37432,7 @@ export {
|
|
|
37432
37432
|
Dropdown,
|
|
37433
37433
|
DropdownContent,
|
|
37434
37434
|
DropdownItem,
|
|
37435
|
+
DropdownSeparator,
|
|
37435
37436
|
DropdownTrigger,
|
|
37436
37437
|
FormDescription,
|
|
37437
37438
|
FormErrorMessage,
|