@waveso/ui 0.9.0 → 0.10.0

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 (116) hide show
  1. package/dist/accordion.d.ts +2 -2
  2. package/dist/accordion.js +0 -1
  3. package/dist/action-bar.d.ts +16 -2
  4. package/dist/action-bar.js +12 -5
  5. package/dist/alert-dialog.d.ts +2 -2
  6. package/dist/alert-dialog.js +0 -1
  7. package/dist/alert.d.ts +2 -2
  8. package/dist/alert.js +0 -1
  9. package/dist/animate.d.ts +1 -1
  10. package/dist/animate.js +1 -1
  11. package/dist/aspect-ratio.d.ts +1 -1
  12. package/dist/aspect-ratio.js +0 -1
  13. package/dist/autocomplete.d.ts +2 -2
  14. package/dist/autocomplete.js +0 -1
  15. package/dist/avatar.d.ts +2 -2
  16. package/dist/avatar.js +0 -1
  17. package/dist/badge.d.ts +2 -2
  18. package/dist/breadcrumb.d.ts +2 -2
  19. package/dist/breadcrumb.js +0 -1
  20. package/dist/button-group.d.ts +2 -2
  21. package/dist/button-group.js +0 -1
  22. package/dist/button.d.ts +4 -4
  23. package/dist/button.js +0 -1
  24. package/dist/card.d.ts +2 -2
  25. package/dist/card.js +0 -1
  26. package/dist/checkbox.d.ts +2 -2
  27. package/dist/checkbox.js +0 -1
  28. package/dist/collapsible.d.ts +2 -2
  29. package/dist/collapsible.js +0 -1
  30. package/dist/combobox.d.ts +2 -2
  31. package/dist/combobox.js +1 -1
  32. package/dist/context-menu.d.ts +2 -2
  33. package/dist/context-menu.js +0 -1
  34. package/dist/count.d.ts +1 -1
  35. package/dist/count.js +2 -2
  36. package/dist/dialog.d.ts +2 -2
  37. package/dist/dialog.js +0 -1
  38. package/dist/direction.d.ts +3 -3
  39. package/dist/drawer.d.ts +2 -2
  40. package/dist/drawer.js +0 -1
  41. package/dist/encrypted-text.d.ts +2 -2
  42. package/dist/encrypted-text.js +1 -1
  43. package/dist/field.d.ts +2 -2
  44. package/dist/field.js +0 -1
  45. package/dist/film-grain.d.ts +1 -1
  46. package/dist/film-grain.js +0 -1
  47. package/dist/form.d.ts +1 -1
  48. package/dist/form.js +1 -1
  49. package/dist/gradient-reveal-text.js +2 -2
  50. package/dist/infinite-scroll.d.ts +2 -2
  51. package/dist/infinite-scroll.js +1 -1
  52. package/dist/input-group.d.ts +2 -2
  53. package/dist/input-group.js +0 -1
  54. package/dist/input-otp.d.ts +2 -2
  55. package/dist/input-otp.js +2 -2
  56. package/dist/input.d.ts +2 -2
  57. package/dist/input.js +0 -1
  58. package/dist/item.d.ts +2 -2
  59. package/dist/item.js +0 -1
  60. package/dist/kbd.d.ts +1 -1
  61. package/dist/kbd.js +0 -1
  62. package/dist/label.d.ts +2 -2
  63. package/dist/label.js +0 -1
  64. package/dist/lib/internal-icons.d.ts +1 -1
  65. package/dist/lib/internal-icons.js +0 -1
  66. package/dist/masonry.d.ts +2 -2
  67. package/dist/masonry.js +1 -1
  68. package/dist/menu.d.ts +2 -2
  69. package/dist/menu.js +0 -1
  70. package/dist/menubar.d.ts +2 -2
  71. package/dist/menubar.js +0 -1
  72. package/dist/pagination.d.ts +2 -2
  73. package/dist/pagination.js +0 -2
  74. package/dist/popover.d.ts +2 -2
  75. package/dist/popover.js +0 -1
  76. package/dist/preview-card.d.ts +2 -2
  77. package/dist/preview-card.js +0 -1
  78. package/dist/progress.d.ts +2 -2
  79. package/dist/progress.js +0 -1
  80. package/dist/radio-group.d.ts +2 -2
  81. package/dist/radio-group.js +0 -1
  82. package/dist/radio.d.ts +2 -2
  83. package/dist/radio.js +0 -1
  84. package/dist/scroll-area.d.ts +2 -2
  85. package/dist/scroll-area.js +0 -1
  86. package/dist/select.d.ts +2 -2
  87. package/dist/select.js +0 -1
  88. package/dist/separator.d.ts +2 -2
  89. package/dist/separator.js +0 -1
  90. package/dist/sidebar.d.ts +1 -1
  91. package/dist/sidebar.js +1 -1
  92. package/dist/skeleton.d.ts +2 -2
  93. package/dist/skeleton.js +0 -1
  94. package/dist/slider.d.ts +2 -2
  95. package/dist/slider.js +1 -1
  96. package/dist/spinner.d.ts +2 -2
  97. package/dist/spinner.js +0 -1
  98. package/dist/switch.d.ts +2 -2
  99. package/dist/switch.js +0 -1
  100. package/dist/table.d.ts +2 -2
  101. package/dist/table.js +0 -1
  102. package/dist/tabs.d.ts +2 -2
  103. package/dist/tabs.js +0 -1
  104. package/dist/textarea.d.ts +2 -2
  105. package/dist/textarea.js +0 -1
  106. package/dist/toast.d.ts +1 -1
  107. package/dist/toast.js +1 -1
  108. package/dist/toggle-group.d.ts +1 -1
  109. package/dist/toggle-group.js +1 -1
  110. package/dist/toggle.d.ts +2 -2
  111. package/dist/toggle.js +0 -1
  112. package/dist/tooltip.d.ts +2 -2
  113. package/dist/tooltip.js +1 -1
  114. package/dist/typewriter.d.ts +1 -1
  115. package/dist/typewriter.js +1 -1
  116. package/package.json +10 -2
