@hexure/ui 1.6.4 → 1.6.6
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 +19 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ActionDialog/ActionDialog.d.ts +1 -0
- package/dist/cjs/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/esm/index.js +19 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ActionDialog/ActionDialog.d.ts +1 -0
- package/dist/esm/types/components/Drawer/Drawer.d.ts +2 -0
- package/dist/index.d.ts +3 -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
|
@@ -28,6 +28,7 @@ declare const Accordion: FC<AccordionProps>;
|
|
|
28
28
|
|
|
29
29
|
interface ButtonProps$4 {
|
|
30
30
|
children: string;
|
|
31
|
+
format?: 'primary' | 'red';
|
|
31
32
|
icon?: string;
|
|
32
33
|
onClick: (e?: any) => void;
|
|
33
34
|
tabIndex?: number;
|
|
@@ -176,6 +177,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
176
177
|
width?: string | number;
|
|
177
178
|
/** Display an scrim over the main content, forcing users to interact with the drawer */
|
|
178
179
|
scrim?: 'transparent' | 'dark';
|
|
180
|
+
/** Set the drawer's positioning. Default is 'fixed' */
|
|
181
|
+
position?: 'fixed' | 'absolute';
|
|
179
182
|
/** It is used to close drawer. */
|
|
180
183
|
onClose: (e?: any) => void;
|
|
181
184
|
}
|