@homecode/ui 5.7.4 → 5.7.5

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,7 +5,7 @@ import { Button } from '../Button/Button.js';
5
5
  import { Popup } from '../Popup/Popup.js';
6
6
  import S from './PopupMenu.styl.js';
7
7
 
8
- function PopupMenu({ items, onClose, ...props }) {
8
+ function PopupMenu({ items, ...props }) {
9
9
  if (items.length === 0)
10
10
  return null;
11
11
  const { size } = props;
@@ -1,6 +1,6 @@
1
1
  import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = ".PopupMenu_list__G7xP3{align-items:stretch;border-radius:inherit;display:flex;flex-direction:column;padding:2px}.PopupMenu_item__wxay-+.PopupMenu_item__wxay-{margin-top:2px}.PopupMenu_item__wxay-:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.PopupMenu_item__wxay-:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}";
3
+ var css_248z = ".PopupMenu_list__G7xP3{align-items:stretch;border-radius:inherit;display:flex;flex-direction:column;padding:2px}.PopupMenu_item__wxay-{justify-content:flex-start}.PopupMenu_item__wxay-+.PopupMenu_item__wxay-{margin-top:2px}.PopupMenu_item__wxay-:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.PopupMenu_item__wxay-:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}";
4
4
  var S = {"list":"PopupMenu_list__G7xP3","item":"PopupMenu_item__wxay-"};
5
5
  styleInject(css_248z);
6
6
 
@@ -1,2 +1,2 @@
1
1
  import * as T from './PopupMenu.types';
2
- export declare function PopupMenu({ items, onClose, ...props }: T.Props): import("react").JSX.Element;
2
+ export declare function PopupMenu({ items, ...props }: T.Props): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "5.7.4",
3
+ "version": "5.7.5",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",