@useloops/design-system 1.4.284 → 1.4.286

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/dist/index.d.ts CHANGED
@@ -1279,17 +1279,16 @@ interface PopperProps {
1279
1279
  declare const Popper: ({ bindOn, trigger, children, state, ...props }: PopperProps) => react_jsx_runtime.JSX.Element;
1280
1280
 
1281
1281
  interface MenuItemProps {
1282
- active?: boolean;
1283
- children?: MenuItemProps[];
1284
1282
  baseState?: PopupState;
1285
- closeOnClick?: boolean;
1283
+ label?: string;
1284
+ active?: boolean;
1286
1285
  danger?: boolean;
1287
1286
  divider?: boolean;
1288
1287
  heading?: boolean;
1289
- label?: string;
1290
- onClick?: () => void;
1291
1288
  selected?: boolean;
1292
- selectOne?: boolean;
1289
+ closeOnClick?: boolean;
1290
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
1291
+ children?: MenuItemProps[];
1293
1292
  width?: number;
1294
1293
  }
1295
1294
 
@@ -1303,6 +1302,7 @@ interface MenuProps extends PropsWithChildren {
1303
1302
  width?: number;
1304
1303
  slotProps?: {
1305
1304
  popper?: PopperProps['popperProps'];
1305
+ surface?: SurfaceProps;
1306
1306
  };
1307
1307
  }
1308
1308
  declare const Menu: FunctionComponent<MenuProps>;