@waveso/ui 0.15.0 → 0.15.1

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 (76) hide show
  1. package/README.md +12 -10
  2. package/dist/accordion.d.ts +4 -20
  3. package/dist/action-bar.d.ts +1 -10
  4. package/dist/action-bar.js +2 -1
  5. package/dist/alert-dialog.d.ts +12 -52
  6. package/dist/alert.d.ts +5 -21
  7. package/dist/animate.d.ts +5 -48
  8. package/dist/animate.js +6 -4
  9. package/dist/aspect-ratio.d.ts +3 -8
  10. package/dist/autocomplete.d.ts +21 -88
  11. package/dist/avatar.d.ts +6 -27
  12. package/dist/badge.d.ts +3 -11
  13. package/dist/breadcrumb.d.ts +7 -31
  14. package/dist/button-group.d.ts +4 -19
  15. package/dist/button.d.ts +4 -12
  16. package/dist/card.d.ts +7 -31
  17. package/dist/checkbox.d.ts +1 -6
  18. package/dist/collapsible.d.ts +3 -12
  19. package/dist/combobox.d.ts +18 -81
  20. package/dist/context-menu.d.ts +15 -67
  21. package/dist/count.d.ts +1 -15
  22. package/dist/count.js +3 -2
  23. package/dist/dialog.d.ts +10 -41
  24. package/dist/direction.d.ts +0 -1
  25. package/dist/drawer.d.ts +11 -44
  26. package/dist/encrypted-text.d.ts +1 -14
  27. package/dist/encrypted-text.js +2 -1
  28. package/dist/field.d.ts +7 -28
  29. package/dist/film-grain-shader.d.ts +3 -4
  30. package/dist/film-grain-webgl.d.ts +2 -9
  31. package/dist/film-grain-webgl.js +4 -1
  32. package/dist/film-grain.d.ts +1 -11
  33. package/dist/form.d.ts +11 -30
  34. package/dist/gradient-reveal-text.d.ts +1 -14
  35. package/dist/hooks/use-mobile.d.ts +2 -3
  36. package/dist/infinite-scroll.d.ts +1 -16
  37. package/dist/input-group.d.ts +11 -37
  38. package/dist/input-otp.d.ts +4 -20
  39. package/dist/input.d.ts +3 -11
  40. package/dist/item.d.ts +14 -51
  41. package/dist/kbd.d.ts +2 -10
  42. package/dist/label.d.ts +1 -6
  43. package/dist/lib/focus.d.ts +3 -5
  44. package/dist/lib/internal-icons.d.ts +19 -22
  45. package/dist/lib/utils.d.ts +3 -5
  46. package/dist/lib/utils.js +2 -1
  47. package/dist/masonry.d.ts +2 -16
  48. package/dist/masonry.js +1 -1
  49. package/dist/menu.d.ts +15 -64
  50. package/dist/menubar.d.ts +16 -55
  51. package/dist/pagination.d.ts +9 -33
  52. package/dist/popover.d.ts +9 -43
  53. package/dist/preview-card.d.ts +5 -25
  54. package/dist/progress.d.ts +5 -24
  55. package/dist/radio-group.d.ts +2 -9
  56. package/dist/radio.d.ts +2 -10
  57. package/dist/scroll-area.d.ts +2 -12
  58. package/dist/select.d.ts +15 -64
  59. package/dist/separator.d.ts +1 -7
  60. package/dist/sidebar.d.ts +29 -126
  61. package/dist/sidebar.js +2 -2
  62. package/dist/skeleton.d.ts +1 -6
  63. package/dist/slider.d.ts +1 -14
  64. package/dist/slider.js +2 -2
  65. package/dist/spinner.d.ts +1 -6
  66. package/dist/switch.d.ts +2 -9
  67. package/dist/table.d.ts +8 -34
  68. package/dist/tabs.d.ts +5 -22
  69. package/dist/textarea.d.ts +3 -12
  70. package/dist/toast.d.ts +13 -39
  71. package/dist/toggle-group.d.ts +3 -19
  72. package/dist/toggle-group.js +13 -7
  73. package/dist/toggle.d.ts +3 -11
  74. package/dist/tooltip.d.ts +4 -24
  75. package/dist/typewriter.d.ts +1 -14
  76. package/package.json +52 -51
