base-vaul 1.2.0 → 1.2.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.
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -79,7 +79,7 @@ type DialogProps = Dialog.Root.Props & {
|
|
|
79
79
|
* Direction of the drawer. Can be `top` or `bottom`, `left`, `right`.
|
|
80
80
|
* @default 'bottom'
|
|
81
81
|
*/
|
|
82
|
-
direction?:
|
|
82
|
+
direction?: "top" | "bottom" | "left" | "right";
|
|
83
83
|
/**
|
|
84
84
|
* When set to `true` prevents scrolling on the document body on mount, and restores it on unmount.
|
|
85
85
|
* @default false
|
|
@@ -136,7 +136,7 @@ declare function Root({
|
|
|
136
136
|
declare const Overlay: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
137
137
|
type ContentProps = React.ComponentPropsWithoutRef<typeof Dialog.Popup>;
|
|
138
138
|
declare const Content: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
139
|
-
type HandleProps = React.ComponentPropsWithoutRef<
|
|
139
|
+
type HandleProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
140
140
|
preventCycle?: boolean;
|
|
141
141
|
};
|
|
142
142
|
declare const Handle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "base-vaul",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@base-ui/react": "1.
|
|
60
|
+
"@base-ui/react": "1.1.0"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "tsdown",
|