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.
Files changed (28) hide show
  1. package/dist/components/accordion/accordion-icon.d.ts +2 -0
  2. package/dist/components/accordion/accordion.types.d.ts +1 -1
  3. package/dist/components/accordion/index.d.ts +2 -2
  4. package/dist/components/alert/alert-action.d.ts +2 -0
  5. package/dist/components/alert/alert-icon.d.ts +2 -0
  6. package/dist/components/alert/alert.types.d.ts +2 -2
  7. package/dist/components/alert/index.d.ts +3 -3
  8. package/dist/components/alert-dialog/alert-dialog-footer.d.ts +2 -2
  9. package/dist/components/alert-dialog/alert-dialog-icon.d.ts +2 -0
  10. package/dist/components/alert-dialog/alert-dialog.types.d.ts +2 -2
  11. package/dist/components/alert-dialog/index.d.ts +3 -3
  12. package/dist/components/color-picker/color-picker.types.d.ts +5 -7
  13. package/dist/components/dialog/dialog-icon.d.ts +2 -0
  14. package/dist/components/dialog/dialog.types.d.ts +1 -0
  15. package/dist/components/dialog/index.d.ts +2 -1
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/components/preview-card/index.d.ts +4 -0
  18. package/dist/components/preview-card/preview-card-popup.d.ts +2 -0
  19. package/dist/components/preview-card/preview-card-trigger.d.ts +2 -0
  20. package/dist/components/preview-card/preview-card.d.ts +2 -0
  21. package/dist/components/preview-card/preview-card.types.d.ts +4 -0
  22. package/dist/dawn-ui-react.js +12757 -12342
  23. package/dist/dawn-ui-react.umd.cjs +36 -36
  24. package/package.json +1 -1
  25. package/dist/components/accordion/accordion-trigger.d.ts +0 -2
  26. package/dist/components/alert/alert-actions.d.ts +0 -2
  27. package/dist/components/alert/alert-content.d.ts +0 -2
  28. package/dist/components/alert-dialog/alert-dialog-content.d.ts +0 -2
@@ -0,0 +1,2 @@
1
+ import { AccordionIconProps } from './accordion.types';
2
+ export declare const AccordionIcon: ({ className, children, ref, ...props }: AccordionIconProps) => import("react").JSX.Element;
@@ -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 AccordionTriggerProps = React.ComponentProps<typeof BaseAccordion.Trigger>;
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, AccordionTriggerProps, } from './accordion.types';
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 { AccordionTrigger } from './accordion-trigger';
8
+ export { AccordionIcon } from './accordion-icon';
@@ -0,0 +1,2 @@
1
+ import { AlertActionProps } from './alert.types';
2
+ export declare const AlertAction: ({ className, children, ref, ...props }: AlertActionProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { AlertIconProps } from './alert.types';
2
+ export declare const AlertIcon: ({ className, children, ref, ...props }: AlertIconProps) => import("react").JSX.Element;
@@ -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 AlertContentProps = React.ComponentProps<'div'>;
9
- export type AlertActionsProps = React.ComponentProps<'div'>;
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, AlertTitleProps, AlertProps, AlertContentProps, AlertActionsProps, } from './alert.types';
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 { AlertContent } from './alert-content';
6
- export { AlertActions } from './alert-actions';
5
+ export { AlertAction } from './alert-action';
6
+ export { AlertIcon } from './alert-icon';
@@ -1,2 +1,2 @@
1
- import { AlertDialogActionsProps } from './alert-dialog.types';
2
- export declare const AlertDialogActions: ({ className, children, ref, ...props }: AlertDialogActionsProps) => import("react").JSX.Element;
1
+ import { AlertDialogFooterProps } from './alert-dialog.types';
2
+ export declare const AlertDialogFooter: ({ className, children, ref, ...props }: AlertDialogFooterProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { AlertDialogIconProps } from './alert-dialog.types';
2
+ export declare const AlertDialogIcon: ({ className, children, ref, ...props }: AlertDialogIconProps) => 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 AlertDialogContentProps = React.ComponentProps<'div'>;
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, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogActionsProps, AlertDialogHeaderProps, AlertDialogPopupProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps, } from './alert-dialog.types';
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 { AlertDialogActions } from './alert-dialog-footer';
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 = React.ReactNode | ((props: {
103
- color: chroma.Color;
102
+ export type ColorPickerPaletteListChild = (props: {
103
+ color: string;
104
104
  index: number;
105
- }) => React.ReactNode);
106
- export type ColorPickerPaletteListProps = Omit<React.ComponentProps<'ul'>, 'children'> & {
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: chroma.Color;
108
+ color: string;
111
109
  };
112
110
  export type ColorPickerPaletteAddProps = React.ComponentProps<'button'>;
113
111
  export type ColorPickerPaletteLimitProps = React.ComponentProps<'span'>;
@@ -0,0 +1,2 @@
1
+ import { DialogIconProps } from './dialog.types';
2
+ export declare const DialogIcon: ({ className, children, ref, ...props }: DialogIconProps) => import("react").JSX.Element;
@@ -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';
@@ -33,6 +33,7 @@ export * from './meter';
33
33
  export * from './nav-bar';
34
34
  export * from './navigation-menu';
35
35
  export * from './number-field';
36
+ export * from './preview-card';
36
37
  export * from './popover';
37
38
  export * from './profile';
38
39
  export * from './progress';
@@ -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,2 @@
1
+ import { PreviewCardPopupProps } from './preview-card.types';
2
+ export declare const PreviewCardPopup: ({ className, children, ref, ...props }: PreviewCardPopupProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { PreviewCardTriggerProps } from './preview-card.types';
2
+ export declare const PreviewCardTrigger: ({ className, children, ref, ...props }: PreviewCardTriggerProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { PreviewCardProps } from './preview-card.types';
2
+ export declare const PreviewCard: ({ children, ...props }: PreviewCardProps) => import("react").JSX.Element;
@@ -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>;