package/dist/menu.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { RestoreFocusOnClose } from "./lib/focus.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as React from "react";
4
3
  import { Menu as Menu$1 } from "@base-ui/react/menu";
5
-
6
4
  //#region src/menu.d.ts
7
5
  type MenuProps = React.ComponentProps<typeof Menu$1.Root>;
8
6
  type MenuPortalProps = React.ComponentProps<typeof Menu$1.Portal>;
@@ -38,67 +36,20 @@ type MenuRadioItemProps = React.ComponentProps<typeof Menu$1.RadioItem> & {
38
36
  };
39
37
  type MenuSeparatorProps = React.ComponentProps<typeof Menu$1.Separator>;
40
38
  type MenuShortcutProps = React.ComponentProps<"span">;
41
- declare function Menu(props: MenuProps): _$react_jsx_runtime0.JSX.Element;
42
- declare function MenuPortal(props: MenuPortalProps): _$react_jsx_runtime0.JSX.Element;
43
- declare function MenuTrigger(props: MenuTriggerProps): _$react_jsx_runtime0.JSX.Element;
44
- declare function MenuContent({
45
- align,
46
- alignOffset,
47
- side,
48
- sideOffset,
49
- className,
50
- restoreFocusOnClose,
51
- finalFocus,
52
- ...props
53
- }: MenuContentProps): _$react_jsx_runtime0.JSX.Element;
54
- declare function MenuGroup(props: MenuGroupProps): _$react_jsx_runtime0.JSX.Element;
55
- declare function MenuLabel({
56
- className,
57
- inset,
58
- ...props
59
- }: MenuLabelProps): _$react_jsx_runtime0.JSX.Element;
60
- declare function MenuItem({
61
- className,
62
- inset,
63
- variant,
64
- ...props
65
- }: MenuItemProps): _$react_jsx_runtime0.JSX.Element;
66
- declare function MenuSub(props: MenuSubProps): _$react_jsx_runtime0.JSX.Element;
67
- declare function MenuSubTrigger({
68
- className,
69
- inset,
70
- children,
71
- ...props
72
- }: MenuSubTriggerProps): _$react_jsx_runtime0.JSX.Element;
73
- declare function MenuSubContent({
74
- align,
75
- alignOffset,
76
- side,
77
- sideOffset,
78
- className,
79
- ...props
80
- }: MenuSubContentProps): _$react_jsx_runtime0.JSX.Element;
81
- declare function MenuCheckboxItem({
82
- className,
83
- children,
84
- checked,
85
- inset,
86
- ...props
87
- }: MenuCheckboxItemProps): _$react_jsx_runtime0.JSX.Element;
88
- declare function MenuRadioGroup(props: MenuRadioGroupProps): _$react_jsx_runtime0.JSX.Element;
89
- declare function MenuRadioItem({
90
- className,
91
- children,
92
- inset,
93
- ...props
94
- }: MenuRadioItemProps): _$react_jsx_runtime0.JSX.Element;
95
- declare function MenuSeparator({
96
- className,
97
- ...props
98
- }: MenuSeparatorProps): _$react_jsx_runtime0.JSX.Element;
99
- declare function MenuShortcut({
100
- className,
101
- ...props
102
- }: MenuShortcutProps): _$react_jsx_runtime0.JSX.Element;
39
+ declare function Menu(props: MenuProps): React.JSX.Element;
40
+ declare function MenuPortal(props: MenuPortalProps): React.JSX.Element;
41
+ declare function MenuTrigger(props: MenuTriggerProps): React.JSX.Element;
42
+ declare function MenuContent({ align, alignOffset, side, sideOffset, className, restoreFocusOnClose, finalFocus, ...props }: MenuContentProps): React.JSX.Element;
43
+ declare function MenuGroup(props: MenuGroupProps): React.JSX.Element;
44
+ declare function MenuLabel({ className, inset, ...props }: MenuLabelProps): React.JSX.Element;
45
+ declare function MenuItem({ className, inset, variant, ...props }: MenuItemProps): React.JSX.Element;
46
+ declare function MenuSub(props: MenuSubProps): React.JSX.Element;
47
+ declare function MenuSubTrigger({ className, inset, children, ...props }: MenuSubTriggerProps): React.JSX.Element;
48
+ declare function MenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuSubContentProps): React.JSX.Element;
49
+ declare function MenuCheckboxItem({ className, children, checked, inset, ...props }: MenuCheckboxItemProps): React.JSX.Element;
50
+ declare function MenuRadioGroup(props: MenuRadioGroupProps): React.JSX.Element;
51
+ declare function MenuRadioItem({ className, children, inset, ...props }: MenuRadioItemProps): React.JSX.Element;
52
+ declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): React.JSX.Element;
53
+ declare function MenuShortcut({ className, ...props }: MenuShortcutProps): React.JSX.Element;
103
54
  //#endregion
