@hexure/ui 1.6.5 → 1.6.7
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/cjs/index.js +17 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/esm/index.js +17 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -21,6 +21,8 @@ export interface DrawerProps extends AccessibleProps {
|
|
|
21
21
|
width?: string | number;
|
|
22
22
|
/** Display an scrim over the main content, forcing users to interact with the drawer */
|
|
23
23
|
scrim?: 'transparent' | 'dark';
|
|
24
|
+
/** Set the drawer's positioning. Default is 'fixed' */
|
|
25
|
+
position?: 'fixed' | 'absolute';
|
|
24
26
|
/** It is used to close drawer. */
|
|
25
27
|
onClose: (e?: any) => void;
|
|
26
28
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -177,6 +177,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
177
177
|
width?: string | number;
|
|
178
178
|
/** Display an scrim over the main content, forcing users to interact with the drawer */
|
|
179
179
|
scrim?: 'transparent' | 'dark';
|
|
180
|
+
/** Set the drawer's positioning. Default is 'fixed' */
|
|
181
|
+
position?: 'fixed' | 'absolute';
|
|
180
182
|
/** It is used to close drawer. */
|
|
181
183
|
onClose: (e?: any) => void;
|
|
182
184
|
}
|