@aurora-ds/components 0.15.3 → 0.15.4

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.
@@ -1,9 +1,9 @@
1
- import { ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  import { AnchorOrigin } from '@hooks/useAnchorPosition.types';
3
3
  export type MenuProps = {
4
4
  anchor: HTMLElement | null;
5
5
  onClose: () => void;
6
6
  children: ReactNode;
7
7
  anchorOrigin?: AnchorOrigin;
8
- width?: string;
8
+ width?: CSSProperties['width'];
9
9
  };
@@ -1,9 +1,9 @@
1
- import { ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  import { AnchorOrigin } from '@hooks/useAnchorPosition.types';
3
3
  export type MenuProps = {
4
4
  anchor: HTMLElement | null;
5
5
  onClose: () => void;
6
6
  children: ReactNode;
7
7
  anchorOrigin?: AnchorOrigin;
8
- width?: string;
8
+ width?: CSSProperties['width'];
9
9
  };
package/dist/index.d.ts CHANGED
@@ -660,7 +660,7 @@ type MenuProps = {
660
660
  onClose: () => void;
661
661
  children: ReactNode;
662
662
  anchorOrigin?: AnchorOrigin;
663
- width?: string;
663
+ width?: CSSProperties['width'];
664
664
  };
665
665
 
666
666
  declare const Menu: FC<MenuProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",