104
55
  export { Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, type MenuContentProps, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemProps, MenuLabel, type MenuLabelProps, MenuPortal, type MenuPortalProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuRadioItem, type MenuRadioItemProps, MenuSeparator, type MenuSeparatorProps, MenuShortcut, type MenuShortcutProps, MenuSub, MenuSubContent, type MenuSubContentProps, type MenuSubProps, MenuSubTrigger, type MenuSubTriggerProps, MenuTrigger, type MenuTriggerProps, type RestoreFocusOnClose };
package/dist/menubar.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from "./menu.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as React from "react";
4
3
  import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
5
-
6
4
  //#region src/menubar.d.ts
7
5
  type MenubarProps = React.ComponentProps<typeof Menubar$1>;
8
6
  type MenubarMenuProps = React.ComponentProps<typeof Menu>;
@@ -20,58 +18,21 @@ type MenubarShortcutProps = React.ComponentProps<typeof MenuShortcut>;
20
18
  type MenubarSubProps = React.ComponentProps<typeof MenuSub>;
21
19
  type MenubarSubTriggerProps = React.ComponentProps<typeof MenuSubTrigger>;
22
20
  type MenubarSubContentProps = React.ComponentProps<typeof MenuSubContent>;
23
- declare function Menubar({
24
- className,
25
- ...props
26
- }: MenubarProps): _$react_jsx_runtime0.JSX.Element;
27
- declare function MenubarMenu({
28
- ...props
29
- }: MenubarMenuProps): _$react_jsx_runtime0.JSX.Element;
30
- declare function MenubarGroup({
31
- ...props
32
- }: MenubarGroupProps): _$react_jsx_runtime0.JSX.Element;
33
- declare function MenubarPortal({
34
- ...props
35
- }: MenubarPortalProps): _$react_jsx_runtime0.JSX.Element;
36
- declare function MenubarTrigger({
37
- ...props
38
- }: MenubarTriggerProps): _$react_jsx_runtime0.JSX.Element;
39
- declare function MenubarContent({
40
- align,
41
- alignOffset,
42
- sideOffset,
43
- className,
44
- ...props
45
- }: MenubarContentProps): _$react_jsx_runtime0.JSX.Element;
46
- declare function MenubarItem({
47
- ...props
48
- }: MenubarItemProps): _$react_jsx_runtime0.JSX.Element;
49
- declare function MenubarCheckboxItem({
50
- ...props
51
- }: MenubarCheckboxItemProps): _$react_jsx_runtime0.JSX.Element;
52
- declare function MenubarRadioGroup({
53
- ...props
54
- }: MenubarRadioGroupProps): _$react_jsx_runtime0.JSX.Element;
55
- declare function MenubarRadioItem({
56
- ...props
57
- }: MenubarRadioItemProps): _$react_jsx_runtime0.JSX.Element;
58
- declare function MenubarLabel({
59
- ...props
60
- }: MenubarLabelProps): _$react_jsx_runtime0.JSX.Element;
61
- declare function MenubarSeparator({
62
- ...props
63
- }: MenubarSeparatorProps): _$react_jsx_runtime0.JSX.Element;
64
- declare function MenubarShortcut({
65
- ...props
66
- }: MenubarShortcutProps): _$react_jsx_runtime0.JSX.Element;
67
- declare function MenubarSub({
68
- ...props
69
- }: MenubarSubProps): _$react_jsx_runtime0.JSX.Element;
70
- declare function MenubarSubTrigger({
71
- ...props
72
- }: MenubarSubTriggerProps): _$react_jsx_runtime0.JSX.Element;
73
- declare function MenubarSubContent({
74
- ...props
75
- }: MenubarSubContentProps): _$react_jsx_runtime0.JSX.Element;
21
+ declare function Menubar({ className, ...props }: MenubarProps): React.JSX.Element;
22
+ declare function MenubarMenu({ ...props }: MenubarMenuProps): React.JSX.Element;
23
+ declare function MenubarGroup({ ...props }: MenubarGroupProps): React.JSX.Element;
24
+ declare function MenubarPortal({ ...props }: MenubarPortalProps): React.JSX.Element;
25
+ declare function MenubarTrigger({ ...props }: MenubarTriggerProps): React.JSX.Element;
26
+ declare function MenubarContent({ align, alignOffset, sideOffset, className, ...props }: MenubarContentProps): React.JSX.Element;
27
+ declare function MenubarItem({ ...props }: MenubarItemProps): React.JSX.Element;
28
+ declare function MenubarCheckboxItem({ ...props }: MenubarCheckboxItemProps): React.JSX.Element;
29
+ declare function MenubarRadioGroup({ ...props }: MenubarRadioGroupProps): React.JSX.Element;
30
+ declare function MenubarRadioItem({ ...props }: MenubarRadioItemProps): React.JSX.Element;
31
+ declare function MenubarLabel({ ...props }: MenubarLabelProps): React.JSX.Element;
32
+ declare function MenubarSeparator({ ...props }: MenubarSeparatorProps): React.JSX.Element;
33
+ declare function MenubarShortcut({ ...props }: MenubarShortcutProps): React.JSX.Element;
34
+ declare function MenubarSub({ ...props }: MenubarSubProps): React.JSX.Element;
35
+ declare function MenubarSubTrigger({ ...props }: MenubarSubTriggerProps): React.JSX.Element;
36
+ declare function MenubarSubContent({ ...props }: MenubarSubContentProps): React.JSX.Element;
76
37
  //#endregion
