dawn-ui-react 1.0.0-alpha.37 → 1.0.0-alpha.38
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/components/accordion/accordion-icon.d.ts +2 -0
- package/dist/components/accordion/accordion.types.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/alert/alert-action.d.ts +2 -0
- package/dist/components/alert/alert-icon.d.ts +2 -0
- package/dist/components/alert/alert.types.d.ts +2 -2
- package/dist/components/alert/index.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-footer.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-icon.d.ts +2 -0
- package/dist/components/alert-dialog/alert-dialog.types.d.ts +2 -2
- package/dist/components/alert-dialog/index.d.ts +3 -3
- package/dist/components/color-picker/color-picker.types.d.ts +5 -7
- package/dist/components/dialog/dialog-icon.d.ts +2 -0
- package/dist/components/dialog/dialog.types.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/preview-card/index.d.ts +4 -0
- package/dist/components/preview-card/preview-card-popup.d.ts +2 -0
- package/dist/components/preview-card/preview-card-trigger.d.ts +2 -0
- package/dist/components/preview-card/preview-card.d.ts +2 -0
- package/dist/components/preview-card/preview-card.types.d.ts +4 -0
- package/dist/dawn-ui-react.js +12757 -12342
- package/dist/dawn-ui-react.umd.cjs +36 -36
- package/package.json +1 -1
- package/dist/components/accordion/accordion-trigger.d.ts +0 -2
- package/dist/components/alert/alert-actions.d.ts +0 -2
- package/dist/components/alert/alert-content.d.ts +0 -2
- package/dist/components/alert-dialog/alert-dialog-content.d.ts +0 -2
|
@@ -15,4 +15,4 @@ export type AccordionItemProps = React.ComponentProps<typeof BaseAccordion.Item>
|
|
|
15
15
|
export type AccordionHeaderProps = React.ComponentProps<typeof BaseAccordion.Header>;
|
|
16
16
|
export type AccordionTitleProps = React.ComponentProps<'div'>;
|
|
17
17
|
export type AccordionSubtitleProps = React.ComponentProps<'div'>;
|
|
18
|
-
export type
|
|
18
|
+
export type AccordionIconProps = React.ComponentProps<'div'>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Accordion } from './accordion';
|
|
2
|
-
export type { AccordionHeaderProps, AccordionItemProps, AccordionProps, AccordionPanelProps, AccordionSubtitleProps, AccordionTitleProps,
|
|
2
|
+
export type { AccordionHeaderProps, AccordionItemProps, AccordionProps, AccordionPanelProps, AccordionSubtitleProps, AccordionTitleProps, AccordionIconProps, } from './accordion.types';
|
|
3
3
|
export { AccordionHeader } from './accordion-header';
|
|
4
4
|
export { AccordionItem } from './accordion-item';
|
|
5
5
|
export { AccordionPanel } from './accordion-panel';
|
|
6
6
|
export { AccordionSubtitle } from './accordion-subtitle';
|
|
7
7
|
export { AccordionTitle } from './accordion-title';
|
|
8
|
-
export {
|
|
8
|
+
export { AccordionIcon } from './accordion-icon';
|
|
@@ -5,5 +5,5 @@ export declare const alertVariants: (props?: ({
|
|
|
5
5
|
export type AlertProps = React.ComponentProps<'div'> & VariantProps<typeof alertVariants>;
|
|
6
6
|
export type AlertTitleProps = React.ComponentProps<'div'>;
|
|
7
7
|
export type AlertDescriptionProps = React.ComponentProps<'div'>;
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
8
|
+
export type AlertActionProps = React.ComponentProps<'div'>;
|
|
9
|
+
export type AlertIconProps = React.ComponentProps<'div'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Alert } from './alert';
|
|
2
|
-
export type { AlertDescriptionProps,
|
|
2
|
+
export type { AlertActionProps, AlertDescriptionProps, AlertIconProps, AlertProps, AlertTitleProps, } from './alert.types';
|
|
3
3
|
export { AlertDescription } from './alert-description';
|
|
4
4
|
export { AlertTitle } from './alert-title';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
5
|
+
export { AlertAction } from './alert-action';
|
|
6
|
+
export { AlertIcon } from './alert-icon';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { AlertDialogFooterProps } from './alert-dialog.types';
|
|
2
|
+
export declare const AlertDialogFooter: ({ className, children, ref, ...props }: AlertDialogFooterProps) => import("react").JSX.Element;
|
|
@@ -10,7 +10,7 @@ export type AlertDialogHeaderProps = React.ComponentProps<'div'>;
|
|
|
10
10
|
export type AlertDialogTitleProps = React.ComponentProps<typeof BaseAlertDialog.Title>;
|
|
11
11
|
export type AlertDialogDescriptionProps = React.ComponentProps<typeof BaseAlertDialog.Description>;
|
|
12
12
|
export type AlertDialogCloseProps = React.ComponentProps<typeof BaseAlertDialog.Close>;
|
|
13
|
-
export type
|
|
14
|
-
export type AlertDialogActionsProps = React.ComponentProps<'div'>;
|
|
13
|
+
export type AlertDialogFooterProps = React.ComponentProps<'div'>;
|
|
15
14
|
export type AlertDialogConfirmProps = React.ComponentProps<typeof BaseAlertDialog.Close>;
|
|
15
|
+
export type AlertDialogIconProps = React.ComponentProps<'div'>;
|
|
16
16
|
export declare const alertDialogHandle: BaseAlertDialog.Handle<import('react').ComponentType<{}>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { AlertDialog } from './alert-dialog';
|
|
2
|
-
export type { AlertDialogCloseProps, AlertDialogConfirmProps,
|
|
2
|
+
export type { AlertDialogCloseProps, AlertDialogConfirmProps, AlertDialogDescriptionProps, AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogPopupProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps, AlertDialogIconProps, } from './alert-dialog.types';
|
|
3
3
|
export { AlertDialogClose } from './alert-dialog-close';
|
|
4
4
|
export { AlertDialogConfirm } from './alert-dialog-confirm';
|
|
5
|
-
export { AlertDialogContent } from './alert-dialog-content';
|
|
6
5
|
export { AlertDialogDescription } from './alert-dialog-description';
|
|
7
|
-
export {
|
|
6
|
+
export { AlertDialogFooter } from './alert-dialog-footer';
|
|
8
7
|
export { AlertDialogHeader } from './alert-dialog-header';
|
|
9
8
|
export { AlertDialogPopup } from './alert-dialog-popup';
|
|
10
9
|
export { AlertDialogTitle } from './alert-dialog-title';
|
|
11
10
|
export { AlertDialogTrigger } from './alert-dialog-trigger';
|
|
11
|
+
export { AlertDialogIcon } from './alert-dialog-icon';
|
|
@@ -99,15 +99,13 @@ export type ColorPickerValueTypeProps = React.ComponentProps<typeof SelectTrigge
|
|
|
99
99
|
export type ColorPickerRowProps = React.ComponentProps<'div'>;
|
|
100
100
|
export type ColorPickerGroupProps = React.ComponentProps<'div'>;
|
|
101
101
|
export type ColorPickerLabelProps = React.ComponentProps<'span'>;
|
|
102
|
-
export type ColorPickerPaletteListChild =
|
|
103
|
-
color:
|
|
102
|
+
export type ColorPickerPaletteListChild = (props: {
|
|
103
|
+
color: string;
|
|
104
104
|
index: number;
|
|
105
|
-
}) => React.ReactNode
|
|
106
|
-
export type ColorPickerPaletteListProps =
|
|
107
|
-
children?: ColorPickerPaletteListChild | ColorPickerPaletteListChild[];
|
|
108
|
-
};
|
|
105
|
+
}) => React.ReactNode;
|
|
106
|
+
export type ColorPickerPaletteListProps = React.ComponentProps<'ul'>;
|
|
109
107
|
export type ColorPickerPaletteSwatchProps = Omit<React.ComponentProps<'button'>, 'color'> & VariantProps<typeof colorPickerSwatchVariants> & {
|
|
110
|
-
color:
|
|
108
|
+
color: string;
|
|
111
109
|
};
|
|
112
110
|
export type ColorPickerPaletteAddProps = React.ComponentProps<'button'>;
|
|
113
111
|
export type ColorPickerPaletteLimitProps = React.ComponentProps<'span'>;
|
|
@@ -9,4 +9,5 @@ export type DialogCloseProps = ComponentProps<typeof BaseDialog.Close>;
|
|
|
9
9
|
export type DialogContentProps = React.ComponentProps<'div'>;
|
|
10
10
|
export type DialogHeaderProps = React.ComponentProps<'div'>;
|
|
11
11
|
export type DialogFooterProps = React.ComponentProps<'div'>;
|
|
12
|
+
export type DialogIconProps = React.ComponentProps<'div'>;
|
|
12
13
|
export declare const DialogHelper: typeof BaseDialog;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export { Dialog } from './dialog';
|
|
2
|
-
export type { DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogPopupProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './dialog.types';
|
|
2
|
+
export type { DialogCloseProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogIconProps, DialogPopupProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './dialog.types';
|
|
3
3
|
export { DialogClose } from './dialog-close';
|
|
4
4
|
export { DialogContent } from './dialog-content';
|
|
5
5
|
export { DialogDescription } from './dialog-description';
|
|
6
6
|
export { DialogFooter } from './dialog-footer';
|
|
7
7
|
export { DialogHeader } from './dialog-header';
|
|
8
|
+
export { DialogIcon } from './dialog-icon';
|
|
8
9
|
export { DialogPopup } from './dialog-popup';
|
|
9
10
|
export { DialogTitle } from './dialog-title';
|
|
10
11
|
export { DialogTrigger } from './dialog-trigger';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { PreviewCardPopupProps, PreviewCardProps, PreviewCardTriggerProps, } from './preview-card.types';
|
|
2
|
+
export { PreviewCard } from './preview-card';
|
|
3
|
+
export { PreviewCardPopup } from './preview-card-popup';
|
|
4
|
+
export { PreviewCardTrigger } from './preview-card-trigger';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PreviewCard } from '@base-ui/react';
|
|
2
|
+
export type PreviewCardProps = React.ComponentProps<typeof PreviewCard.Root>;
|
|
3
|
+
export type PreviewCardTriggerProps = React.ComponentProps<typeof PreviewCard.Trigger>;
|
|
4
|
+
export type PreviewCardPopupProps = React.ComponentProps<typeof PreviewCard.Positioner>;
|