@epam/ai-dial-ui-kit 0.12.0-dev.10 → 0.12.0-dev.11

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.
@@ -50838,62 +50838,64 @@ const oG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", rG = "te
50838
50838
  valueClassName: r,
50839
50839
  inputClassName: a,
50840
50840
  emptyValueText: l,
50841
- onClose: c,
50842
- header: d,
50843
- portalId: u,
50844
- onApply: h,
50845
- onCancel: g,
50846
- cancelButtonTitle: f = "Cancel",
50847
- applyButtonTitle: m = "Apply",
50848
- isValid: v,
50849
- selectedRadioValue: C,
50850
- onChangeRadioField: w,
50851
- id: b,
50852
- size: x = vi.Md
50841
+ placeholder: c,
50842
+ onClose: d,
50843
+ header: u,
50844
+ portalId: h,
50845
+ onApply: g,
50846
+ onCancel: f,
50847
+ cancelButtonTitle: m = "Cancel",
50848
+ applyButtonTitle: v = "Apply",
50849
+ isValid: C,
50850
+ selectedRadioValue: w,
50851
+ onChangeRadioField: b,
50852
+ id: x,
50853
+ size: y = vi.Md
50853
50854
  }) => {
50854
- const [y, R] = A(!1), S = D(() => {
50855
- i || R(!0);
50856
- }, [i]), F = D(() => {
50857
- R(!1), c?.();
50858
- }, [c]), E = D(() => {
50859
- g?.(), F();
50860
- }, [g, F]), T = D(() => {
50861
- h(), F();
50862
- }, [h, F]);
50855
+ const [R, S] = A(!1), F = D(() => {
50856
+ i || S(!0);
50857
+ }, [i]), E = D(() => {
50858
+ S(!1), d?.();
50859
+ }, [d]), T = D(() => {
50860
+ f?.(), E();
50861
+ }, [f, E]), P = D(() => {
50862
+ g(), E();
50863
+ }, [g, E]);
50863
50864
  return /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col gap-1", children: [
50864
50865
  /* @__PURE__ */ p.jsx(An, { label: e, htmlFor: t }),
50865
50866
  /* @__PURE__ */ p.jsx(
50866
50867
  pG,
50867
50868
  {
50868
50869
  disabled: i,
50869
- open: y,
50870
- selectedValue: o ?? n.find((P) => P.id === s)?.name,
50870
+ open: R,
50871
+ selectedValue: o ?? n.find((I) => I.id === s)?.name,
50871
50872
  valueClassName: r,
50872
50873
  inputClassName: ce(a, "py-2", "px-3"),
50873
50874
  emptyValueText: l,
50874
- onOpen: S,
50875
+ placeholder: c,
50876
+ onOpen: F,
50875
50877
  children: /* @__PURE__ */ p.jsx(
50876
50878
  Qo,
50877
50879
  {
50878
- open: y,
50879
- onClose: E,
50880
- header: d,
50881
- portalId: u,
50882
- size: x,
50880
+ open: R,
50881
+ onClose: T,
50882
+ header: u,
50883
+ portalId: h,
50884
+ size: y,
50883
50885
  footer: /* @__PURE__ */ p.jsxs("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
50884
50886
  /* @__PURE__ */ p.jsx(
50885
50887
  us,
50886
50888
  {
50887
- label: f,
50888
- onClick: E
50889
+ label: m,
50890
+ onClick: T
50889
50891
  }
50890
50892
  ),
50891
50893
  /* @__PURE__ */ p.jsx(
50892
50894
  rs,
50893
50895
  {
50894
- label: m,
50895
- onClick: T,
50896
- disabled: !v
50896
+ label: v,
50897
+ onClick: P,
50898
+ disabled: !C
50897
50899
  }
50898
50900
  )
50899
50901
  ] }),
@@ -50902,9 +50904,9 @@ const oG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", rG = "te
50902
50904
  {
50903
50905
  radioButtons: n,
50904
50906
  labelClassName: "dial-small-text",
50905
- activeRadioButton: C,
50906
- onChange: w,
50907
- elementId: b,
50907
+ activeRadioButton: w,
50908
+ onChange: b,
50909
+ elementId: x,
50908
50910
  orientation: Io.Column
50909
50911
  }
50910
50912
  ) })
@@ -61965,7 +61967,7 @@ const jg = ({
61965
61967
  }) })
61966
61968
  }
61967
61969
  );
61968
- }, Iz = () => import("./JsonEditor-Dol9dB16.js"), Mz = () => import("./MarkdownEditor-CdHBKlsl.js");
61970
+ }, Iz = () => import("./JsonEditor-DpR0gtnl.js"), Mz = () => import("./MarkdownEditor-DJFU-cf8.js");
61969
61971
  export {
61970
61972
  pG as $,
61971
61973
  Vl as A,
@@ -53,6 +53,7 @@ export interface RadioGroupPopupFieldProps extends Pick<DialLabelProps, 'label'
53
53
  * @param [selectedValue] - Current value id used to resolve the displayed option name
54
54
  * @param radioButtons - Collection of radio options (id/name)
55
55
  * @param [customInputValue] - Custom value text to display instead of a radio option name
56
+ * @param [placeholder] - Placeholder text shown in the field when no value is selected; unlike `emptyValueText`, it suppresses the tooltip
56
57
  * @param [valueClassName] - Extra classes applied to the value text in the collapsed field
57
58
  * @param [inputClassName] - Extra classes applied to the collapsed input container
58
59
  * @param emptyValueText - Placeholder text when no value is selected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.12.0-dev.10",
3
+ "version": "0.12.0-dev.11",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",