dune-react 0.0.2 → 0.0.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.
Files changed (22) hide show
  1. package/dist/components/shadcn/accordion.d.ts +4 -1
  2. package/dist/components/shadcn/accordion.js +1 -1
  3. package/dist/components/shadcn/avatar.d.ts +3 -1
  4. package/dist/components/shadcn/avatar.js +1 -0
  5. package/dist/components/shadcn/button.d.ts +1 -1
  6. package/dist/components/shadcn/button.js +33 -36
  7. package/dist/components/shadcn/collapsible.d.ts +3 -1
  8. package/dist/components/shadcn/collapsible.js +1 -0
  9. package/dist/components/shadcn/dialog.d.ts +3 -1
  10. package/dist/components/shadcn/dialog.js +2 -0
  11. package/dist/components/shadcn/form.d.ts +1 -1
  12. package/dist/components/shadcn/form.js +46 -12
  13. package/dist/components/shadcn/pagination.d.ts +2 -2
  14. package/dist/components/shadcn/pagination.js +2 -4
  15. package/dist/components/shadcn/toggle-group.d.ts +1 -1
  16. package/dist/components/shadcn/toggle-group.js +1 -1
  17. package/dist/node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/combobox/root/AriaCombobox.js +4 -4
  18. package/dist/node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useDismiss.js +1 -1
  19. package/dist/node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/navigation-menu/trigger/NavigationMenuTrigger.js +1 -1
  20. package/dist/node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/root/SelectRoot.js +3 -3
  21. package/dist/node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/slider/control/SliderControl.js +1 -1
  22. package/package.json +2 -1
@@ -1,5 +1,8 @@
1
1
  import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion";
