@spark-ui/components
Version:
Spark (Leboncoin design system) components.
34 lines (30 loc) • 1.55 kB
text/typescript
import { C as CloseProps, D as Dialog$1, T as Trigger, P as Portal, O as Overlay, a as Content, H as Header, B as Body, F as Footer, b as Close, c as Title, d as Description } from '../DialogTrigger-5SI4dvpK.mjs';
export { h as DialogBodyProps, f as DialogContentProps, n as DialogDescriptionProps, i as DialogFooterProps, g as DialogHeaderProps, k as DialogOverlayProps, l as DialogPortalProps, e as DialogProps, m as DialogTitleProps, j as DialogTriggerProps } from '../DialogTrigger-5SI4dvpK.mjs';
import * as react_jsx_runtime from 'react/jsx-runtime';
import { IconButtonProps } from '../icon-button/index.mjs';
import 'radix-ui';
import 'react';
import 'class-variance-authority/types';
import 'class-variance-authority';
import '../button/index.mjs';
type CloseButtonProps = CloseProps & Pick<IconButtonProps, 'size' | 'intent' | 'design' | 'aria-label'>;
declare const CloseButton: {
({ "aria-label": ariaLabel, className, size, intent, design, children, ref, ...rest }: CloseButtonProps): react_jsx_runtime.JSX.Element;
displayName: string;
} & {
id: string;
};
declare const Dialog: typeof Dialog$1 & {
Trigger: typeof Trigger;
Portal: typeof Portal;
Overlay: typeof Overlay;
Content: typeof Content;
Header: typeof Header;
Body: typeof Body;
Footer: typeof Footer;
Close: typeof Close;
CloseButton: typeof CloseButton;
Title: typeof Title;
Description: typeof Description;
};
export { Dialog, type CloseButtonProps as DialogCloseButtonProps, CloseProps as DialogCloseProps };