@magemetrics/ai 0.12.1 → 0.12.2
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.
- package/dist/react/ai.js +1282 -1277
- package/dist/web-component/web-component.es.js +8 -3
- package/package.json +2 -2
|
@@ -31588,7 +31588,7 @@ var qV = "X-Client-Version", ZV = "sp-access-token", qce = "X-Api-Key", Zce = "X
|
|
|
31588
31588
|
return t.headers.set(qce, e), t;
|
|
31589
31589
|
}
|
|
31590
31590
|
}), QV = {
|
|
31591
|
-
version: "0.12.
|
|
31591
|
+
version: "0.12.2"
|
|
31592
31592
|
}, Xce = class {
|
|
31593
31593
|
listeners = /* @__PURE__ */ new Map();
|
|
31594
31594
|
addEventListener(e, t, n) {
|
|
@@ -70804,9 +70804,11 @@ const _je = Nc(
|
|
|
70804
70804
|
i(t);
|
|
70805
70805
|
}, [t]), e.length === 0 ? null : /* @__PURE__ */ T.jsxs("div", { className: "mm:mt-4 mm:pt-2", children: [
|
|
70806
70806
|
/* @__PURE__ */ T.jsxs(
|
|
70807
|
-
"
|
|
70807
|
+
"span",
|
|
70808
70808
|
{
|
|
70809
|
-
|
|
70809
|
+
role: "button",
|
|
70810
|
+
tabIndex: 0,
|
|
70811
|
+
"aria-expanded": n,
|
|
70810
70812
|
className: Ke(
|
|
70811
70813
|
"mm:group/narr mm:flex mm:cursor-pointer mm:items-center mm:gap-2 mm:text-left mm:transition-colors mm:hover:text-brand-neutral-500",
|
|
70812
70814
|
n ? "mm:text-brand-neutral-500" : "mm:text-brand-neutral-250"
|
|
@@ -70814,6 +70816,9 @@ const _je = Nc(
|
|
|
70814
70816
|
onClick: (r) => {
|
|
70815
70817
|
r.stopPropagation(), i((o) => !o);
|
|
70816
70818
|
},
|
|
70819
|
+
onKeyDown: (r) => {
|
|
70820
|
+
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), i((o) => !o));
|
|
70821
|
+
},
|
|
70817
70822
|
children: [
|
|
70818
70823
|
/* @__PURE__ */ T.jsx(
|
|
70819
70824
|
sy,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magemetrics/ai",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@ai-sdk/react": "3.0.161",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"turndown": "^7.2.4",
|
|
35
35
|
"usehooks-ts": "^3.1.1",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@magemetrics/core": "0.12.
|
|
37
|
+
"@magemetrics/core": "0.12.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "^18.2.0 || ^19.0.0",
|