baseui 0.0.0-next-a6b30f2 → 0.0.0-next-01a27b9

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.
package/menu/index.d.ts CHANGED
@@ -123,6 +123,7 @@ export interface OptionListProps extends BaseMenuPropsT {
123
123
  item: any;
124
124
  getItemLabel: (item: any) => React.ReactNode;
125
125
  getChildMenu?: (item: any) => React.ReactNode;
126
+ onMouseDown?: (event: MouseEvent) => any;
126
127
  onMouseEnter?: (event: MouseEvent) => any;
127
128
  size?: OPTION_LIST_SIZE[keyof OPTION_LIST_SIZE];
128
129
  overrides?: {
@@ -234,6 +234,8 @@ export type OptionListPropsT = {
234
234
  getChildMenu?: (item: ItemT) => React.Node,
235
235
  onClick?: (event: MouseEvent) => mixed,
236
236
  /** Callback used to change highlighted index in stateful menu. */
237
+ onMouseDown?: (event: MouseEvent) => mixed,
238
+ /** Callback used to change highlighted index in stateful menu. */
237
239
  onMouseEnter?: (event: MouseEvent) => mixed,
238
240
  /** Renders UI in defined scale. */
239
241
  size?: $Keys<typeof OPTION_LIST_SIZE>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-next-a6b30f2",
3
+ "version": "0.0.0-next-01a27b9",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",