@ansible/ansible-ui-framework 0.0.221 → 0.0.223

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ function TypedActionButton(props) {
36
36
  return ((0, jsx_runtime_1.jsx)(ActionBulkButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
37
37
  }
38
38
  case TypedActions_1.TypedActionType.button: {
39
- return (0, jsx_runtime_1.jsx)(ActionButton, { action: action, noPrimary: noPrimary, wrapper: wrapper });
39
+ return ((0, jsx_runtime_1.jsx)(ActionButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
40
40
  }
41
41
  case TypedActions_1.TypedActionType.dropdown: {
42
42
  return ((0, jsx_runtime_1.jsx)(TypedActions_1.TypedActionsDropdown, { actions: action.options, selectedItems: selectedItems, label: action.label, isPrimary: action.variant === react_core_1.ButtonVariant.primary && !(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) }));
@@ -21,7 +21,7 @@ export function TypedActionButton(props) {
21
21
  return (_jsx(ActionBulkButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
22
22
  }
23
23
  case TypedActionType.button: {
24
- return _jsx(ActionButton, { action: action, noPrimary: noPrimary, wrapper: wrapper });
24
+ return (_jsx(ActionButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
25
25
  }
26
26
  case TypedActionType.dropdown: {
27
27
  return (_jsx(TypedActionsDropdown, { actions: action.options, selectedItems: selectedItems, label: action.label, isPrimary: action.variant === ButtonVariant.primary && !selectedItems?.length }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "Framework for building consistent responsive web applications using PatternFly.",
4
- "version": "0.0.221",
4
+ "version": "0.0.223",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "repository": {