base-vaul 1.0.0 → 1.1.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.
- package/dist/index.d.mts +7 -7
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -150,9 +150,9 @@ declare function Root({
|
|
|
150
150
|
container,
|
|
151
151
|
autoFocus
|
|
152
152
|
}: DialogProps): react_jsx_runtime0.JSX.Element;
|
|
153
|
-
declare const Overlay: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogBackdropProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
153
|
+
declare const Overlay: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
154
154
|
type ContentProps = React.ComponentPropsWithoutRef<typeof Dialog.Popup>;
|
|
155
|
-
declare const Content: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogPopupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
155
|
+
declare const Content: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
156
156
|
type HandleProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
157
157
|
preventCycle?: boolean;
|
|
158
158
|
};
|
|
@@ -170,16 +170,16 @@ declare function Portal(props: PortalProps): react_jsx_runtime0.JSX.Element;
|
|
|
170
170
|
declare const Drawer: {
|
|
171
171
|
Root: typeof Root;
|
|
172
172
|
NestedRoot: typeof NestedRoot;
|
|
173
|
-
Content: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogPopupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
174
|
-
Overlay: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogBackdropProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
173
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
174
|
+
Overlay: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react0.DialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
175
175
|
Trigger: Dialog.Trigger;
|
|
176
176
|
Portal: typeof Portal;
|
|
177
177
|
Handle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
178
178
|
preventCycle?: boolean;
|
|
179
179
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
180
|
-
Close: React.ForwardRefExoticComponent<_base_ui_react0.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
181
|
-
Title: React.ForwardRefExoticComponent<_base_ui_react0.DialogTitleProps & React.RefAttributes<
|
|
182
|
-
Description: React.ForwardRefExoticComponent<_base_ui_react0.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
180
|
+
Close: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
181
|
+
Title: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
182
|
+
Description: React.ForwardRefExoticComponent<Omit<_base_ui_react0.DialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
183
183
|
};
|
|
184
184
|
//#endregion
|
|
185
185
|
export { Content, ContentProps, DialogProps, Drawer, Handle, HandleProps, NestedRoot, Overlay, Portal, Root, WithFadeFromProps, WithoutFadeFromProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "base-vaul",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"turbo": "2.6.3",
|
|
50
50
|
"typescript": "5.9.2",
|
|
51
51
|
"unplugin-lightningcss": "^0.4.3",
|
|
52
|
-
"@repo/
|
|
53
|
-
"@repo/
|
|
52
|
+
"@repo/eslint-config": "0.0.1",
|
|
53
|
+
"@repo/typescript-config": "0.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
|
|
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",
|