@parrot-co/parrot-ui 0.0.73 → 0.0.75
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/main.js +3 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1741,7 +1741,7 @@ const $c68076e2eb9f7d63$export$303ef672e091d99 = (0, $80923bc9c1ba824c$export$db
|
|
|
1741
1741
|
isIconButton: {
|
|
1742
1742
|
true: {
|
|
1743
1743
|
width: "$$button-base-height",
|
|
1744
|
-
px:
|
|
1744
|
+
px: "0px !important"
|
|
1745
1745
|
}
|
|
1746
1746
|
},
|
|
1747
1747
|
appearance: {
|
|
@@ -4767,6 +4767,8 @@ function $39b5e387b93e95b5$export$e44a253a59704894(props) {
|
|
|
4767
4767
|
const items = props.items;
|
|
4768
4768
|
const action = items.find((item)=>item.key === key)?.action;
|
|
4769
4769
|
action?.();
|
|
4770
|
+
// not sure if we should still call onAction if action is present on item. but let's do this for now...maybe we put it behind a flag?
|
|
4771
|
+
if (!action) props.onAction?.(key);
|
|
4770
4772
|
}
|
|
4771
4773
|
return /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)($39b5e387b93e95b5$var$_Dropdown, {
|
|
4772
4774
|
...props,
|