@lumx/core 4.17.0-next.2 → 4.17.0-next.3

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,8 @@
1
1
  import type { JSXElement, LumxClassName } from '../../types';
2
2
  export type MenuButtonVariant = 'button' | 'icon-button' | 'chip' | 'link';
3
+ export declare const DEFAULT_PROPS: {
4
+ variant: "button";
5
+ };
3
6
  /** ARIA keys set by MenuButton on the trigger — omitted from variant component props. */
4
7
  type MenuButtonAriaKeys = 'aria-haspopup' | 'aria-controls' | 'aria-expanded';
5
8
  /** Per-variant keys internally managed by MenuButton — omitted from variant component props. */
@@ -34,7 +34,7 @@ export declare function setup({ components: { MenuButton, MenuItem, MenuDivider
34
34
  };
35
35
  };
36
36
  decorators: ((story: any, context: any) => any)[];
37
- render: (args: any) => () => import("react").JSX.Element;
37
+ render: ({ onItemClick, ...args }: any) => import("react").JSX.Element;
38
38
  };
39
39
  WithLinkItems: {
40
40
  argTypes: {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@floating-ui/dom": "^1.7.5",
10
- "@lumx/icons": "^4.17.0-next.2",
10
+ "@lumx/icons": "^4.17.0-next.3",
11
11
  "classnames": "^2.3.2",
12
12
  "focus-visible": "^5.0.2",
13
13
  "lodash": "4.18.1",
@@ -66,7 +66,7 @@
66
66
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
67
67
  },
68
68
  "sideEffects": false,
69
- "version": "4.17.0-next.2",
69
+ "version": "4.17.0-next.3",
70
70
  "devDependencies": {
71
71
  "@rollup/plugin-typescript": "^12.3.0",
72
72
  "@testing-library/dom": "^10.4.1",