@spark-ui/components 18.0.10 → 18.0.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/accordion/Accordion.d.ts +1 -1
- package/dist/accordion/AccordionItem.d.ts +1 -1
- package/dist/accordion/AccordionItemContent.d.ts +1 -1
- package/dist/accordion/AccordionItemHeader.d.ts +1 -1
- package/dist/accordion/AccordionItemTrigger.d.ts +1 -1
- package/dist/accordion/useRenderSlot.d.ts +1 -1
- package/dist/alert-dialog/AlertDialog.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogAction.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogCancel.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogContent.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogContext.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogDescription.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogOverlay.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogPortal.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogTitle.d.ts +1 -1
- package/dist/alert-dialog/AlertDialogTrigger.d.ts +1 -1
- package/dist/alert-dialog/useRenderSlot.d.ts +1 -1
- package/dist/avatar/AvatarAction.d.ts +1 -1
- package/dist/avatar/AvatarImage.d.ts +1 -1
- package/dist/avatar/AvatarOnlineBadge.d.ts +1 -1
- package/dist/avatar/AvatarPlaceholder.d.ts +1 -1
- package/dist/avatar/AvatarUser.d.ts +1 -1
- package/dist/badge/Badge.d.ts +1 -1
- package/dist/badge/BadgeItem.d.ts +1 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbCurrentPage.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbLink.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +1 -1
- package/dist/button/Button.d.ts +1 -1
- package/dist/card/Backdrop.d.ts +1 -1
- package/dist/card/Card.d.ts +1 -1
- package/dist/card/Content.d.ts +1 -1
- package/dist/card/Type.d.ts +1 -1
- package/dist/carousel/Carousel.d.ts +1 -1
- package/dist/carousel/CarouselControls.d.ts +1 -1
- package/dist/carousel/CarouselNextButton.d.ts +1 -1
- package/dist/carousel/CarouselPageIndicator.d.ts +1 -1
- package/dist/carousel/CarouselPagePicker.d.ts +1 -1
- package/dist/carousel/CarouselPrevButton.d.ts +1 -1
- package/dist/carousel/CarouselSlide.d.ts +1 -1
- package/dist/carousel/CarouselSlides.d.ts +1 -1
- package/dist/carousel/CarouselViewport.d.ts +1 -1
- package/dist/checkbox/Checkbox.d.ts +1 -1
- package/dist/checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/checkbox/CheckboxIndicator.d.ts +1 -1
- package/dist/checkbox/CheckboxInput.d.ts +1 -1
- package/dist/checkbox/CheckboxLabel.d.ts +1 -1
- package/dist/chip/Chip.d.ts +1 -1
- package/dist/chip/ChipClearButton.d.ts +1 -1
- package/dist/chip/ChipContent.d.ts +1 -1
- package/dist/chip/ChipIcon.d.ts +1 -1
- package/dist/chip/ChipLeadingIcon.d.ts +1 -1
- package/dist/chip/ChipTrailingIcon.d.ts +1 -1
- package/dist/circular-meter/CircularMeter.d.ts +1 -1
- package/dist/circular-meter/CircularMeterContent.d.ts +1 -1
- package/dist/circular-meter/CircularMeterLabel.d.ts +1 -1
- package/dist/circular-meter/CircularMeterTrack.d.ts +1 -1
- package/dist/circular-meter/CircularMeterValue.d.ts +1 -1
- package/dist/collapsible/Content.d.ts +1 -1
- package/dist/collapsible/Root.d.ts +1 -1
- package/dist/collapsible/Trigger.d.ts +1 -1
- package/dist/collapsible/useRenderSlot.d.ts +1 -1
- package/dist/combobox/Combobox.d.ts +1 -1
- package/dist/combobox/ComboboxClearButton.d.ts +1 -1
- package/dist/combobox/ComboboxContext.d.ts +1 -1
- package/dist/combobox/ComboboxDisclosure.d.ts +1 -1
- package/dist/combobox/ComboboxEmpty.d.ts +1 -1
- package/dist/combobox/ComboboxGroup.d.ts +1 -1
- package/dist/combobox/ComboboxInput.d.ts +1 -1
- package/dist/combobox/ComboboxItem.d.ts +1 -1
- package/dist/combobox/ComboboxItemContext.d.ts +1 -1
- package/dist/combobox/ComboboxItemIndicator.d.ts +1 -1
- package/dist/combobox/ComboboxItemText.d.ts +1 -1
- package/dist/combobox/ComboboxItems.d.ts +1 -1
- package/dist/combobox/ComboboxItemsGroupContext.d.ts +1 -1
- package/dist/combobox/ComboboxLabel.d.ts +1 -1
- package/dist/combobox/ComboboxLeadingIcon.d.ts +1 -1
- package/dist/combobox/ComboboxPopover.d.ts +1 -1
- package/dist/combobox/ComboboxSelectedItems.d.ts +1 -1
- package/dist/combobox/ComboboxTrigger.d.ts +1 -1
- package/dist/dialog/DialogClose.d.ts +1 -1
- package/dist/dialog/DialogCloseButton.d.ts +1 -1
- package/dist/dialog/DialogContent.d.ts +1 -1
- package/dist/dialog/DialogContext.d.ts +1 -1
- package/dist/dialog/DialogDescription.d.ts +1 -1
- package/dist/dialog/DialogOverlay.d.ts +1 -1
- package/dist/dialog/DialogPortal.d.ts +1 -1
- package/dist/dialog/DialogTitle.d.ts +1 -1
- package/dist/dialog/DialogTrigger.d.ts +1 -1
- package/dist/divider/Divider.d.ts +1 -1
- package/dist/divider/DividerContent.d.ts +1 -1
- package/dist/drawer/DrawerBody.d.ts +1 -1
- package/dist/drawer/DrawerClose.d.ts +1 -1
- package/dist/drawer/DrawerCloseButton.d.ts +1 -1
- package/dist/drawer/DrawerContent.d.ts +1 -1
- package/dist/drawer/DrawerContext.d.ts +1 -1
- package/dist/drawer/DrawerDescription.d.ts +1 -1
- package/dist/drawer/DrawerOverlay.d.ts +1 -1
- package/dist/drawer/DrawerPortal.d.ts +1 -1
- package/dist/drawer/DrawerTitle.d.ts +1 -1
- package/dist/drawer/DrawerTrigger.d.ts +1 -1
- package/dist/drawer/useRenderSlot.d.ts +1 -1
- package/dist/dropdown/Dropdown.d.ts +1 -1
- package/dist/dropdown/DropdownContext.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.d.ts +1 -1
- package/dist/dropdown/DropdownItem.d.ts +1 -1
- package/dist/dropdown/DropdownItemContext.d.ts +1 -1
- package/dist/dropdown/DropdownItemIndicator.d.ts +1 -1
- package/dist/dropdown/DropdownItemText.d.ts +1 -1
- package/dist/dropdown/DropdownItems.d.ts +1 -1
- package/dist/dropdown/DropdownItemsGroupContext.d.ts +1 -1
- package/dist/dropdown/DropdownLabel.d.ts +1 -1
- package/dist/dropdown/DropdownLeadingIcon.d.ts +1 -1
- package/dist/dropdown/DropdownPopover.d.ts +1 -1
- package/dist/dropdown/DropdownTrigger.d.ts +1 -1
- package/dist/dropdown/DropdownValue.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUploadAcceptedFile.d.ts +1 -1
- package/dist/file-upload/FileUploadContext.d.ts +1 -1
- package/dist/file-upload/FileUploadDropzone.d.ts +1 -1
- package/dist/file-upload/FileUploadItemDeleteTrigger.d.ts +1 -1
- package/dist/file-upload/FileUploadPreviewImage.d.ts +1 -1
- package/dist/file-upload/FileUploadRejectedFile.d.ts +1 -1
- package/dist/file-upload/FileUploadRejectedFileDeleteTrigger.d.ts +1 -1
- package/dist/file-upload/FileUploadTrigger.d.ts +2 -2
- package/dist/form-field/FormField.d.ts +1 -1
- package/dist/form-field/FormFieldAlertMessage.d.ts +1 -1
- package/dist/form-field/FormFieldCharactersCount.d.ts +1 -1
- package/dist/form-field/FormFieldControl.d.ts +1 -1
- package/dist/form-field/FormFieldDescription.d.ts +1 -1
- package/dist/form-field/FormFieldErrorMessage.d.ts +1 -1
- package/dist/form-field/FormFieldHelperMessage.d.ts +1 -1
- package/dist/form-field/FormFieldLabel.d.ts +1 -1
- package/dist/form-field/FormFieldMessage.d.ts +1 -1
- package/dist/form-field/FormFieldProvider.d.ts +1 -1
- package/dist/form-field/FormFieldRequiredIndicator.d.ts +1 -1
- package/dist/form-field/FormFieldStateMessage.d.ts +1 -1
- package/dist/form-field/FormFieldSuccessMessage.d.ts +1 -1
- package/dist/icon/Icon.d.ts +1 -1
- package/dist/icon-button/IconButton.d.ts +1 -1
- package/dist/input/Input.d.ts +1 -1
- package/dist/input/InputAddon.d.ts +1 -1
- package/dist/input/InputClearButton.d.ts +1 -1
- package/dist/input/InputGroup.d.ts +1 -1
- package/dist/input/InputIcon.d.ts +1 -1
- package/dist/input/InputLeadingAddon.d.ts +1 -1
- package/dist/input/InputLeadingIcon.d.ts +1 -1
- package/dist/input/InputTrailingAddon.d.ts +1 -1
- package/dist/input/InputTrailingIcon.d.ts +1 -1
- package/dist/input-otp/InputOTP.d.ts +1 -1
- package/dist/input-otp/InputOTPGroup.d.ts +1 -1
- package/dist/input-otp/InputOTPSeparator.d.ts +1 -1
- package/dist/input-otp/InputOTPSlot.d.ts +1 -1
- package/dist/kbd/Kbd.d.ts +1 -1
- package/dist/label/Label.d.ts +1 -1
- package/dist/label/LabelRequiredIndicator.d.ts +1 -1
- package/dist/link-box/LinkBox.d.ts +1 -1
- package/dist/link-box/LinkBoxLink.d.ts +1 -1
- package/dist/link-box/LinkBoxRaised.d.ts +1 -1
- package/dist/menu/Menu.d.ts +1 -1
- package/dist/menu/MenuCheckboxItem.d.ts +1 -1
- package/dist/menu/MenuCheckboxItemIndicator.d.ts +1 -1
- package/dist/menu/MenuGroup.d.ts +1 -1
- package/dist/menu/MenuGroupLabel.d.ts +1 -1
- package/dist/menu/MenuItem.d.ts +1 -1
- package/dist/menu/MenuLinkItem.d.ts +1 -1
- package/dist/menu/MenuPopup.d.ts +1 -1
- package/dist/menu/MenuPortal.d.ts +1 -1
- package/dist/menu/MenuPositioner.d.ts +1 -1
- package/dist/menu/MenuRadioGroup.d.ts +1 -1
- package/dist/menu/MenuRadioItem.d.ts +1 -1
- package/dist/menu/MenuRadioItemIndicator.d.ts +1 -1
- package/dist/menu/MenuSeparator.d.ts +1 -1
- package/dist/menu/MenuSubmenu.d.ts +1 -1
- package/dist/menu/MenuSubmenuTrigger.d.ts +1 -1
- package/dist/menu/MenuTrigger.d.ts +1 -1
- package/dist/menu/useRenderSlot.d.ts +1 -1
- package/dist/meter/Meter.d.ts +1 -1
- package/dist/meter/MeterLabel.d.ts +1 -1
- package/dist/meter/MeterTrack.d.ts +1 -1
- package/dist/meter/MeterValue.d.ts +1 -1
- package/dist/pagination/Pagination.d.ts +1 -1
- package/dist/pagination/PaginationContext.d.ts +1 -1
- package/dist/pagination/PaginationEllipsis.d.ts +1 -1
- package/dist/pagination/PaginationFirstPageTrigger.d.ts +1 -1
- package/dist/pagination/PaginationLastPageTrigger.d.ts +1 -1
- package/dist/pagination/PaginationNextTrigger.d.ts +1 -1
- package/dist/pagination/PaginationPrevTrigger.d.ts +1 -1
- package/dist/popover/Popover.d.ts +1 -1
- package/dist/popover/PopoverAnchor.d.ts +1 -1
- package/dist/popover/PopoverArrow.d.ts +1 -1
- package/dist/popover/PopoverCloseButton.d.ts +1 -1
- package/dist/popover/PopoverContent.d.ts +1 -1
- package/dist/popover/PopoverContext.d.ts +1 -1
- package/dist/popover/PopoverHeader.d.ts +1 -1
- package/dist/popover/PopoverTrigger.d.ts +1 -1
- package/dist/progress/Progress.d.ts +1 -1
- package/dist/progress/ProgressIndicator.d.ts +1 -1
- package/dist/progress/ProgressLabel.d.ts +1 -1
- package/dist/progress/ProgressTrack.d.ts +1 -1
- package/dist/progress/ProgressValue.d.ts +1 -1
- package/dist/progress-tracker/ProgressTracker.d.ts +1 -1
- package/dist/progress-tracker/ProgressTrackerStep.d.ts +1 -1
- package/dist/progress-tracker/ProgressTrackerStepIndicator.d.ts +1 -1
- package/dist/progress-tracker/ProgressTrackerStepLabel.d.ts +1 -1
- package/dist/radio-group/Radio.d.ts +1 -1
- package/dist/radio-group/RadioGroup.d.ts +1 -1
- package/dist/radio-group/RadioGroupProvider.d.ts +1 -1
- package/dist/radio-group/RadioIndicator.d.ts +1 -1
- package/dist/radio-group/RadioInput.d.ts +1 -1
- package/dist/radio-group/RadioLabel.d.ts +1 -1
- package/dist/rating/Rating.d.ts +1 -1
- package/dist/rating/RatingStar.d.ts +1 -1
- package/dist/rating-display/RatingDisplay.d.ts +1 -1
- package/dist/rating-display/RatingDisplayContext.d.ts +1 -1
- package/dist/rating-display/RatingDisplayCount.d.ts +1 -1
- package/dist/rating-display/RatingDisplayStar.d.ts +1 -1
- package/dist/rating-display/RatingDisplayStars.d.ts +1 -1
- package/dist/rating-display/RatingDisplayValue.d.ts +1 -1
- package/dist/scrolling-list/ScrollingList.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListControls.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListItem.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListItems.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListNextButton.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListPrevButton.d.ts +1 -1
- package/dist/scrolling-list/ScrollingListSkipButton.d.ts +1 -1
- package/dist/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/segmented-control/SegmentedControlIndicator.d.ts +1 -1
- package/dist/segmented-control/SegmentedControlItem.d.ts +1 -1
- package/dist/segmented-gauge/SegmentedGauge.d.ts +1 -1
- package/dist/segmented-gauge/SegmentedGaugeLabel.d.ts +1 -1
- package/dist/segmented-gauge/SegmentedGaugeSegment.d.ts +1 -1
- package/dist/segmented-gauge/SegmentedGaugeTrack.d.ts +1 -1
- package/dist/select/Select.d.ts +1 -1
- package/dist/select/SelectContext.d.ts +1 -1
- package/dist/select/SelectGroup.d.ts +1 -1
- package/dist/select/SelectItem.d.ts +1 -1
- package/dist/select/SelectItems.d.ts +1 -1
- package/dist/select/SelectItemsGroupContext.d.ts +1 -1
- package/dist/select/SelectLeadingIcon.d.ts +1 -1
- package/dist/select/SelectPlaceholder.d.ts +1 -1
- package/dist/select/SelectTrigger.d.ts +1 -1
- package/dist/select/SelectValue.d.ts +1 -1
- package/dist/skeleton/Skeleton.d.ts +1 -1
- package/dist/skeleton/SkeletonItem.d.ts +3 -3
- package/dist/slider/Slider.d.ts +1 -1
- package/dist/slider/SliderControl.d.ts +1 -1
- package/dist/slider/SliderIndicator.d.ts +1 -1
- package/dist/slider/SliderLabel.d.ts +1 -1
- package/dist/slider/SliderThumb.d.ts +1 -1
- package/dist/slider/SliderTrack.d.ts +1 -1
- package/dist/slider/SliderValue.d.ts +1 -1
- package/dist/slot/Slot.d.ts +1 -1
- package/dist/spinner/Spinner.d.ts +1 -1
- package/dist/stepper/Stepper.d.ts +1 -1
- package/dist/stepper/StepperButton.d.ts +2 -2
- package/dist/stepper/StepperInput.d.ts +1 -1
- package/dist/switch/Switch.d.ts +1 -1
- package/dist/switch/SwitchInput.d.ts +1 -1
- package/dist/switch/SwitchLabel.d.ts +1 -1
- package/dist/table/TableBody.d.ts +1 -1
- package/dist/table/TableBulkBar.d.ts +4 -4
- package/dist/table/TableCell.d.ts +1 -1
- package/dist/table/TableHeader.d.ts +1 -1
- package/dist/table/internal/ResizableTableContainer.d.ts +1 -1
- package/dist/table/internal/TableBodyCellRenderer.d.ts +1 -1
- package/dist/table/internal/TableBodyRowRenderer.d.ts +1 -1
- package/dist/table/internal/TableColumnHeader.d.ts +1 -1
- package/dist/table/internal/TableColumnResizer.d.ts +1 -1
- package/dist/table/internal/TableGrid.d.ts +1 -1
- package/dist/table/internal/TableHeaderRowRenderer.d.ts +1 -1
- package/dist/table/internal/TableHeaderSelectionCheckbox.d.ts +1 -1
- package/dist/table/internal/TableRoot.d.ts +1 -1
- package/dist/table/internal/TableRootWrapper.d.ts +1 -1
- package/dist/table/internal/TableSelectionCheckbox.d.ts +1 -1
- package/dist/tabs/Tabs.d.ts +1 -1
- package/dist/tabs/TabsContent.d.ts +1 -1
- package/dist/tabs/TabsList.d.ts +1 -1
- package/dist/tabs/TabsPopoverAbstraction.d.ts +1 -1
- package/dist/tabs/TabsTrigger.d.ts +1 -1
- package/dist/tabs/useRenderSlot.d.ts +1 -1
- package/dist/tag/Tag.d.ts +1 -1
- package/dist/text-link/TextLink.d.ts +1 -1
- package/dist/textarea/Textarea.d.ts +1 -1
- package/dist/textarea/TextareaClearButton.d.ts +1 -1
- package/dist/textarea/TextareaGroup.d.ts +1 -1
- package/dist/textarea/TextareaLeadingIcon.d.ts +1 -1
- package/dist/textarea/TextareaTrailingIcon.d.ts +1 -1
- package/dist/toast/Toast.d.ts +1 -1
- package/dist/toast/index.d.mts +2 -2
- package/dist/toast/index.d.ts +2 -2
- package/dist/toast/useRenderSlot.d.ts +1 -1
- package/dist/toggle-group/ToggleGroup.d.ts +1 -1
- package/dist/toggle-group/ToggleGroupToggle.d.ts +1 -1
- package/dist/toggle-group/useRenderSlot.d.ts +1 -1
- package/dist/visually-hidden/VisuallyHidden.d.ts +1 -1
- package/package.json +5 -5
package/dist/slot/Slot.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type SlotProps = PropsWithChildren<HTMLAttributes<HTMLElement>> & {
|
|
|
8
8
|
* A utility component that merges its props with its child component, enabling polymorphic
|
|
9
9
|
* component patterns through the `asChild` prop for flexible composition.
|
|
10
10
|
*/
|
|
11
|
-
export declare const Slot: ({ ref, ...props }: SlotProps) => import("react
|
|
11
|
+
export declare const Slot: ({ ref, ...props }: SlotProps) => import("react").JSX.Element;
|
|
12
12
|
/**
|
|
13
13
|
* When using Radix `Slot` component, it will consider its first child to merge its props with.
|
|
14
14
|
* In some cases, you might need to wrap the top child with additional markup without breaking this behaviour.
|
|
@@ -9,4 +9,4 @@ export interface SpinnerProps extends ComponentPropsWithRef<'div'>, SpinnerStyle
|
|
|
9
9
|
/**
|
|
10
10
|
* An animated indicator that shows a loading or processing state to users.
|
|
11
11
|
*/
|
|
12
|
-
export declare const Spinner: ({ className, size, intent, label, isBackgroundVisible, ref, ...others }: PropsWithChildren<SpinnerProps>) => import("react
|
|
12
|
+
export declare const Spinner: ({ className, size, intent, label, isBackgroundVisible, ref, ...others }: PropsWithChildren<SpinnerProps>) => import("react").JSX.Element;
|
|
@@ -10,7 +10,7 @@ interface StepperContextValue {
|
|
|
10
10
|
ariaLabel?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const Stepper: {
|
|
13
|
-
({ children, formatOptions, minValue, maxValue, ref: forwardedRef, onValueChange, locale, name: nameProp, ...stepperProps }: PropsWithChildren<StepperProps>): import("react
|
|
13
|
+
({ children, formatOptions, minValue, maxValue, ref: forwardedRef, onValueChange, locale, name: nameProp, ...stepperProps }: PropsWithChildren<StepperProps>): import("react").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const useStepperContext: () => StepperContextValue;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { StepperButtonProps } from './types';
|
|
3
3
|
export declare const StepperIncrementButton: {
|
|
4
|
-
({ children, design, intent, className, ref: forwardedRef, disabled, ...rest }: PropsWithChildren<StepperButtonProps>): import("react
|
|
4
|
+
({ children, design, intent, className, ref: forwardedRef, disabled, ...rest }: PropsWithChildren<StepperButtonProps>): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export declare const StepperDecrementButton: {
|
|
8
|
-
({ children, design, intent, className, ref: forwardedRef, disabled, ...rest }: PropsWithChildren<StepperButtonProps>): import("react
|
|
8
|
+
({ children, design, intent, className, ref: forwardedRef, disabled, ...rest }: PropsWithChildren<StepperButtonProps>): import("react").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StepperInputProps } from './types';
|
|
2
2
|
export declare const StepperInput: {
|
|
3
|
-
({ ref: forwardedRef, ...props }: StepperInputProps): import("react
|
|
3
|
+
({ ref: forwardedRef, ...props }: StepperInputProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
package/dist/switch/Switch.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export type SwitchProps = SwitchInputProps;
|
|
|
4
4
|
* A toggle control that allows users to switch between two states, typically on and off.
|
|
5
5
|
*/
|
|
6
6
|
export declare const Switch: {
|
|
7
|
-
({ size, children, className, id, disabled, reverse, ref, ...rest }: SwitchProps): import("react
|
|
7
|
+
({ size, children, className, id, disabled, reverse, ref, ...rest }: SwitchProps): import("react").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
@@ -48,6 +48,6 @@ export interface SwitchInputProps extends StylesProps, Omit<ComponentPropsWithRe
|
|
|
48
48
|
asChild?: boolean;
|
|
49
49
|
}
|
|
50
50
|
export declare const SwitchInput: {
|
|
51
|
-
({ checked, checkedIcon, defaultChecked, uncheckedIcon, size, onCheckedChange, className, required, ref, asChild, ...rest }: SwitchInputProps): import("react
|
|
51
|
+
({ checked, checkedIcon, defaultChecked, uncheckedIcon, size, onCheckedChange, className, required, ref, asChild, ...rest }: SwitchInputProps): import("react").JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
@@ -14,4 +14,4 @@ export interface SwitchLabelProps extends LabelStylesProps, LabelProps {
|
|
|
14
14
|
*/
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare const SwitchLabel: ({ className, disabled, ...others }: SwitchLabelProps) => import("react
|
|
17
|
+
export declare const SwitchLabel: ({ className, disabled, ...others }: SwitchLabelProps) => import("react").JSX.Element;
|
|
@@ -8,7 +8,7 @@ export interface TableBodyProps<T extends object = object> extends StatelyTableB
|
|
|
8
8
|
renderEmptyState?: () => ReactNode;
|
|
9
9
|
}
|
|
10
10
|
/** The body section of the table. Renders a <tbody> element. */
|
|
11
|
-
export declare function TableBody<T extends object>(props: TableBodyProps<T>): import("react
|
|
11
|
+
export declare function TableBody<T extends object>(props: TableBodyProps<T>): import("react").JSX.Element;
|
|
12
12
|
export declare namespace TableBody {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
|
@@ -15,7 +15,7 @@ export interface TableBulkBarProps {
|
|
|
15
15
|
* A toolbar component for bulk actions on table rows. Displays selected row count and action buttons.
|
|
16
16
|
* Must be used within a Table component.
|
|
17
17
|
*/
|
|
18
|
-
declare function TableBulkBarRoot({ children, className, rootProps, ...props }: TableBulkBarProps): import("react
|
|
18
|
+
declare function TableBulkBarRoot({ children, className, rootProps, ...props }: TableBulkBarProps): import("react").JSX.Element;
|
|
19
19
|
declare namespace TableBulkBarRoot {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ declare namespace TableBulkBarRoot {
|
|
|
24
24
|
*/
|
|
25
25
|
declare function TableBulkBarSelectedCount({ children }: {
|
|
26
26
|
children: ReactNode;
|
|
27
|
-
}): import("react
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
28
|
declare namespace TableBulkBarSelectedCount {
|
|
29
29
|
var displayName: string;
|
|
30
30
|
}
|
|
@@ -33,7 +33,7 @@ type BulkBarButtonProps = Omit<ButtonProps, 'onClick'>;
|
|
|
33
33
|
* A button to clear all selected rows. Only visible when hasMultiplePages is true in the Table context.
|
|
34
34
|
* Automatically disabled when no rows are selected.
|
|
35
35
|
*/
|
|
36
|
-
declare function TableBulkBarClearButton({ className, children, ...props }: BulkBarButtonProps): import("react
|
|
36
|
+
declare function TableBulkBarClearButton({ className, children, ...props }: BulkBarButtonProps): import("react").JSX.Element | null;
|
|
37
37
|
declare namespace TableBulkBarClearButton {
|
|
38
38
|
var displayName: string;
|
|
39
39
|
}
|
|
@@ -41,7 +41,7 @@ declare namespace TableBulkBarClearButton {
|
|
|
41
41
|
* A button to select all rows across all pages. Only visible when hasMultiplePages is true in the Table context.
|
|
42
42
|
* Automatically disabled when all rows are already selected or when onSelectAll is not provided.
|
|
43
43
|
*/
|
|
44
|
-
declare function TableBulkBarSelectAllButton({ className, children, ...props }: BulkBarButtonProps): import("react
|
|
44
|
+
declare function TableBulkBarSelectAllButton({ className, children, ...props }: BulkBarButtonProps): import("react").JSX.Element | null;
|
|
45
45
|
declare namespace TableBulkBarSelectAllButton {
|
|
46
46
|
var displayName: string;
|
|
47
47
|
}
|
|
@@ -4,7 +4,7 @@ export interface CellProps extends StatelyCellProps {
|
|
|
4
4
|
checkbox?: boolean;
|
|
5
5
|
}
|
|
6
6
|
/** A cell in the table. This is a collection component that does not render DOM. */
|
|
7
|
-
export declare function Cell(props: CellProps): import("react
|
|
7
|
+
export declare function Cell(props: CellProps): import("react").JSX.Element;
|
|
8
8
|
export declare namespace Cell {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -7,7 +7,7 @@ export interface TableHeaderProps<T extends object = object> extends StatelyTabl
|
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
9
|
/** The header section of the table. Renders a <thead> element. */
|
|
10
|
-
export declare function TableHeader<T extends object>(props: TableHeaderProps<T>): import("react
|
|
10
|
+
export declare function TableHeader<T extends object>(props: TableHeaderProps<T>): import("react").JSX.Element;
|
|
11
11
|
export declare namespace TableHeader {
|
|
12
12
|
var displayName: string;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export interface ResizableTableContainerProps extends ComponentPropsWithoutRef<'
|
|
|
7
7
|
onResize?: (widths: Map<Key, ColumnSize>) => void;
|
|
8
8
|
onResizeEnd?: (widths: Map<Key, ColumnSize>) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare function ResizableTableContainer({ className, children, ...props }: ResizableTableContainerProps): import("react
|
|
10
|
+
export declare function ResizableTableContainer({ className, children, ...props }: ResizableTableContainerProps): import("react").JSX.Element;
|
|
11
11
|
export declare namespace ResizableTableContainer {
|
|
12
12
|
var displayName: string;
|
|
13
13
|
}
|
|
@@ -4,7 +4,7 @@ export declare function TableBodyCellRenderer({ cell, state, resizeState, }: {
|
|
|
4
4
|
cell: GridNode<unknown>;
|
|
5
5
|
state: TableState<unknown>;
|
|
6
6
|
resizeState: any;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
8
|
export declare namespace TableBodyCellRenderer {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ export declare function TableBodyRowRenderer({ item, state, resizeState, }: {
|
|
|
4
4
|
item: GridNode<unknown>;
|
|
5
5
|
state: TableState<unknown>;
|
|
6
6
|
resizeState: any;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
8
|
export declare namespace TableBodyRowRenderer {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -12,7 +12,7 @@ export declare function TableColumnHeader({ column, state, resizeState, stickyHe
|
|
|
12
12
|
};
|
|
13
13
|
/** Rightmost header cell in this row. No resizer — nothing to resize against. */
|
|
14
14
|
isLastColumnInRow?: boolean;
|
|
15
|
-
}): import("react
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
16
|
export declare namespace TableColumnHeader {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -8,7 +8,7 @@ export declare function TableColumnResizer({ column, ariaLabel, resizeState, res
|
|
|
8
8
|
onResize?: (widths: any) => void;
|
|
9
9
|
onResizeEnd?: (widths: any) => void;
|
|
10
10
|
};
|
|
11
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
12
|
export declare namespace TableColumnResizer {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
|
@@ -6,7 +6,7 @@ export interface TableGridProps {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
children?: AriaTableProps<object>['children'];
|
|
8
8
|
}
|
|
9
|
-
export declare function TableGrid({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, className: gridClassName, children, }: TableGridProps): import("react
|
|
9
|
+
export declare function TableGrid({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, className: gridClassName, children, }: TableGridProps): import("react").JSX.Element;
|
|
10
10
|
export declare namespace TableGrid {
|
|
11
11
|
var displayName: string;
|
|
12
12
|
}
|
|
@@ -10,7 +10,7 @@ export declare function TableHeaderRowRenderer({ item, state, resizeState, stick
|
|
|
10
10
|
onResize?: (widths: any) => void;
|
|
11
11
|
onResizeEnd?: (widths: any) => void;
|
|
12
12
|
};
|
|
13
|
-
}): import("react
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
14
|
export declare namespace TableHeaderRowRenderer {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -12,7 +12,7 @@ import { TableState } from '@react-stately/table';
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function TableHeaderSelectionCheckbox({ state }: {
|
|
14
14
|
state: TableState<unknown>;
|
|
15
|
-
}): import("react
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
16
|
export declare namespace TableHeaderSelectionCheckbox {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -3,7 +3,7 @@ export declare function TableRoot({ className, children, stickyHeader: stickyHea
|
|
|
3
3
|
className?: string;
|
|
4
4
|
stickyHeader?: boolean;
|
|
5
5
|
children?: AriaTableProps<object>['children'];
|
|
6
|
-
}): import("react
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
7
|
export declare namespace TableRoot {
|
|
8
8
|
var displayName: string;
|
|
9
9
|
}
|
|
@@ -36,7 +36,7 @@ export interface TableRootWrapperProps extends TableProps {
|
|
|
36
36
|
/**
|
|
37
37
|
* A data table component that displays information in rows and columns with support for sorting, selection, and resizing.
|
|
38
38
|
*/
|
|
39
|
-
export declare function TableRootWrapper({ children, className, selectedKeys, onSelectionChange, totalCount, hasMultiplePages, onClearSelection: onClearSelectionProp, onSelectAll, allowsResizing, resizeColumnAriaLabel, maxHeight, stickyHeader, onResizeStart, onResize, onResizeEnd, onKeyDownCapture, sortDescriptor, onSortChange, ...restProps }: TableRootWrapperProps): import("react
|
|
39
|
+
export declare function TableRootWrapper({ children, className, selectedKeys, onSelectionChange, totalCount, hasMultiplePages, onClearSelection: onClearSelectionProp, onSelectAll, allowsResizing, resizeColumnAriaLabel, maxHeight, stickyHeader, onResizeStart, onResize, onResizeEnd, onKeyDownCapture, sortDescriptor, onSortChange, ...restProps }: TableRootWrapperProps): import("react").JSX.Element;
|
|
40
40
|
export declare namespace TableRootWrapper {
|
|
41
41
|
var displayName: string;
|
|
42
42
|
}
|
|
@@ -12,7 +12,7 @@ export interface TableSelectionCheckboxProps {
|
|
|
12
12
|
* Adapter that renders Spark `Checkbox` from React Aria checkbox props.
|
|
13
13
|
* Used for row selection and "select all" in the table header.
|
|
14
14
|
*/
|
|
15
|
-
export declare function TableSelectionCheckbox({ checkboxProps, className, suppressFocusWalker, }: TableSelectionCheckboxProps): import("react
|
|
15
|
+
export declare function TableSelectionCheckbox({ checkboxProps, className, suppressFocusWalker, }: TableSelectionCheckboxProps): import("react").JSX.Element;
|
|
16
16
|
export declare namespace TableSelectionCheckbox {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
package/dist/tabs/Tabs.d.ts
CHANGED
|
@@ -19,6 +19,6 @@ export interface TabsProps extends Omit<ComponentProps<typeof BaseTabs.Root>, 'r
|
|
|
19
19
|
*/
|
|
20
20
|
export type TabsRootProps = TabsProps;
|
|
21
21
|
export declare const Tabs: {
|
|
22
|
-
({ intent, size, asChild, forceMount, orientation, children, className, ref, ...rest }: TabsProps): import("react
|
|
22
|
+
({ intent, size, asChild, forceMount, orientation, children, className, ref, ...rest }: TabsProps): import("react").JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
@@ -18,6 +18,6 @@ export interface TabsContentProps extends PropsWithChildren<Omit<ComponentProps<
|
|
|
18
18
|
}
|
|
19
19
|
/** The panel that displays content associated with a tab. Renders a <div> element. */
|
|
20
20
|
export declare const TabsContent: {
|
|
21
|
-
({ children, asChild, className, ref, forceMount, ...rest }: TabsContentProps): import("react
|
|
21
|
+
({ children, asChild, className, ref, forceMount, ...rest }: TabsContentProps): import("react").JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
package/dist/tabs/TabsList.d.ts
CHANGED
|
@@ -16,6 +16,6 @@ export interface TabsListProps extends Omit<ComponentProps<typeof BaseTabs.List>
|
|
|
16
16
|
}
|
|
17
17
|
/** The container for the tab triggers. Renders a <div> element. */
|
|
18
18
|
export declare const TabsList: {
|
|
19
|
-
({ asChild, loop, children, className, ref, ...rest }: TabsListProps): import("react
|
|
19
|
+
({ asChild, loop, children, className, ref, ...rest }: TabsListProps): import("react").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
@@ -21,7 +21,7 @@ interface PopoverAbstractionProps {
|
|
|
21
21
|
children: (Popover: ConfiguredPopoverComponent) => ReactNode;
|
|
22
22
|
}
|
|
23
23
|
export declare const Popover: {
|
|
24
|
-
({ popoverSide, popoverTriggerRef, children }: PopoverAbstractionProps): import("react
|
|
24
|
+
({ popoverSide, popoverTriggerRef, children }: PopoverAbstractionProps): import("react").JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
export {};
|
|
@@ -37,6 +37,6 @@ export interface TabsTriggerProps extends Omit<ComponentProps<typeof BaseTabs.Ta
|
|
|
37
37
|
}
|
|
38
38
|
/** A button that activates a tab panel. Renders a <button> element. */
|
|
39
39
|
export declare const TabsTrigger: {
|
|
40
|
-
({ asChild, value, disabled, children, className, ref, onKeyDown, renderMenu, ...rest }: TabsTriggerProps): import("react
|
|
40
|
+
({ asChild, value, disabled, children, className, ref, onKeyDown, renderMenu, ...rest }: TabsTriggerProps): import("react").JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useRenderSlot(asChild: boolean): (({ ...props }: object) => import("react
|
|
1
|
+
export declare function useRenderSlot(asChild: boolean): (({ ...props }: object) => import("react").JSX.Element) | undefined;
|
package/dist/tag/Tag.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export type TagProps = BaseTagProps & ValidTagDesignIntent;
|
|
|
16
16
|
/**
|
|
17
17
|
* A compact element that labels, categorizes, or organizes content using keywords.
|
|
18
18
|
*/
|
|
19
|
-
export declare const Tag: ({ design, intent, size, shape, asChild, className, ref, ...others }: TagProps) => import("react
|
|
19
|
+
export declare const Tag: ({ design, intent, size, shape, asChild, className, ref, ...others }: TagProps) => import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -15,5 +15,5 @@ export type TextLinkProps = ComponentPropsWithRef<'a'> & StylesProps & {
|
|
|
15
15
|
/**
|
|
16
16
|
* A clickable text element that navigates users to another page or section.
|
|
17
17
|
*/
|
|
18
|
-
export declare const TextLink: ({ asChild, bold, children, className, intent, underline, ref, ...props }: TextLinkProps) => import("react
|
|
18
|
+
export declare const TextLink: ({ asChild, bold, children, className, intent, underline, ref, ...props }: TextLinkProps) => import("react").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -9,7 +9,7 @@ export interface TextareaProps extends TextareaPrimitiveProps, Pick<InputProps,
|
|
|
9
9
|
* A multi-line text input field that allows users to enter longer text content.
|
|
10
10
|
*/
|
|
11
11
|
export declare const Textarea: {
|
|
12
|
-
({ className, disabled, rows, isResizable, ref, onValueChange, ...others }: PropsWithChildren<TextareaProps>): import("react
|
|
12
|
+
({ className, disabled, rows, isResizable, ref, onValueChange, ...others }: PropsWithChildren<TextareaProps>): import("react").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
} & {
|
|
15
15
|
id: string;
|
|
@@ -5,7 +5,7 @@ export interface TextareaClearButtonProps extends ComponentPropsWithoutRef<'butt
|
|
|
5
5
|
}
|
|
6
6
|
/** A button to clear the textarea value. Renders a <button> element. */
|
|
7
7
|
export declare const TextareaClearButton: {
|
|
8
|
-
(props: TextareaClearButtonProps): import("react
|
|
8
|
+
(props: TextareaClearButtonProps): import("react").JSX.Element;
|
|
9
9
|
id: string;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputGroupProps } from '../input';
|
|
2
2
|
export type TextareaGroupProps = InputGroupProps;
|
|
3
3
|
export declare const TextareaGroup: {
|
|
4
|
-
(props: TextareaGroupProps): import("react
|
|
4
|
+
(props: TextareaGroupProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -2,7 +2,7 @@ import { InputLeadingIconProps } from '../input';
|
|
|
2
2
|
export type TextareaLeadingIconProps = InputLeadingIconProps;
|
|
3
3
|
/** An icon displayed before the textarea text. Renders a <div> element. */
|
|
4
4
|
export declare const TextareaLeadingIcon: {
|
|
5
|
-
(props: InputLeadingIconProps): import("react
|
|
5
|
+
(props: InputLeadingIconProps): import("react").JSX.Element;
|
|
6
6
|
id: string;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { InputTrailingIconProps } from '../input';
|
|
|
2
2
|
export type TextareaTrailingIconProps = InputTrailingIconProps;
|
|
3
3
|
/** An icon displayed after the textarea text. Renders a <div> element. */
|
|
4
4
|
export declare const TextareaTrailingIcon: {
|
|
5
|
-
(props: InputTrailingIconProps): import("react
|
|
5
|
+
(props: InputTrailingIconProps): import("react").JSX.Element;
|
|
6
6
|
id: string;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
package/dist/toast/Toast.d.ts
CHANGED
package/dist/toast/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ interface ToastProviderProps extends React.ComponentProps<typeof BaseToast.Provi
|
|
|
9
9
|
/**
|
|
10
10
|
* A provider component that manages and displays temporary notification messages to users.
|
|
11
11
|
*/
|
|
12
|
-
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps):
|
|
12
|
+
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps): React.JSX.Element;
|
|
13
13
|
interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>, 'title'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
asChild?: boolean;
|
|
@@ -17,7 +17,7 @@ interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>,
|
|
|
17
17
|
description?: string | React.ReactNode;
|
|
18
18
|
timeout?: number;
|
|
19
19
|
}
|
|
20
|
-
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps):
|
|
20
|
+
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps): React.JSX.Element;
|
|
21
21
|
export type ToastManager = ReturnType<typeof BaseToast.createToastManager>;
|
|
22
22
|
export declare const createToastManager: () => ToastManager;
|
|
23
23
|
export { useToastManager };
|
package/dist/toast/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface ToastProviderProps extends React.ComponentProps<typeof BaseToast.Provi
|
|
|
9
9
|
/**
|
|
10
10
|
* A provider component that manages and displays temporary notification messages to users.
|
|
11
11
|
*/
|
|
12
|
-
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps):
|
|
12
|
+
export declare function ToastProvider({ children, limit, ...props }: ToastProviderProps): React.JSX.Element;
|
|
13
13
|
interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>, 'title'>, Pick<ToastObject, 'priority'>, Pick<ToastData, 'design' | 'intent' | 'icon' | 'isClosable' | 'action' | 'compact'> {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
asChild?: boolean;
|
|
@@ -17,7 +17,7 @@ interface ToastTriggerProps extends Omit<React.ComponentPropsWithRef<'button'>,
|
|
|
17
17
|
description?: string | React.ReactNode;
|
|
18
18
|
timeout?: number;
|
|
19
19
|
}
|
|
20
|
-
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps):
|
|
20
|
+
export declare function ToastTrigger({ children, onClick, asChild, title, description, timeout, design, intent, isClosable, icon, action, compact, priority, }: ToastTriggerProps): React.JSX.Element;
|
|
21
21
|
export type ToastManager = ReturnType<typeof BaseToast.createToastManager>;
|
|
22
22
|
export declare const createToastManager: () => ToastManager;
|
|
23
23
|
export { useToastManager };
|
|
@@ -30,6 +30,6 @@ export interface ToggleGroupProps extends PropsWithChildren, ComponentPropsWitho
|
|
|
30
30
|
ref?: Ref<HTMLDivElement>;
|
|
31
31
|
}
|
|
32
32
|
export declare const ToggleGroup: {
|
|
33
|
-
({ asChild, multiple, children, className, ref, ...rest }: ToggleGroupProps): import("react
|
|
33
|
+
({ asChild, multiple, children, className, ref, ...rest }: ToggleGroupProps): import("react").JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
@@ -18,6 +18,6 @@ export interface ToggleGroupToggleProps extends ComponentPropsWithoutRef<'button
|
|
|
18
18
|
}
|
|
19
19
|
/** A toggle button within a toggle group. Renders a <button> element. */
|
|
20
20
|
export declare const ToggleGroupToggle: {
|
|
21
|
-
({ asChild, value, disabled, children, className, ref, ...rest }: ToggleGroupToggleProps): import("react
|
|
21
|
+
({ asChild, value, disabled, children, className, ref, ...rest }: ToggleGroupToggleProps): import("react").JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useRenderSlot(asChild: boolean): (({ ...props }: object) => import("react
|
|
1
|
+
export declare function useRenderSlot(asChild: boolean): (({ ...props }: object) => import("react").JSX.Element) | undefined;
|
|
@@ -10,6 +10,6 @@ export type VisuallyHiddenProps = PropsWithChildren<HTMLAttributes<HTMLElement>>
|
|
|
10
10
|
* A utility component that hides content visually while keeping it accessible to screen readers.
|
|
11
11
|
*/
|
|
12
12
|
export declare const VisuallyHidden: {
|
|
13
|
-
({ asChild, ref, ...props }: VisuallyHiddenProps): import("react
|
|
13
|
+
({ asChild, ref, ...props }: VisuallyHiddenProps): import("react").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-ui/components",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Spark (Leboncoin design system) components.",
|
|
6
6
|
"exports": {
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@base-ui/react": "^1.5.0",
|
|
51
|
-
"@spark-ui/hooks": "18.0.
|
|
52
|
-
"@spark-ui/icons": "18.0.
|
|
53
|
-
"@spark-ui/internal-utils": "18.0.
|
|
51
|
+
"@spark-ui/hooks": "18.0.12",
|
|
52
|
+
"@spark-ui/icons": "18.0.12",
|
|
53
|
+
"@spark-ui/internal-utils": "18.0.12",
|
|
54
54
|
"@zag-js/pagination": "1.30.0",
|
|
55
55
|
"@zag-js/react": "1.30.0",
|
|
56
56
|
"class-variance-authority": "0.7.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"react-snap-carousel": "0.5.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@spark-ui/theme-utils": "18.0.
|
|
65
|
+
"@spark-ui/theme-utils": "18.0.12",
|
|
66
66
|
"react": "19.2.4",
|
|
67
67
|
"react-dom": "19.2.4",
|
|
68
68
|
"tailwindcss": "4.1.18"
|