77
38
  export { Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, MenubarPortal, type MenubarPortalProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps };
@@ -1,13 +1,12 @@
1
1
  import { Button } from "./button.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as React from "react";
4
-
5
3
  //#region src/pagination.d.ts
6
4
  type PaginationProps = React.ComponentProps<"nav">;
7
5
  type PaginationContentProps = React.ComponentProps<"ul">;
8
6
  type PaginationItemProps = React.ComponentProps<"li">;
9
7
  type PaginationLinkProps = {
10
- isActive?: boolean; /** Marks the link disabled — aria-disabled, removed from tab order, non-interactive. */
8
+ isActive?: boolean;
9
+ /** Marks the link disabled — aria-disabled, removed from tab order, non-interactive. */
11
10
  disabled?: boolean;
12
11
  } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
13
12
  type PaginationPreviousProps = PaginationLinkProps & {
@@ -17,35 +16,12 @@ type PaginationNextProps = PaginationLinkProps & {
17
16
  text?: string;
18
17
  };
19
18
  type PaginationEllipsisProps = React.ComponentProps<"span">;
20
- declare function Pagination({
21
- className,
22
- ...props
23
- }: PaginationProps): _$react_jsx_runtime0.JSX.Element;
24
- declare function PaginationContent({
25
- className,
26
- ...props
27
- }: PaginationContentProps): _$react_jsx_runtime0.JSX.Element;
28
- declare function PaginationItem(props: PaginationItemProps): _$react_jsx_runtime0.JSX.Element;
29
- declare function PaginationLink({
30
- className,
31
- isActive,
32
- disabled,
33
- size,
34
- ...props
35
- }: PaginationLinkProps): _$react_jsx_runtime0.JSX.Element;
36
- declare function PaginationPrevious({
37
- className,
38
- text,
39
- ...props
40
- }: PaginationPreviousProps): _$react_jsx_runtime0.JSX.Element;
41
- declare function PaginationNext({
42
- className,
43
- text,
44
- ...props
45
- }: PaginationNextProps): _$react_jsx_runtime0.JSX.Element;
46
- declare function PaginationEllipsis({
47
- className,
48
- ...props
49
- }: PaginationEllipsisProps): _$react_jsx_runtime0.JSX.Element;
19
+ declare function Pagination({ className, ...props }: PaginationProps): React.JSX.Element;
20
+ declare function PaginationContent({ className, ...props }: PaginationContentProps): React.JSX.Element;
21
+ declare function PaginationItem(props: PaginationItemProps): React.JSX.Element;
22
+ declare function PaginationLink({ className, isActive, disabled, size, ...props }: PaginationLinkProps): React.JSX.Element;
23
+ declare function PaginationPrevious({ className, text, ...props }: PaginationPreviousProps): React.JSX.Element;
24
+ declare function PaginationNext({ className, text, ...props }: PaginationNextProps): React.JSX.Element;
25
+ declare function PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element;
50
26
  //#endregion
51
27
  export { Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps };
package/dist/popover.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { RestoreFocusOnClose } from "./lib/focus.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as React from "react";
4
3
  import { Popover as Popover$1 } from "@base-ui/react/popover";
5
-
6
4
  //#region src/popover.d.ts
7
5
  type PopoverProps = React.ComponentProps<typeof Popover$1.Root>;
8
6
  type PopoverTriggerProps = React.ComponentProps<typeof Popover$1.Trigger>;
@@ -27,46 +25,14 @@ type PopoverContentProps = React.ComponentProps<typeof Popover$1.Popup> & Pick<R
27
25
  */
28
26
  positionerClassName?: string;
29
27
  };
