moduix 0.8.1 → 0.8.3

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.
@@ -24,7 +24,7 @@ declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Prop
24
24
  declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
25
25
  declare function DialogClose({ className, ...props }: DialogPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
26
26
  declare function DialogCloseIcon({ className, children, ...props }: DialogPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
27
- declare function DialogContent({ className, classNames, slotProps, container, withBackdrop, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
27
+ declare function DialogContent({ className, classNames, slotProps, container, withBackdrop, children, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
28
28
  declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
29
29
  declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
30
30
  declare function DialogBody({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
2
2
  import * as React from 'react';
3
3
  type ScrollAreaFade = boolean | 'vertical' | 'horizontal' | 'both';
4
4
  type ScrollAreaScrollbars = 'vertical' | 'horizontal' | 'both' | false;
5
+ type ScrollAreaContentMinWidth = 'full' | 'fit-content';
5
6
  type ScrollAreaClassNames = {
6
7
  viewport?: ScrollAreaPrimitive.Viewport.Props['className'];
7
8
  content?: ScrollAreaPrimitive.Content.Props['className'];
@@ -28,10 +29,11 @@ type ScrollAreaProps = Omit<ScrollAreaPrimitive.Root.Props, 'children'> & {
28
29
  children?: React.ReactNode;
29
30
  fade?: ScrollAreaFade;
30
31
  scrollbars?: ScrollAreaScrollbars;
32
+ contentMinWidth?: ScrollAreaContentMinWidth;
31
33
  scrollbarKeepMounted?: boolean;
32
34
  classNames?: ScrollAreaClassNames;
33
35
  slotProps?: ScrollAreaSlotProps;
34
36
  };
35
- declare function ScrollArea({ className, classNames, children, fade, scrollbars, scrollbarKeepMounted, slotProps, ...props }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
37
+ declare function ScrollArea({ className, classNames, children, fade, scrollbars, contentMinWidth, scrollbarKeepMounted, slotProps, ...props }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
36
38
  export { ScrollArea };
37
- export type { ScrollAreaProps, ScrollAreaClassNames, ScrollAreaSlotProps, ScrollAreaFade, ScrollAreaScrollbars, };
39
+ export type { ScrollAreaProps, ScrollAreaClassNames, ScrollAreaSlotProps, ScrollAreaFade, ScrollAreaScrollbars, ScrollAreaContentMinWidth, };
@@ -1,2 +1,2 @@
1
1
  export { ScrollArea } from './ScrollArea';
2
- export type { ScrollAreaProps, ScrollAreaClassNames, ScrollAreaSlotProps, ScrollAreaFade, ScrollAreaScrollbars, } from './ScrollArea';
2
+ export type { ScrollAreaProps, ScrollAreaClassNames, ScrollAreaSlotProps, ScrollAreaFade, ScrollAreaScrollbars, ScrollAreaContentMinWidth, } from './ScrollArea';