@epam/ai-dial-ui-kit 0.16.0-dev.59 → 0.16.0-dev.60

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.
@@ -29,7 +29,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
29
29
  renderOverlay: N,
30
30
  trigger: f = [y.Click],
31
31
  placement: B,
32
- disabled: a = !1,
32
+ disabled: c = !1,
33
33
  open: K,
34
34
  defaultOpen: ye = !1,
35
35
  onOpenChange: U,
@@ -60,7 +60,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
60
60
  filterItem: ee,
61
61
  maxVisibleItems: k
62
62
  }) => {
63
- const Ie = bo(), [Pe, Se] = W(ye), $ = K !== void 0, c = $ ? !!K : Pe, I = go(null), [Te, be] = W(""), m = L ?? Te, P = h(
63
+ const Ie = bo(), [Pe, Se] = W(ye), $ = K !== void 0, a = $ ? !!K : Pe, I = go(null), [Te, be] = W(""), m = L ?? Te, P = h(
64
64
  (o) => {
65
65
  L === void 0 && be(o), J?.(o);
66
66
  },
@@ -73,7 +73,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
73
73
  ), oe = me(), Ae = B === void 0, te = Ge(), { refs: w, floatingStyles: ne, context: E } = Je({
74
74
  nodeId: te,
75
75
  placement: B,
76
- open: c,
76
+ open: a,
77
77
  onOpenChange: r,
78
78
  whileElementsMounted: Ze,
79
79
  middleware: [
@@ -102,9 +102,9 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
102
102
  })
103
103
  ]
104
104
  }), Oe = ro(E, {
105
- enabled: f.includes(y.Click) && !a
105
+ enabled: f.includes(y.Click) && !c
106
106
  }), Le = so(E, {
107
- enabled: f.includes(y.Hover) && !a,
107
+ enabled: f.includes(y.Hover) && !c,
108
108
  move: !1,
109
109
  restMs: 40,
110
110
  handleClose: io(),
@@ -143,24 +143,24 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
143
143
  [w]
144
144
  ), Ye = h(
145
145
  (o) => {
146
- !f.includes(y.ContextMenu) || a || (o.preventDefault(), M && (T(o.clientX, o.clientY), I.current = document.elementFromPoint(
146
+ !f.includes(y.ContextMenu) || c || (o.preventDefault(), M && (T(o.clientX, o.clientY), I.current = document.elementFromPoint(
147
147
  o.clientX,
148
148
  o.clientY
149
149
  )), r(!0));
150
150
  },
151
- [M, a, r, T, f]
151
+ [M, c, r, T, f]
152
152
  ), Be = h(
153
153
  (o) => {
154
- !M || a || (f.includes(y.ContextMenu) && c && r(!1), T(o.clientX, o.clientY), I.current = document.elementFromPoint(
154
+ !M || c || (f.includes(y.ContextMenu) && a && r(!1), T(o.clientX, o.clientY), I.current = document.elementFromPoint(
155
155
  o.clientX,
156
156
  o.clientY
157
157
  ));
158
158
  },
159
- [M, a, T, c, f, r]
159
+ [M, c, T, a, f, r]
160
160
  );
161
161
  ge(() => {
162
- a && c && r(!1);
163
- }, [a, c, r]);
162
+ c && a && r(!1);
163
+ }, [c, a, r]);
164
164
  const Ke = h(
165
165
  (o) => {
166
166
  if (!re || o.defaultPrevented || !Wo.includes(o.key) || !o.currentTarget.contains(o.target) || o.target instanceof HTMLInputElement && (o.key === "Home" || o.key === "End"))
@@ -323,8 +323,8 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
323
323
  k
324
324
  ]), je = !N && (l || k != null), {
325
325
  "aria-haspopup": ae,
326
- "aria-expanded": ce = c,
327
- "aria-controls": de = oe,
326
+ "aria-expanded": ce = a,
327
+ "aria-controls": de = a ? oe : void 0,
328
328
  ...ze
329
329
  } = He({
330
330
  onContextMenu: Ye,
@@ -339,7 +339,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
339
339
  "aria-controls": t.props["aria-controls"] ?? de
340
340
  }) : t;
341
341
  return ge(() => {
342
- if (!c) return;
342
+ if (!a) return;
343
343
  const o = w.reference.current;
344
344
  let e = null;
345
345
  if (o instanceof Element ? e = o : I.current instanceof Element && (e = I.current), !e) return;
@@ -350,7 +350,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
350
350
  { root: null, threshold: 0 }
351
351
  );
352
352
  return s.observe(e), () => s.disconnect();
353
- }, [c, w.reference, r]), /* @__PURE__ */ n(uo, { children: /* @__PURE__ */ F(fo, { id: te, children: [
353
+ }, [a, w.reference, r]), /* @__PURE__ */ n(uo, { children: /* @__PURE__ */ F(fo, { id: te, children: [
354
354
  /* @__PURE__ */ n(
355
355
  "span",
356
356
  {
@@ -358,7 +358,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
358
358
  id: ue ? ie : void 0,
359
359
  className: x(
360
360
  Mo,
361
- a && "!cursor-not-allowed opacity-75",
361
+ c && "!cursor-not-allowed opacity-75",
362
362
  Ce,
363
363
  Y.dropdown
364
364
  ),
@@ -367,7 +367,7 @@ const $o = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]
367
367
  children: Xe
368
368
  }
369
369
  ),
370
- c && /* @__PURE__ */ n(po, { children: /* @__PURE__ */ n(
370
+ a && /* @__PURE__ */ n(po, { children: /* @__PURE__ */ n(
371
371
  mo,
372
372
  {
373
373
  context: E,
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.16.0-dev.59",
3
- "generatedAt": "2026-11-01T22:31:38.176Z",
2
+ "version": "0.16.0-dev.60",
3
+ "generatedAt": "2026-11-01T23:48:06.567Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",