@wavv/ui 1.5.5 → 1.5.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.
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent, ReactNode } from 'react';
2
- import { Padding, WidthHeight } from './types';
2
+ import { FlexPosition, Padding, WidthHeight } from './types';
3
3
  type MenuProps = {
4
4
  /** Displays the menu as a vertical, stacked menu */
5
5
  vertical?: boolean;
@@ -40,7 +40,7 @@ type MenuItemProps = {
40
40
  /** Prevents the Menu Item from being clicked */
41
41
  disabled?: boolean;
42
42
  /** The flex positioning of the Item contents */
43
- contentPosition?: 'start' | 'end';
43
+ contentPosition?: FlexPosition;
44
44
  /** The function to be called when the Menu Item is clicked */
45
45
  onClick: (event: MouseEvent) => void;
46
46
  indent?: number;
package/build/index.d.ts CHANGED
@@ -1934,7 +1934,7 @@ type MenuItemProps = {
1934
1934
  /** Prevents the Menu Item from being clicked */
1935
1935
  disabled?: boolean;
1936
1936
  /** The flex positioning of the Item contents */
1937
- contentPosition?: 'start' | 'end';
1937
+ contentPosition?: FlexPosition;
1938
1938
  /** The function to be called when the Menu Item is clicked */
1939
1939
  onClick: (event: MouseEvent$1) => void;
1940
1940
  indent?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "files": [
5
5
  "build/**/*"
6
6
  ],