@6thbridge/hexa 0.0.101 → 0.0.104
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/dist/output.css +9 -5
- package/package.json +3 -3
- package/tsup.config.ts +11 -0
package/dist/index.d.mts
CHANGED
|
@@ -419,8 +419,11 @@ type DrawerPropsType = {
|
|
|
419
419
|
onOpenAutoFocus?: (e: Event) => void;
|
|
420
420
|
onCloseAutoFocus?: (e: Event) => void;
|
|
421
421
|
modal?: boolean;
|
|
422
|
+
size?: "default" | "full";
|
|
423
|
+
usePortal?: boolean;
|
|
424
|
+
showOverlay?: boolean;
|
|
422
425
|
};
|
|
423
|
-
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
426
|
+
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, size, usePortal, showOverlay, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
424
427
|
|
|
425
428
|
type LocaleOption = {
|
|
426
429
|
key: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -419,8 +419,11 @@ type DrawerPropsType = {
|
|
|
419
419
|
onOpenAutoFocus?: (e: Event) => void;
|
|
420
420
|
onCloseAutoFocus?: (e: Event) => void;
|
|
421
421
|
modal?: boolean;
|
|
422
|
+
size?: "default" | "full";
|
|
423
|
+
usePortal?: boolean;
|
|
424
|
+
showOverlay?: boolean;
|
|
422
425
|
};
|
|
423
|
-
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
426
|
+
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, size, usePortal, showOverlay, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
424
427
|
|
|
425
428
|
type LocaleOption = {
|
|
426
429
|
key: string;
|