30
- declare function Popover({
31
- ...props
32
- }: PopoverProps): _$react_jsx_runtime0.JSX.Element;
33
- declare function PopoverTrigger({
34
- ...props
35
- }: PopoverTriggerProps): _$react_jsx_runtime0.JSX.Element;
36
- declare function PopoverPortal({
37
- ...props
38
- }: PopoverPortalProps): _$react_jsx_runtime0.JSX.Element;
39
- declare function PopoverPositioner({
40
- className,
41
- ...props
42
- }: PopoverPositionerProps): _$react_jsx_runtime0.JSX.Element;
43
- declare function PopoverBackdrop({
44
- className,
45
- ...props
46
- }: PopoverBackdropProps): _$react_jsx_runtime0.JSX.Element;
47
- declare function PopoverContent({
48
- className,
49
- positionerClassName,
50
- align,
51
- alignOffset,
52
- side,
53
- sideOffset,
54
- anchor,
55
- restoreFocusOnClose,
56
- finalFocus,
57
- ...props
58
- }: PopoverContentProps): _$react_jsx_runtime0.JSX.Element;
59
- declare function PopoverHeader({
60
- className,
61
- ...props
62
- }: PopoverHeaderProps): _$react_jsx_runtime0.JSX.Element;
63
- declare function PopoverTitle({
64
- className,
65
- ...props
66
- }: PopoverTitleProps): _$react_jsx_runtime0.JSX.Element;
67
- declare function PopoverDescription({
68
- className,
69
- ...props
70
- }: PopoverDescriptionProps): _$react_jsx_runtime0.JSX.Element;
28
+ declare function Popover({ ...props }: PopoverProps): React.JSX.Element;
29
+ declare function PopoverTrigger({ ...props }: PopoverTriggerProps): React.JSX.Element;
30
+ declare function PopoverPortal({ ...props }: PopoverPortalProps): React.JSX.Element;
31
+ declare function PopoverPositioner({ className, ...props }: PopoverPositionerProps): React.JSX.Element;
32
+ declare function PopoverBackdrop({ className, ...props }: PopoverBackdropProps): React.JSX.Element;
33
+ declare function PopoverContent({ className, positionerClassName, align, alignOffset, side, sideOffset, anchor, restoreFocusOnClose, finalFocus, ...props }: PopoverContentProps): React.JSX.Element;
34
+ declare function PopoverHeader({ className, ...props }: PopoverHeaderProps): React.JSX.Element;
35
+ declare function PopoverTitle({ className, ...props }: PopoverTitleProps): React.JSX.Element;
36
+ declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): React.JSX.Element;
71
37
  //#endregion
72
38
  export { Popover, PopoverBackdrop, type PopoverBackdropProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverPortal, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type RestoreFocusOnClose };
@@ -1,7 +1,5 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { PreviewCard as PreviewCard$1 } from "@base-ui/react/preview-card";
4
-
5
3
  //#region src/preview-card.d.ts
6
4
  type PreviewCardProps = React.ComponentProps<typeof PreviewCard$1.Root>;
7
5
  type PreviewCardTriggerProps = React.ComponentProps<typeof PreviewCard$1.Trigger>;