package/dist/form.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { Field, FieldDescription, FieldError, FieldLabel } from "./field.js";
4
- import * as React from "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  import { Controller, FormProvider, useForm, useFormContext, useWatch } from "react-hook-form";
7
7
  //#region src/form.tsx
8
8
  function Form({ form, onSubmit, ...props }) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import { useCallback, useEffect, useId, useRef, useState } from "react";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { useCallback, useEffect, useId, useRef, useState } from "react";
5
5
  //#region src/gradient-reveal-text.tsx
6
6
  const DEFAULT_COLORS = [
7
7
  "#eab308",
@@ -80,7 +80,7 @@ function GradientRevealText({ text, duration = 0, colors = DEFAULT_COLORS, baseO
80
80
  requestFollow.current = () => {};
81
81
  return;
82
82
  }
83
- const speed = 1 - Math.pow(.001, 1 / (duration * 60));
83
+ const speed = 1 - .001 ** (1 / (duration * 60));
84
84
  const EPSILON = 5e-4;
85
85
  const tick = () => {
86
86
  const cur = currentPos.current;
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/infinite-scroll.d.ts
5
5
  type InfiniteScrollProps = React.ComponentProps<"div"> & {
@@ -28,4 +28,4 @@ declare function InfiniteScroll({
28
28
  ...props
29
29
  }: InfiniteScrollProps): _$react_jsx_runtime0.JSX.Element;
30
30
  //#endregion
31
- export { InfiniteScroll, InfiniteScrollProps };
31
+ export { InfiniteScroll, type InfiniteScrollProps };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { Spinner } from "./spinner.js";
4
- import * as React from "react";
5
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  //#region src/infinite-scroll.tsx
7
7
  function InfiniteScroll({ onLoadMore, hasMore, isLoading = false, direction = "down", root, rootMargin = "200px", threshold = 0, loader, endMessage, className, children, ...props }) {
8
8
  const sentinelRef = React.useRef(null);
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./button.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
6
6
 
@@ -48,4 +48,4 @@ declare function InputGroupTextarea({
48
48
  ...props
49
49
  }: InputGroupTextareaProps): _$react_jsx_runtime0.JSX.Element;
50
50
  //#endregion
51
- export { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, inputGroupAddonVariants, inputGroupButtonVariants };
51
+ export { InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, inputGroupAddonVariants, inputGroupButtonVariants };
@@ -3,7 +3,6 @@ import { cn } from "./lib/utils.js";
3
3
  import { Button } from "./button.js";
4
4
  import { Input } from "./input.js";
5
5
  import { Textarea } from "./textarea.js";
6
- import "react";
7
6
  import { jsx } from "react/jsx-runtime";
8
7
  import { cva } from "class-variance-authority";
9
8
  //#region src/input-group.tsx
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { OTPInput } from "input-otp";
4
4
 
5
5
  //#region src/input-otp.d.ts
@@ -30,4 +30,4 @@ declare function InputOTPSeparator({
30
30
  ...props
31
31
  }: InputOTPSeparatorProps): _$react_jsx_runtime0.JSX.Element;
32
32
  //#endregion
33
- export { InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps };
33
+ export { InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps };
package/dist/input-otp.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { MinusIcon } from "./lib/internal-icons.js";
4
- import * as React from "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  import { OTPInput, OTPInputContext } from "input-otp";
7
7
  //#region src/input-otp.tsx
8
8
  function InputOTP({ className, containerClassName, ...props }) {
@@ -38,7 +38,7 @@ function InputOTPSeparator({ className, ...props }) {
38
38
  return /* @__PURE__ */ jsx("div", {
39
39
  "data-slot": "input-otp-separator",
40
40
  className: cn("flex items-center [&_svg:not([class*='size-'])]:size-4", className),
41
- role: "separator",
41
+ "aria-hidden": "true",
42
42
  ...props,
43
43
  children: /* @__PURE__ */ jsx(MinusIcon, {})
44
44
  });
package/dist/input.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Input as Input$1 } from "@base-ui/react/input";
4
4
 
5
5
  //#region src/input.d.ts
@@ -10,4 +10,4 @@ declare function Input({
10
10
  ...props
11
11
  }: InputProps): _$react_jsx_runtime0.JSX.Element;
12
12
  //#endregion
13
- export { Input, InputProps };
13
+ export { Input, type InputProps };
package/dist/input.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { cn } from "./lib/utils.js";
2
- import "react";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  import { Input as Input$1 } from "@base-ui/react/input";
5
4
  //#region src/input.tsx
package/dist/item.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Separator } from "./separator.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import { useRender } from "@base-ui/react/use-render";
6
6
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
@@ -68,4 +68,4 @@ declare function ItemFooter({
68
68
  ...props
69
69
  }: ItemFooterProps): _$react_jsx_runtime0.JSX.Element;
70
70
  //#endregion
71
- export { Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, ItemDescription, ItemDescriptionProps, ItemFooter, ItemFooterProps, ItemGroup, ItemGroupProps, ItemHeader, ItemHeaderProps, ItemMedia, ItemMediaProps, ItemProps, ItemSeparator, ItemSeparatorProps, ItemTitle, ItemTitleProps, itemMediaVariants, itemVariants };
71
+ export { Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, type ItemSeparatorProps, ItemTitle, type ItemTitleProps, itemMediaVariants, itemVariants };
package/dist/item.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { Separator } from "./separator.js";
4
- import "react";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import { cva } from "class-variance-authority";
7
6
  import { mergeProps } from "@base-ui/react/merge-props";
package/dist/kbd.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/kbd.d.ts
5
5
  type KbdProps = React.ComponentProps<"kbd">;
package/dist/kbd.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { cn } from "./lib/utils.js";
2
- import "react";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  //#region src/kbd.tsx
5
4
  function Kbd({ className, ...props }) {
package/dist/label.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/label.d.ts
5
5
  type LabelProps = React.ComponentProps<"label">;
@@ -8,4 +8,4 @@ declare function Label({
8
8
  ...props
9
9
  }: LabelProps): _$react_jsx_runtime0.JSX.Element;
10
10
  //#endregion
11
- export { Label, LabelProps };
11
+ export { Label, type LabelProps };
package/dist/label.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { cn } from "./lib/utils.js";
2
- import "react";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  //#region src/label.tsx
5
4
  function Label({ className, ...props }) {
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/lib/internal-icons.d.ts
5
5
  type IconProps = React.SVGProps<SVGSVGElement>;
@@ -1,4 +1,3 @@
1
- import "react";
2
1
  import { jsx, jsxs } from "react/jsx-runtime";
3
2
  //#region src/lib/internal-icons.tsx
4
3
  const SVG_BASE = {
package/dist/masonry.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { HTMLMotionProps } from "motion/react";
4
4
 
5
5
  //#region src/masonry.d.ts
@@ -27,4 +27,4 @@ declare function MasonryItem({
27
27
  ...props
28
28
  }: MasonryItemProps): _$react_jsx_runtime0.JSX.Element;
29
29
  //#endregion
30
- export { Masonry, MasonryItem, MasonryItemProps, MasonryProps };
30
+ export { Masonry, MasonryItem, type MasonryItemProps, type MasonryProps };
package/dist/masonry.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { StarIcon } from "./lib/internal-icons.js";
4
- import * as React from "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import * as React from "react";
6
6
  import { AnimatePresence, motion, useReducedMotion } from "motion/react";
7
7
  //#region src/masonry.tsx
8
8
  const STAGGER_STEP = .05;
package/dist/menu.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { RestoreFocusOnClose } from "./lib/focus.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { Menu as Menu$1 } from "@base-ui/react/menu";
5
5
 
6
6
  //#region src/menu.d.ts
@@ -101,4 +101,4 @@ declare function MenuShortcut({
101
101
  ...props
102
102
  }: MenuShortcutProps): _$react_jsx_runtime0.JSX.Element;
103
103
  //#endregion
104
- export { Menu, MenuCheckboxItem, MenuCheckboxItemProps, MenuContent, MenuContentProps, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuLabel, MenuLabelProps, MenuPortal, MenuPortalProps, MenuProps, MenuRadioGroup, MenuRadioGroupProps, MenuRadioItem, MenuRadioItemProps, MenuSeparator, MenuSeparatorProps, MenuShortcut, MenuShortcutProps, MenuSub, MenuSubContent, MenuSubContentProps, MenuSubProps, MenuSubTrigger, MenuSubTriggerProps, MenuTrigger, MenuTriggerProps, type RestoreFocusOnClose };
104
+ 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/menu.js CHANGED
@@ -2,7 +2,6 @@
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { CheckIcon, ChevronRightIcon } from "./lib/internal-icons.js";
4
4
  import { resolveFinalFocus } from "./lib/focus.js";
5
- import "react";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
7
6
  import { Menu as Menu$1 } from "@base-ui/react/menu";
8
7
  //#region src/menu.tsx
package/dist/menubar.d.ts CHANGED
@@ -1,6 +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 from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
5
5
 
6
6
  //#region src/menubar.d.ts
@@ -74,4 +74,4 @@ declare function MenubarSubContent({
74
74
  ...props
75
75
  }: MenubarSubContentProps): _$react_jsx_runtime0.JSX.Element;
76
76
  //#endregion
77
- export { Menubar, MenubarCheckboxItem, MenubarCheckboxItemProps, MenubarContent, MenubarContentProps, MenubarGroup, MenubarGroupProps, MenubarItem, MenubarItemProps, MenubarLabel, MenubarLabelProps, MenubarMenu, MenubarMenuProps, MenubarPortal, MenubarPortalProps, MenubarProps, MenubarRadioGroup, MenubarRadioGroupProps, MenubarRadioItem, MenubarRadioItemProps, MenubarSeparator, MenubarSeparatorProps, MenubarShortcut, MenubarShortcutProps, MenubarSub, MenubarSubContent, MenubarSubContentProps, MenubarSubProps, MenubarSubTrigger, MenubarSubTriggerProps, MenubarTrigger, MenubarTriggerProps };
77
+ 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 };
package/dist/menubar.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from "./menu.js";
4
- import "react";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
7
6
  //#region src/menubar.tsx
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./button.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
 
5
5
  //#region src/pagination.d.ts
6
6
  type PaginationProps = React.ComponentProps<"nav">;
@@ -48,4 +48,4 @@ declare function PaginationEllipsis({
48
48
  ...props
49
49
  }: PaginationEllipsisProps): _$react_jsx_runtime0.JSX.Element;
50
50
  //#endregion
51
- export { Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps };
51
+ export { Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps };
@@ -1,12 +1,10 @@
1
1
  import { cn } from "./lib/utils.js";
2
2
  import { ChevronLeftIcon, ChevronRightIcon, EllipsisIcon } from "./lib/internal-icons.js";
3
3
  import { Button } from "./button.js";
4
- import "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
6
5
  //#region src/pagination.tsx
7
6
  function Pagination({ className, ...props }) {
8
7
  return /* @__PURE__ */ jsx("nav", {
9
- role: "navigation",
10
8
  "aria-label": "pagination",
11
9
  "data-slot": "pagination",
12
10
  className: cn("mx-auto flex w-full justify-center", className),
package/dist/popover.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { RestoreFocusOnClose } from "./lib/focus.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { Popover as Popover$1 } from "@base-ui/react/popover";
5
5
 
6
6
  //#region src/popover.d.ts
@@ -69,4 +69,4 @@ declare function PopoverDescription({
69
69
  ...props
70
70
  }: PopoverDescriptionProps): _$react_jsx_runtime0.JSX.Element;
71
71
  //#endregion
72
- export { Popover, PopoverBackdrop, PopoverBackdropProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverPortal, PopoverPortalProps, PopoverPositioner, PopoverPositionerProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, type RestoreFocusOnClose };
72
+ 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 };
package/dist/popover.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { resolveFinalFocus } from "./lib/focus.js";
4
- import "react";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import { Popover as Popover$1 } from "@base-ui/react/popover";
7
6
  //#region src/popover.tsx
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { PreviewCard as PreviewCard$1 } from "@base-ui/react/preview-card";
4
4
 
5
5
  //#region src/preview-card.d.ts
@@ -35,4 +35,4 @@ declare function PreviewCardContent({
35
35
  ...props
36
36
  }: PreviewCardContentProps): _$react_jsx_runtime0.JSX.Element;
37
37
  //#endregion
38
- export { PreviewCard, PreviewCardContent, PreviewCardContentProps, PreviewCardPortal, PreviewCardPortalProps, PreviewCardPositioner, PreviewCardPositionerProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps };
38
+ export { PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardPortal, type PreviewCardPortalProps, PreviewCardPositioner, type PreviewCardPositionerProps, type PreviewCardProps, PreviewCardTrigger, type PreviewCardTriggerProps };
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { PreviewCard as PreviewCard$1 } from "@base-ui/react/preview-card";
6
5
  //#region src/preview-card.tsx
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Progress as Progress$1 } from "@base-ui/react/progress";
4
4
 
5
5
  //#region src/progress.d.ts
@@ -31,4 +31,4 @@ declare function ProgressValue({
31
31
  ...props
32
32
  }: ProgressValueProps): _$react_jsx_runtime0.JSX.Element;
33
33
  //#endregion
34
- export { Progress, ProgressIndicator, ProgressIndicatorProps, ProgressLabel, ProgressLabelProps, ProgressProps, ProgressTrack, ProgressTrackProps, ProgressValue, ProgressValueProps };
34
+ export { Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressLabel, type ProgressLabelProps, type ProgressProps, ProgressTrack, type ProgressTrackProps, ProgressValue, type ProgressValueProps };
package/dist/progress.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
5
4
  import { Progress as Progress$1 } from "@base-ui/react/progress";
6
5
  //#region src/progress.tsx
@@ -1,6 +1,6 @@
1
1
  import { Radio } from "./radio.js";
2
- import * as React from "react";
3
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as React from "react";
4
4
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
5
5
 
6
6
  //#region src/radio-group.d.ts
@@ -14,4 +14,4 @@ declare function RadioGroupItem({
14
14
  ...props
15
15
  }: RadioGroupItemProps): _$react_jsx_runtime0.JSX.Element;
16
16
  //#endregion
17
- export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps };
17
+ export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { Radio } from "./radio.js";
4
- import "react";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
7
6
  //#region src/radio-group.tsx
package/dist/radio.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Radio as Radio$1 } from "@base-ui/react/radio";
4
4
 
5
5
  //#region src/radio.d.ts
@@ -14,4 +14,4 @@ declare function RadioIndicator({
14
14
  ...props
15
15
  }: RadioIndicatorProps): _$react_jsx_runtime0.JSX.Element;
16
16
  //#endregion
17
- export { Radio, RadioIndicator, RadioIndicatorProps, RadioProps };
17
+ export { Radio, RadioIndicator, type RadioIndicatorProps, type RadioProps };
package/dist/radio.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { Radio as Radio$1 } from "@base-ui/react/radio";
6
5
  //#region src/radio.tsx
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
4
4
 
5
5
  //#region src/scroll-area.d.ts
@@ -16,4 +16,4 @@ declare function ScrollBar({
16
16
  ...props
17
17
  }: ScrollBarProps): _$react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
- export { ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps };
19
+ export { ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps };
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
5
4
  import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
6
5
  //#region src/scroll-area.tsx
package/dist/select.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Select as Select$1 } from "@base-ui/react/select";
4
4
 
5
5
  //#region src/select.d.ts
@@ -80,4 +80,4 @@ declare function SelectScrollDownButton({
80
80
  ...props
81
81
  }: SelectScrollDownButtonProps): _$react_jsx_runtime0.JSX.Element;
82
82
  //#endregion
83
- export { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectList, SelectListProps, SelectPortal, SelectPortalProps, SelectPositioner, SelectPositionerProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps };
83
+ 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 };
package/dist/select.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
3
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon, ChevronsUpDownIcon } from "./lib/internal-icons.js";
4
- import "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
6
5
  import { Select as Select$1 } from "@base-ui/react/select";
7
6
  //#region src/select.tsx
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Separator as Separator$1 } from "@base-ui/react/separator";
4
4
 
5
5
  //#region src/separator.d.ts
@@ -10,4 +10,4 @@ declare function Separator({
10
10
  ...props
11
11
  }: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
12
12
  //#endregion
13
- export { Separator, SeparatorProps };
13
+ export { Separator, type SeparatorProps };
package/dist/separator.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { Separator as Separator$1 } from "@base-ui/react/separator";
6
5
  //#region src/separator.tsx
package/dist/sidebar.d.ts CHANGED
@@ -2,8 +2,8 @@ import { Button } from "./button.js";
2
2
  import { Separator } from "./separator.js";
3
3
  import { Input } from "./input.js";
4
4
  import { TooltipContent } from "./tooltip.js";
5
- import * as React from "react";
6
5
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
+ import * as React from "react";
7
7
  import { VariantProps } from "class-variance-authority";
8
8
  import { useRender } from "@base-ui/react/use-render";
9
9
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
package/dist/sidebar.js CHANGED
@@ -8,8 +8,8 @@ import { Drawer, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle } f
8
8
  import { Skeleton } from "./skeleton.js";
9
9
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.js";
10
10
  import { useIsMobile } from "./hooks/use-mobile.js";
11
- import * as React from "react";
12
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import * as React from "react";
13
13
  import { cva } from "class-variance-authority";
14
14
  import { mergeProps } from "@base-ui/react/merge-props";
15
15
  import { useRender } from "@base-ui/react/use-render";
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/skeleton.d.ts
5
5
  type SkeletonProps = React.ComponentProps<"div">;
@@ -8,4 +8,4 @@ declare function Skeleton({
8
8
  ...props
9
9
  }: SkeletonProps): _$react_jsx_runtime0.JSX.Element;
10
10
  //#endregion
11
- export { Skeleton, SkeletonProps };
11
+ export { Skeleton, type SkeletonProps };
package/dist/skeleton.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { cn } from "./lib/utils.js";
2
- import "react";
3
2
  import { jsx } from "react/jsx-runtime";
4
3
  //#region src/skeleton.tsx
5
4
  function Skeleton({ className, ...props }) {
package/dist/slider.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { Slider as Slider$1 } from "@base-ui/react/slider";
4
4
 
5
5
  //#region src/slider.d.ts
@@ -25,4 +25,4 @@ declare function Slider({
25
25
  ...props
26
26
  }: SliderProps): _$react_jsx_runtime0.JSX.Element;
27
27
  //#endregion
28
- export { Slider, SliderProps };
28
+ export { Slider, type SliderProps };
package/dist/slider.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import * as React from "react";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import * as React from "react";
5
5
  import { Slider as Slider$1 } from "@base-ui/react/slider";
6
6
  //#region src/slider.tsx
7
7
  function Slider({ className, controlClassName, defaultValue, value, min = 0, max = 100, orientation = "horizontal", "aria-label": ariaLabel, getThumbAriaLabel, ...props }) {
package/dist/spinner.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/spinner.d.ts
5
5
  type SpinnerProps = React.ComponentProps<"svg">;
@@ -8,4 +8,4 @@ declare function Spinner({
8
8
  ...props
9
9
  }: SpinnerProps): _$react_jsx_runtime0.JSX.Element;
10
10
  //#endregion
11
- export { Spinner, SpinnerProps };
11
+ export { Spinner, type SpinnerProps };
package/dist/spinner.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { cn } from "./lib/utils.js";
2
2
  import { LoaderIcon } from "./lib/internal-icons.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  //#region src/spinner.tsx
6
5
  function Spinner({ className, ...props }) {
package/dist/switch.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { Switch as Switch$1 } from "@base-ui/react/switch";
5
5
  import * as _$class_variance_authority_types0 from "class-variance-authority/types";
@@ -15,4 +15,4 @@ declare function Switch({
15
15
  ...props
16
16
  }: SwitchProps): _$react_jsx_runtime0.JSX.Element;
17
17
  //#endregion
18
- export { Switch, SwitchProps, switchVariants };
18
+ export { Switch, type SwitchProps, switchVariants };
package/dist/switch.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import { cn } from "./lib/utils.js";
3
- import "react";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { cva } from "class-variance-authority";
6
5
  import { Switch as Switch$1 } from "@base-ui/react/switch";
package/dist/table.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as React from "react";
3
3
 
4
4
  //#region src/table.d.ts
5
5
  type TableProps = React.ComponentProps<"table">;
@@ -43,4 +43,4 @@ declare function TableCaption({
43
43
  ...props
44
44
  }: TableCaptionProps): _$react_jsx_runtime0.JSX.Element;
45
45
  //#endregion
46
- export { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps };
46
+ export { Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps };