@mittwald/flow-react-components 0.1.0-alpha.283 → 0.1.0-alpha.285

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.
@@ -5,6 +5,7 @@ import { MenuItemProps } from '../MenuItem';
5
5
  import * as Aria from "react-aria-components";
6
6
  export interface ContextMenuProps extends Omit<PopoverProps, "withTip">, Pick<Aria.MenuProps<MenuItemProps>, "onAction" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys">, FlowComponentProps {
7
7
  selectionMode?: "single" | "multiple" | "navigation";
8
+ width?: string | number;
8
9
  }
9
10
  export declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuProps & React.RefAttributes<never>>;
10
11
  export default ContextMenu;
@@ -9,3 +9,4 @@ export declare const MultipleSelection: Story;
9
9
  export declare const WithLinks: Story;
10
10
  export declare const WithSeparator: Story;
11
11
  export declare const WithContextMenuSection: Story;
12
+ export declare const CustomWidth: Story;
@@ -6,6 +6,7 @@ export interface PopoverProps extends PropsWithChildren<Omit<Aria.PopoverProps,
6
6
  isDialogContent?: boolean;
7
7
  controller?: OverlayController;
8
8
  contentClassName?: string;
9
+ width?: string | number;
9
10
  }
10
11
  export declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<never>>;
11
12
  export default Popover;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.283",
3
+ "version": "0.1.0-alpha.285",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -317,7 +317,7 @@
317
317
  "@chakra-ui/live-region": "^2.1.0",
318
318
  "@internationalized/date": "^3.5.6",
319
319
  "@internationalized/string-compiler": "^3.2.5",
320
- "@mittwald/react-tunnel": "^0.1.0-alpha.283",
320
+ "@mittwald/react-tunnel": "^0.1.0-alpha.285",
321
321
  "@mittwald/react-use-promise": "^2.5.0",
322
322
  "@react-aria/utils": "^3.25.3",
323
323
  "@react-types/shared": "^3.25.0",
@@ -344,7 +344,7 @@
344
344
  },
345
345
  "devDependencies": {
346
346
  "@faker-js/faker": "^9.0.3",
347
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.283",
347
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.285",
348
348
  "@mittwald/react-use-promise": "^2.5.0",
349
349
  "@nx/storybook": "^20.0.0",
350
350
  "@storybook/addon-a11y": "^8.3.5",
@@ -421,5 +421,5 @@
421
421
  "optional": true
422
422
  }
423
423
  },
424
- "gitHead": "3dda8b0bcb916934bfb4de0ed8c3fb49666920dd"
424
+ "gitHead": "9976ff8d487ce1f62ed33e09cdab91db462bdd8c"
425
425
  }