@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.
@@ -2,6 +2,7 @@ import { FC } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
3
  interface ButtonProps {
4
4
  children: string;
5
+ format?: 'primary' | 'red';
5
6
  icon?: string;
6
7
  onClick: (e?: any) => void;
7
8
  tabIndex?: number;
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",