@@ -11,28 +9,10 @@ type PreviewCardPopupProps = React.ComponentProps<typeof PreviewCard$1.Popup>;
11
9
  type PreviewCardContentProps = PreviewCardPopupProps & Pick<PreviewCardPositionerProps, "align" | "alignOffset" | "side" | "sideOffset" | "anchor"> & {
12
10
  positionerClassName?: string;
13
11
  };
14
- declare function PreviewCard({
15
- ...props
16
- }: PreviewCardProps): _$react_jsx_runtime0.JSX.Element;
17
- declare function PreviewCardTrigger({
18
- ...props
19
- }: PreviewCardTriggerProps): _$react_jsx_runtime0.JSX.Element;
20
- declare function PreviewCardPortal({
21
- ...props
22
- }: PreviewCardPortalProps): _$react_jsx_runtime0.JSX.Element;
23
- declare function PreviewCardPositioner({
24
- className,
25
- ...props
26
- }: PreviewCardPositionerProps): _$react_jsx_runtime0.JSX.Element;
27
- declare function PreviewCardContent({
28
- className,
29
- positionerClassName,
30
- side,
31
- sideOffset,
32
- align,
33
- alignOffset,
34
- anchor,
35
- ...props
36
- }: PreviewCardContentProps): _$react_jsx_runtime0.JSX.Element;
12
+ declare function PreviewCard({ ...props }: PreviewCardProps): React.JSX.Element;
13
+ declare function PreviewCardTrigger({ ...props }: PreviewCardTriggerProps): React.JSX.Element;
14
+ declare function PreviewCardPortal({ ...props }: PreviewCardPortalProps): React.JSX.Element;
15
+ declare function PreviewCardPositioner({ className, ...props }: PreviewCardPositionerProps): React.JSX.Element;
16
+ declare function PreviewCardContent({ className, positionerClassName, side, sideOffset, align, alignOffset, anchor, ...props }: PreviewCardContentProps): React.JSX.Element;
37
17
  //#endregion
38
18
  export { PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardPortal, type PreviewCardPortalProps, PreviewCardPositioner, type PreviewCardPositionerProps, type PreviewCardProps, PreviewCardTrigger, type PreviewCardTriggerProps };
@@ -1,34 +1,15 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { Progress as Progress$1 } from "@base-ui/react/progress";
4
-
5
3
  //#region src/progress.d.ts
6
4
  type ProgressProps = React.ComponentProps<typeof Progress$1.Root>;
7
5
  type ProgressTrackProps = React.ComponentProps<typeof Progress$1.Track>;
8
6
  type ProgressIndicatorProps = React.ComponentProps<typeof Progress$1.Indicator>;
9
7
  type ProgressLabelProps = React.ComponentProps<typeof Progress$1.Label>;
10
8
  type ProgressValueProps = React.ComponentProps<typeof Progress$1.Value>;
11
- declare function Progress({
12
- className,
13
- children,
14
- value,
15
- ...props
16
- }: ProgressProps): _$react_jsx_runtime0.JSX.Element;
17
- declare function ProgressTrack({
18
- className,
19
- ...props
20
- }: ProgressTrackProps): _$react_jsx_runtime0.JSX.Element;
21
- declare function ProgressIndicator({
22
- className,
23
- ...props
24
- }: ProgressIndicatorProps): _$react_jsx_runtime0.JSX.Element;
25
- declare function ProgressLabel({
26
- className,
27
- ...props
28
- }: ProgressLabelProps): _$react_jsx_runtime0.JSX.Element;
29
- declare function ProgressValue({
30
- className,
31
- ...props
32
- }: ProgressValueProps): _$react_jsx_runtime0.JSX.Element;
9
+ declare function Progress({ className, children, value, ...props }: ProgressProps): React.JSX.Element;
10
+ declare function ProgressTrack({ className, ...props }: ProgressTrackProps): React.JSX.Element;
11
+ declare function ProgressIndicator({ className, ...props }: ProgressIndicatorProps): React.JSX.Element;
12
+ declare function ProgressLabel({ className, ...props }: ProgressLabelProps): React.JSX.Element;
13
+ declare function ProgressValue({ className, ...props }: ProgressValueProps): React.JSX.Element;
33
14
  //#endregion
34
15
  export { Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressLabel, type ProgressLabelProps, type ProgressProps, ProgressTrack, type ProgressTrackProps, ProgressValue, type ProgressValueProps };
