@indigoai/indigo-design-system 0.10.5 → 0.10.7

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.
@@ -5300,7 +5300,7 @@ const hC = F(function(t, n) {
5300
5300
  ...o
5301
5301
  }
5302
5302
  );
5303
- }), gC = F((e, t) => e.fieldSizing !== "content" ? /* @__PURE__ */ u.jsx("input", { ref: t, ...e }) : CSS.supports("field-sizing:content") ? /* @__PURE__ */ u.jsx("input", { ref: t, ...e, className: ce(lC.fluid, e.className) }) : /* @__PURE__ */ u.jsx(hC, { ref: t, ...e })), Jo = F((e, t) => {
5303
+ }), gC = F(({ fieldSizing: e, ...t }, n) => e !== "content" ? /* @__PURE__ */ u.jsx("input", { ref: n, ...t }) : CSS.supports("field-sizing:content") ? /* @__PURE__ */ u.jsx("input", { ref: n, ...t, className: ce(lC.fluid, t.className) }) : /* @__PURE__ */ u.jsx(hC, { ref: n, ...t, fieldSizing: e })), Jo = F((e, t) => {
5304
5304
  const {
5305
5305
  size: n = "md",
5306
5306
  error: r,
@@ -8065,11 +8065,11 @@ Ev.displayName = "AtomItemTagAiDropdown";
8065
8065
  const rf = F(({ answers: e, ...t }, n) => e ? /* @__PURE__ */ u.jsx(Cv, { ref: n, ...t, answers: e }) : /* @__PURE__ */ u.jsx(Tv, { ref: n, ...t }));
8066
8066
  rf.displayName = "AtomItemAiDropdown";
8067
8067
  const Tv = F(
8068
- ({ id: e, label: t, fontWeight: n, selectAnswer: r, ...o }, s) => {
8069
- const l = Te(() => {
8068
+ ({ id: e, label: t, fontWeight: n, selectAnswer: r }, o) => {
8069
+ const s = Te(() => {
8070
8070
  r == null || r({ intentId: e });
8071
8071
  }, [e]);
8072
- return /* @__PURE__ */ u.jsx("div", { ref: s, className: sr["atom-item-ai-dropdown--trigger"], ...o, onClick: l, children: /* @__PURE__ */ u.jsx("span", { className: sr["atom-item-ai-dropdown--label"], children: typeof t == "string" ? /* @__PURE__ */ u.jsx(Oe, { size: "sm", fontWeight: n, color: "gray-1000", children: t }) : t }) });
8072
+ return /* @__PURE__ */ u.jsx("div", { ref: o, className: sr["atom-item-ai-dropdown--trigger"], onClick: s, children: /* @__PURE__ */ u.jsx("span", { className: sr["atom-item-ai-dropdown--label"], children: typeof t == "string" ? /* @__PURE__ */ u.jsx(Oe, { size: "sm", fontWeight: n, color: "gray-1000", children: t }) : t }) });
8073
8073
  }
8074
8074
  );
8075
8075
  Tv.displayName = "AtomItemSingleAiDropdown";
@@ -8100,7 +8100,7 @@ const Cv = F(
8100
8100
  value: v,
8101
8101
  onValueChange: x,
8102
8102
  children: /* @__PURE__ */ u.jsxs(Uf, { value: e, children: [
8103
- /* @__PURE__ */ u.jsx(Hf, { className: sr["atom-item-ai-dropdown--header"], children: /* @__PURE__ */ u.jsxs(Vf, { className: sr["atom-item-ai-dropdown--trigger"], children: [
8103
+ /* @__PURE__ */ u.jsx(Hf, { className: sr["atom-item-ai-dropdown--header"], children: /* @__PURE__ */ u.jsx(Vf, { asChild: !0, children: /* @__PURE__ */ u.jsxs("div", { className: sr["atom-item-ai-dropdown--trigger"], children: [
8104
8104
  /* @__PURE__ */ u.jsxs(bt, { variant: "ghost", color: "primary", size: "xs", children: [
8105
8105
  /* @__PURE__ */ u.jsx(
8106
8106
  By,
@@ -8118,7 +8118,7 @@ const Cv = F(
8118
8118
  )
8119
8119
  ] }),
8120
8120
  /* @__PURE__ */ u.jsx("span", { className: sr["atom-item-ai-dropdown--label"], children: typeof r == "string" ? /* @__PURE__ */ u.jsx(Oe, { size: "sm", fontWeight: s, color: "gray-1000", children: r }) : r })
8121
- ] }) }),
8121
+ ] }) }) }),
8122
8122
  /* @__PURE__ */ u.jsx(Wf, { ref: h, className: ce(sr["atom-item-ai-dropdown--content"], c), children: /* @__PURE__ */ u.jsx(Ev, { answers: o, selectAnswer: p, onAdd: m }) })
8123
8123
  ] })
8124
8124
  }