2
- declare function Accordion({ className, ...props }: AccordionPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
2
+ declare function Accordion({ className, type, collapsible, ...props }: AccordionPrimitive.Root.Props & {
3
+ type?: string;
4
+ collapsible?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
3
6
  declare function AccordionItem({ className, ...props }: AccordionPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
4
7
  declare function AccordionTrigger({ className, children, ...props }: AccordionPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
8
  declare function AccordionContent({ className, children, ...props }: AccordionPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
@@ -8,7 +8,7 @@ import { AccordionPanel } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@t
8
8
  import { AccordionItem as AccordionItem$1 } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/accordion/item/AccordionItem.js";
9
9
  import { AccordionHeader } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/accordion/header/AccordionHeader.js";
10
10
  import { AccordionTrigger as AccordionTrigger$1 } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/accordion/trigger/AccordionTrigger.js";
11
- function Accordion({ className, ...props }) {
11
+ function Accordion({ className, type, collapsible, ...props }) {
12
12
  return /* @__PURE__ */ jsx(
13
13
  AccordionRoot,
14
14
  {
@@ -4,7 +4,9 @@ declare function Avatar({ className, size, ...props }: AvatarPrimitive.Root.Prop
4
4
  size?: "default" | "sm" | "lg";
5
5
  }): import("react/jsx-runtime").JSX.Element;
6
6
  declare function AvatarImage({ className, ...props }: AvatarPrimitive.Image.Props): import("react/jsx-runtime").JSX.Element;
7
- declare function AvatarFallback({ className, ...props }: AvatarPrimitive.Fallback.Props): import("react/jsx-runtime").JSX.Element;
7
+ declare function AvatarFallback({ className, delayMs, ...props }: AvatarPrimitive.Fallback.Props & {
8
+ delayMs?: number;
9
+ }): import("react/jsx-runtime").JSX.Element;
8
10
  declare function AvatarBadge({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
11
  declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
12
  declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
@@ -37,6 +37,7 @@ function AvatarImage({ className, ...props }) {
37
37
  }
38
38
  function AvatarFallback({
39
39
  className,
40
+ delayMs,
40
41
  ...props
41
42
  }) {
42
43
  return /* @__PURE__ */ jsx(
@@ -10,6 +10,6 @@ type ButtonProps = React.ComponentPropsWithRef<"button"> & VariantProps<typeof b
10
10
  render?: React.ReactElement;
11
11
  nativeButton?: boolean;
12
12
  };
13
- declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
+ declare function Button({ className, variant, size, asChild, loading, disabled, children, render, nativeButton, ref, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
14
14
  export { Button, buttonVariants };
15
15
  export type { ButtonProps };
@@ -1,5 +1,4 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import * as React from "react";
3
2
  import { cva } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
4
3
  import { Root as Slot } from "../../node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js";
5
4
  import { cn } from "../../utils/css-utils.js";
@@ -35,44 +34,28 @@ const buttonVariants = cva(
35
34
  }
36
35
  }
37
36
  );
38
- const Button = React.forwardRef(
39
- ({
40
- className,
41
- variant = "default",
42
- size = "default",
43
- asChild = false,
44
- loading = false,
45
- disabled,
46
- children,
47
- render,
48
- nativeButton,
49
- ...props
50
- }, ref) => {
51
- if (render) {
52
- return /* @__PURE__ */ jsx(
53
- Button$1,
54
- {
55
- "data-slot": "button",
56
- className: cn(buttonVariants({ variant, size, className })),
57
- disabled: loading || disabled,
58
- nativeButton,
59
- render,
60
- ref,
61
- ...props,
62
- children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
63
- /* @__PURE__ */ jsx(LoaderCircle, { className: "animate-spin" }),
64
- children
65
- ] }) : children
66
- }
67
- );
68
- }
69
- const Comp = asChild ? Slot : "button";
37
+ function Button({
38
+ className,
39
+ variant = "default",
40
+ size = "default",
41
+ asChild = false,
42
+ loading = false,
43
+ disabled,
44
+ children,
45
+ render,
46
+ nativeButton,
47
+ ref,
48
+ ...props
49
+ }) {
50
+ if (render) {
70
51
  return /* @__PURE__ */ jsx(
71
- Comp,
52
+ Button$1,
72
53
  {
73
54
  "data-slot": "button",
74
55
  className: cn(buttonVariants({ variant, size, className })),
75
56
  disabled: loading || disabled,
57
+ nativeButton,
58
+ render,
76
59
  ref,
77
60
  ...props,
78
61
  children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -82,8 +65,22 @@ const Button = React.forwardRef(
82
65
  }
83
66
  );
84
67
  }
85
- );
86
- Button.displayName = "Button";
68
+ const Comp = asChild ? Slot : "button";
69
+ return /* @__PURE__ */ jsx(
70
+ Comp,
71
+ {
72
+ "data-slot": "button",
73
+ className: cn(buttonVariants({ variant, size, className })),
74
+ disabled: loading || disabled,
75
+ ref,
76
+ ...props,
77
+ children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
78
+ /* @__PURE__ */ jsx(LoaderCircle, { className: "animate-spin" }),
79
+ children
80
+ ] }) : children
81
+ }
82
+ );
83
+ }
87
84
  export {
88
85
  Button,
89
86
  buttonVariants
@@ -1,6 +1,8 @@
1
1
  import * as React from "react";
2
2
  import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
3
- declare function Collapsible({ children, ...props }: CollapsiblePrimitive.Root.Props & React.ComponentPropsWithoutRef<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function Collapsible({ asChild, children, ...props }: CollapsiblePrimitive.Root.Props & React.ComponentPropsWithoutRef<"div"> & {
4
+ asChild?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
4
6
  declare function CollapsibleTrigger({ asChild, children, ...props }: CollapsiblePrimitive.Trigger.Props & {
5
7
  asChild?: boolean;
6
8
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ import { CollapsibleRoot } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@
3
3
  import { CollapsiblePanel } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/collapsible/panel/CollapsiblePanel.js";
4
4
  import { CollapsibleTrigger as CollapsibleTrigger$1 } from "../../node_modules/.pnpm/@base-ui_react@1.3.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/collapsible/trigger/CollapsibleTrigger.js";
5
5
  function Collapsible({
6
+ asChild,
6
7
  children,
7
8
  ...props
8
9
  }) {
@@ -9,8 +9,10 @@ declare function DialogClose({ asChild, children, ...props }: DialogPrimitive.Cl
9
9
  asChild?: boolean;
10
10
  }): import("react/jsx-runtime").JSX.Element;
11
11
  declare function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
12
- declare function DialogContent({ className, children, showCloseButton, ...props }: DialogPrimitive.Popup.Props & {
12
+ declare function DialogContent({ className, children, showCloseButton, onEscapeKeyDown, onPointerDownOutside, ...props }: DialogPrimitive.Popup.Props & {
13
13
  showCloseButton?: boolean;
14
+ onEscapeKeyDown?: (e: any) => void;
15
+ onPointerDownOutside?: (e: any) => void;
14
16
  }): import("react/jsx-runtime").JSX.Element;
15
17
  declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
16
18
  declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
@@ -74,6 +74,8 @@ function DialogContent({
74
74
  className,
75
75
  children,
76
76
  showCloseButton = true,
77
+ onEscapeKeyDown,
78
+ onPointerDownOutside,
77
79
  ...props
78
80
  }) {
79
81
  return /* @__PURE__ */ jsxs(DialogPortal, { children: [
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  declare function Form({ children, ...props }: React.ComponentProps<"form"> & {
3
3
  [key: string]: any;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
- declare function FormField({ name, render }: {
5
+ declare function FormField({ name, render, }: {
6
6
  name: string;
7
7
  render: (args: {
8
8
  field: any;
@@ -1,30 +1,64 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- const FormFieldContext = React.createContext({});
4
- const FormItemContext = React.createContext({});
5
- function Form({ children, ...props }) {
3
+ const FormFieldContext = React.createContext(
4
+ {}
5
+ );
6
+ const FormItemContext = React.createContext(
7
+ {}
8
+ );
9
+ function Form({
10
+ children,
11
+ ...props
12
+ }) {
6
13
  return /* @__PURE__ */ jsx("form", { ...props, children });
7
14
  }
8
- function FormField({ name, render }) {
9
- return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name }, children: render({ field: { name, value: "", onChange: () => {
10
- }, onBlur: () => {
11
- }, ref: () => {
12
- } } }) });
15
+ function FormField({
16
+ name,
17
+ render
18
+ }) {
19
+ return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: { name }, children: render({
20
+ field: {
21
+ name,
22
+ value: "",
23
+ onChange: () => {
24
+ },
25
+ onBlur: () => {
26
+ },
27
+ ref: () => {
28
+ }
29
+ }
30
+ }) });
13
31
  }
14
- function FormItem({ className, children, ...props }) {
32
+ function FormItem({
33
+ className,
34
+ children,
35
+ ...props
36
+ }) {
15
37
  const id = React.useId();
16
38
  return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { className, ...props, children }) });
17
39
  }
18
- function FormLabel({ className, children, ...props }) {
40
+ function FormLabel({
41
+ className,
42
+ children,
43
+ ...props
44
+ }) {
19
45
  return /* @__PURE__ */ jsx("label", { className, ...props, children });
20
46
  }
21
47
  function FormControl({ children, ...props }) {
22
48
  return /* @__PURE__ */ jsx("div", { ...props, children });
23
49
  }
24
- function FormDescription({ className, children, ...props }) {
50
+ function FormDescription({
51
+ className,
52
+ children,
53
+ ...props
54
+ }) {
25
55
  return /* @__PURE__ */ jsx("p", { className, ...props, children });
26
56
  }
27
- function FormMessage({ className, children, ...props }) {
57
+ function FormMessage({
58
+ className,
59
+ children,
60
+ ...props
61
+ }) {
28
62
  return /* @__PURE__ */ jsx("p", { className, ...props, children });
29
63
  }
30
64
  export {
@@ -7,10 +7,10 @@ type PaginationLinkProps = {
7
7
  isActive?: boolean;
8
8
  } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
9
9
  declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
10
- declare function PaginationPrevious({ className, text, size, ...props }: React.ComponentProps<typeof PaginationLink> & {
10
+ declare function PaginationPrevious({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
11
11
  text?: string;
12
12
  }): import("react/jsx-runtime").JSX.Element;
13
- declare function PaginationNext({ className, text, size, ...props }: React.ComponentProps<typeof PaginationLink> & {
13
+ declare function PaginationNext({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
14
14
  text?: string;
15
15
  }): import("react/jsx-runtime").JSX.Element;
16
16
  declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
@@ -61,14 +61,13 @@ function PaginationLink({
61
61
  function PaginationPrevious({
62
62
  className,
63
63
  text = "Previous",
64
- size,
65
64
  ...props
66
65
  }) {
67
66
  return /* @__PURE__ */ jsxs(
68
67
  PaginationLink,
69
68
  {
70
69
  "aria-label": "Go to previous page",
71
- size: size ?? "default",
70
+ size: "default",
72
71
  className: cn("pl-1.5!", className),
73
72
  ...props,
74
73
  children: [
@@ -81,14 +80,13 @@ function PaginationPrevious({
81
80
  function PaginationNext({
82
81
  className,
83
82
  text = "Next",
84
- size,
85
83
  ...props
86
84
  }) {
87
85
  return /* @__PURE__ */ jsxs(
88
86
  PaginationLink,
89
87
  {
90
88
  "aria-label": "Go to next page",
91
- size: size ?? "default",
89
+ size: "default",
92
90
  className: cn("pr-1.5!", className),
93
91
  ...props,
94
92
  children: [
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
+ import { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';
4
4
  import { toggleVariants } from '@/components/shadcn/toggle';
5
5
  declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
6
6
  spacing?: number;
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import { Root as Root2, Item as Item2 } from "../../node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_aeb0a9c335dbe5637aedd311835f3954/node_modules/@radix-ui/react-toggle-group/dist/index.js";
4
3
  import { cn } from "../../utils/css-utils.js";
5
4
  import "dayjs";
6
5
  import { toggleVariants } from "./toggle.js";
6
+ import { Root as Root2, Item as Item2 } from "../../node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_aeb0a9c335dbe5637aedd311835f3954/node_modules/@radix-ui/react-toggle-group/dist/index.js";
7
7
  const ToggleGroupContext = React.createContext({
8
8
  size: "default",
9
9
  variant: "default",
@@ -20,19 +20,19 @@ import { useCoreFilter } from "./utils/useFilter.js";
20
20
  import { useTransitionStatus } from "../../utils/useTransitionStatus.js";
21
21
  import { useOpenInteractionType } from "../../utils/useOpenInteractionType.js";
22
22
  import { useValueChanged } from "../../utils/useValueChanged.js";
23
- import { stringifyAsLabel, isGroupedItems, stringifyAsValue } from "../../utils/resolveValueLabel.js";
24
- import { defaultItemEquality, selectedValueIncludes, removeItem, findItemIndex, compareItemEquality } from "../../utils/itemEquality.js";
23
+ import { isGroupedItems, stringifyAsLabel, stringifyAsValue } from "../../utils/resolveValueLabel.js";
24
+ import { defaultItemEquality, findItemIndex, compareItemEquality, selectedValueIncludes, removeItem } from "../../utils/itemEquality.js";
25
25
  import { INITIAL_LAST_HIGHLIGHT, NO_ACTIVE_VALUE } from "./utils/constants.js";
26
26
  import { jsx, jsxs } from "react/jsx-runtime";
27
27
  import { EMPTY_ARRAY, NOOP, EMPTY_OBJECT } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/empty.js";
28
- import { Store } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/Store.js";
29
28
  import { useStore } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/useStore.js";
30
29
  import { useFloatingRootContext } from "../../floating-ui-react/hooks/useFloatingRootContext.js";
31
30
  import { useClick } from "../../floating-ui-react/hooks/useClick.js";
32
31
  import { useDismiss } from "../../floating-ui-react/hooks/useDismiss.js";
33
32
  import { useListNavigation } from "../../floating-ui-react/hooks/useListNavigation.js";
34
33
  import { useInteractions } from "../../floating-ui-react/hooks/useInteractions.js";
35
- import { inputClear, inputChange, focusOut, outsidePress, none, itemPress, inputPress } from "../../utils/reason-parts.js";
34
+ import { Store } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/Store.js";
35
+ import { none, inputClear, inputChange, inputPress, focusOut, outsidePress, itemPress } from "../../utils/reason-parts.js";
36
36
  import { getTarget, contains } from "../../floating-ui-react/utils/element.js";
37
37
  function AriaCombobox(props) {
38
38
  const {
@@ -9,7 +9,7 @@ import { createAttribute } from "../utils/createAttribute.js";
9
9
  import { isReactEvent } from "../utils/event.js";
10
10
  import { getTarget, contains, isEventTargetWithin, isRootElement } from "../utils/element.js";
11
11
  import { getNodeChildren } from "../utils/nodes.js";
12
- import { escapeKey, triggerPress, outsidePress } from "../../utils/reason-parts.js";
12
+ import { triggerPress, escapeKey, outsidePress } from "../../utils/reason-parts.js";
13
13
  const bubbleHandlerKeys = {
14
14
  intentional: "onClick",
15
15
  sloppy: "onPointerDown"
@@ -35,7 +35,7 @@ import { useButton } from "../../use-button/useButton.js";
35
35
  import { EMPTY_ARRAY } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/empty.js";
36
36
  import { isOutsideEvent, getPreviousTabbable, getNextTabbable, getTabbableAfterElement } from "../../floating-ui-react/utils/tabbable.js";
37
37
  import { contains } from "../../floating-ui-react/utils/element.js";
38
- import { focusOut, triggerHover, triggerPress, listNavigation } from "../../utils/reason-parts.js";
38
+ import { focusOut, listNavigation, triggerHover, triggerPress } from "../../utils/reason-parts.js";
39
39
  import { stopEvent } from "../../floating-ui-react/utils/event.js";
40
40
  const DEFAULT_SIZE = {
41
41
  width: 0,
@@ -27,11 +27,11 @@ import { useDismiss } from "../../floating-ui-react/hooks/useDismiss.js";
27
27
  import { useListNavigation } from "../../floating-ui-react/hooks/useListNavigation.js";
28
28
  import { useTypeahead } from "../../floating-ui-react/hooks/useTypeahead.js";
29
29
  import { useInteractions } from "../../floating-ui-react/hooks/useInteractions.js";
30
- import { EMPTY_OBJECT, EMPTY_ARRAY } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/empty.js";
31
- import { Store } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/Store.js";
30
+ import { EMPTY_ARRAY, EMPTY_OBJECT } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/empty.js";
32
31
  import { useStore } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/useStore.js";
33
- import { focusOut, outsidePress, none } from "../../utils/reason-parts.js";
34
32
  import { mergeProps } from "../../merge-props/mergeProps.js";
33
+ import { none, focusOut, outsidePress } from "../../utils/reason-parts.js";
34
+ import { Store } from "../../../../../../../@base-ui_utils@0.2.6_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/store/Store.js";
35
35
  function SelectRoot(props) {
36
36
  const {
37
37
  id,
@@ -14,7 +14,7 @@ import { getMidpoint } from "../utils/getMidpoint.js";
14
14
  import { roundValueToStep } from "../utils/roundValueToStep.js";
15
15
  import { validateMinimumDistance } from "../utils/validateMinimumDistance.js";
16
16
  import { resolveThumbCollision } from "../utils/resolveThumbCollision.js";
17
- import { drag, trackPress } from "../../utils/reason-parts.js";
17
+ import { trackPress, drag } from "../../utils/reason-parts.js";
18
18
  import { contains, activeElement } from "../../floating-ui-react/utils/element.js";
19
19
  const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
20
20
  function getControlOffset(styles, vertical) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dune-react",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -69,6 +69,7 @@
69
69
  "next-themes": "^0.4.6",
70
70
  "path": "^0.12.7",
71
71
  "prop-types": "^15.8.1",
72
+ "radix-ui": "1.4.3",
72
73
  "react-day-picker": "9.14.0",
73
74
  "react-is": "^18.3.1",
74
75
  "react-remove-scroll": "^2.7.2",