@@ -1,17 +1,10 @@
1
1
  import { Radio } from "./radio.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as React from "react";
4
3
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
5
-
6
4
  //#region src/radio-group.d.ts
7
5
  type RadioGroupProps = React.ComponentProps<typeof RadioGroup$1>;
8
6
  type RadioGroupItemProps = React.ComponentProps<typeof Radio>;
9
- declare function RadioGroup({
10
- className,
11
- ...props
12
- }: RadioGroupProps): _$react_jsx_runtime0.JSX.Element;
13
- declare function RadioGroupItem({
14
- ...props
15
- }: RadioGroupItemProps): _$react_jsx_runtime0.JSX.Element;
7
+ declare function RadioGroup({ className, ...props }: RadioGroupProps): React.JSX.Element;
8
+ declare function RadioGroupItem({ ...props }: RadioGroupItemProps): React.JSX.Element;
16
9
  //#endregion
17
10
  export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
package/dist/radio.d.ts CHANGED
@@ -1,17 +1,9 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { Radio as Radio$1 } from "@base-ui/react/radio";
4
-
5
3
  //#region src/radio.d.ts
6
4
  type RadioProps = React.ComponentProps<typeof Radio$1.Root>;
7
5
  type RadioIndicatorProps = React.ComponentProps<typeof Radio$1.Indicator>;
8
- declare function Radio({
9
- className,
10
- ...props
11
- }: RadioProps): _$react_jsx_runtime0.JSX.Element;
12
- declare function RadioIndicator({
13
- className,
14
- ...props
15
- }: RadioIndicatorProps): _$react_jsx_runtime0.JSX.Element;
6
+ declare function Radio({ className, ...props }: RadioProps): React.JSX.Element;
7
+ declare function RadioIndicator({ className, ...props }: RadioIndicatorProps): React.JSX.Element;
16
8
  //#endregion
17
9
  export { Radio, RadioIndicator, type RadioIndicatorProps, type RadioProps };
@@ -1,19 +1,9 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
4
-
5
3
  //#region src/scroll-area.d.ts
6
4
  type ScrollAreaProps = React.ComponentProps<typeof ScrollArea$1.Root>;
7
- declare function ScrollArea({
8
- className,
9
- children,
10
- ...props
11
- }: ScrollAreaProps): _$react_jsx_runtime0.JSX.Element;
5
+ declare function ScrollArea({ className, children, ...props }: ScrollAreaProps): React.JSX.Element;
12
6
  type ScrollBarProps = React.ComponentProps<typeof ScrollArea$1.Scrollbar>;
13
- declare function ScrollBar({
14
- className,
15
- orientation,
16
- ...props
17
- }: ScrollBarProps): _$react_jsx_runtime0.JSX.Element;
7
+ declare function ScrollBar({ className, orientation, ...props }: ScrollBarProps): React.JSX.Element;
18
8
  //#endregion
19
9
  export { ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps };
package/dist/select.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { VariantProps } from "class-variance-authority";
4
3
  import { Select as Select$1 } from "@base-ui/react/select";
5
- import * as _$class_variance_authority_types0 from "class-variance-authority/types";
6
-
7
4
  //#region src/select.d.ts
8
5
  type SelectProps<Value, Multiple extends boolean | undefined = false> = Select$1.Root.Props<Value, Multiple>;
9
6
  type SelectGroupProps = React.ComponentProps<typeof Select$1.Group>;
@@ -19,68 +16,22 @@ type SelectSeparatorProps = React.ComponentProps<typeof Select$1.Separator>;
19
16
  type SelectScrollUpButtonProps = React.ComponentProps<typeof Select$1.ScrollUpArrow>;
20
17
  type SelectScrollDownButtonProps = React.ComponentProps<typeof Select$1.ScrollDownArrow>;
21
18
  declare const selectTriggerVariants: (props?: ({
22
- size?: "default" | "sm" | "xs" | "lg" | null | undefined;
23
- } & _$class_variance_authority_types0.ClassProp) | undefined) => string;
19
+ size?: "default" | "lg" | "sm" | "xs" | null | undefined;
20
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
24
21
  type SelectTriggerProps = SelectTriggerBaseProps & VariantProps<typeof selectTriggerVariants>;
25
22
  type SelectContentProps = SelectPopupProps & Pick<SelectPositionerProps, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">;
