@ansible/ansible-ui-framework 2.4.2568 → 2.4.2570

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -2223,7 +2223,7 @@ function hy(e) {
2223
2223
  }, [d, i, a, e]);
2224
2224
  const y = li(e.label ?? "actions-dropdown");
2225
2225
  if (f.length === 0) return /* @__PURE__ */ g.jsx(g.Fragment, {});
2226
- const b = u === kr.primary || p && !!(l != null && l.length), x = u === kr.primary && !p && !!(l != null && l.length), w = !i && !t, _ = t;
2226
+ const b = !e.iconOnly && (u === kr.primary || p && !!(l != null && l.length)), x = u === kr.primary && !p && !!(l != null && l.length), w = !i && !t, _ = t;
2227
2227
  let S;
2228
2228
  r ? S = r : c ? S = c : n ? S = i : S = void 0;
2229
2229
  const C = n && _ ? /* @__PURE__ */ g.jsx(dr, { children: /* @__PURE__ */ g.jsx(_, {}) }) : i, E = /* @__PURE__ */ g.jsxs(
@@ -41447,7 +41447,7 @@ function iOe(e) {
41447
41447
  "data-cy": e.id ?? t.split(".").join("-"),
41448
41448
  "aria-label": e.label,
41449
41449
  className: e.className,
41450
- label: /* @__PURE__ */ g.jsxs("div", { style: { display: "flex" }, children: [
41450
+ label: /* @__PURE__ */ g.jsxs("div", { style: { display: "inline-flex" }, children: [
41451
41451
  /* @__PURE__ */ g.jsxs("div", { children: [
41452
41452
  e.label,
41453
41453
  e.labelHelp && /* @__PURE__ */ g.jsx(Vy, { title: e.labelHelpTitle, help: e.labelHelp })