26
- declare function Select<Value, Multiple extends boolean | undefined = false>({
27
- ...props
28
- }: SelectProps<Value, Multiple>): _$react_jsx_runtime0.JSX.Element;
29
- declare function SelectPortal({
30
- ...props
31
- }: SelectPortalProps): _$react_jsx_runtime0.JSX.Element;
32
- declare function SelectPositioner({
33
- className,
34
- ...props
35
- }: SelectPositionerProps): _$react_jsx_runtime0.JSX.Element;
36
- declare function SelectList({
37
- className,
38
- ...props
39
- }: SelectListProps): _$react_jsx_runtime0.JSX.Element;
40
- declare function SelectGroup({
41
- className,
42
- ...props
43
- }: SelectGroupProps): _$react_jsx_runtime0.JSX.Element;
44
- declare function SelectValue({
45
- className,
46
- ...props
47
- }: SelectValueProps): _$react_jsx_runtime0.JSX.Element;
48
- declare function SelectTrigger({
49
- className,
50
- size,
51
- children,
52
- ...props
53
- }: SelectTriggerProps): _$react_jsx_runtime0.JSX.Element;
54
- declare function SelectContent({
55
- className,
56
- children,
57
- side,
58
- sideOffset,
59
- align,
60
- alignOffset,
61
- alignItemWithTrigger,
62
- ...props
63
- }: SelectContentProps): _$react_jsx_runtime0.JSX.Element;
64
- declare function SelectLabel({
65
- className,
66
- ...props
67
- }: SelectLabelProps): _$react_jsx_runtime0.JSX.Element;
68
- declare function SelectItem({
69
- className,
70
- children,
71
- ...props
72
- }: SelectItemProps): _$react_jsx_runtime0.JSX.Element;
73
- declare function SelectSeparator({
74
- className,
75
- ...props
76
- }: SelectSeparatorProps): _$react_jsx_runtime0.JSX.Element;
77
- declare function SelectScrollUpButton({
78
- className,
79
- ...props
80
- }: SelectScrollUpButtonProps): _$react_jsx_runtime0.JSX.Element;
81
- declare function SelectScrollDownButton({
82
- className,
83
- ...props
84
- }: SelectScrollDownButtonProps): _$react_jsx_runtime0.JSX.Element;
23
+ declare function Select<Value, Multiple extends boolean | undefined = false>({ ...props }: SelectProps<Value, Multiple>): React.JSX.Element;
24
+ declare function SelectPortal({ ...props }: SelectPortalProps): React.JSX.Element;
25
+ declare function SelectPositioner({ className, ...props }: SelectPositionerProps): React.JSX.Element;
26
+ declare function SelectList({ className, ...props }: SelectListProps): React.JSX.Element;
27
+ declare function SelectGroup({ className, ...props }: SelectGroupProps): React.JSX.Element;
28
+ declare function SelectValue({ className, ...props }: SelectValueProps): React.JSX.Element;
29
+ declare function SelectTrigger({ className, size, children, ...props }: SelectTriggerProps): React.JSX.Element;
30
+ declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectContentProps): React.JSX.Element;
31
+ declare function SelectLabel({ className, ...props }: SelectLabelProps): React.JSX.Element;
32
+ declare function SelectItem({ className, children, ...props }: SelectItemProps): React.JSX.Element;
33
+ declare function SelectSeparator({ className, ...props }: SelectSeparatorProps): React.JSX.Element;
34
+ declare function SelectScrollUpButton({ className, ...props }: SelectScrollUpButtonProps): React.JSX.Element;
35
+ declare function SelectScrollDownButton({ className, ...props }: SelectScrollDownButtonProps): React.JSX.Element;
85
36
  //#endregion
86
37
  export { Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, selectTriggerVariants };
@@ -1,13 +1,7 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import { Separator as Separator$1 } from "@base-ui/react/separator";
4
-
5
3
  //#region src/separator.d.ts
6
4
  type SeparatorProps = React.ComponentProps<typeof Separator$1>;
7
- declare function Separator({
8
- className,
9
- orientation,
10
- ...props
11
- }: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
5
+ declare function Separator({ className, orientation, ...props }: SeparatorProps): React.JSX.Element;
12
6
  //#endregion
13
7
  export { Separator, type SeparatorProps };