tetrons 2.3.94 → 2.3.95

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/index.cjs CHANGED
@@ -16963,7 +16963,7 @@ function AiGroup({ editor, enabledFeatures }) {
16963
16963
  }
16964
16964
  };
16965
16965
  if (!enabledFeatures.includes("voice to text")) return null;
16966
- return /* @__PURE__ */ import_react18.default.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ import_react18.default.createElement("div", { className: "flex gap-2 items-center" }, !isRecording ? /* @__PURE__ */ import_react18.default.createElement(
16966
+ return /* @__PURE__ */ import_react18.default.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ import_react18.default.createElement("div", { className: "flex gap-2 items-center" }, !isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ import_react18.default.createElement(
16967
16967
  "button",
16968
16968
  {
16969
16969
  type: "button",
@@ -16972,7 +16972,7 @@ function AiGroup({ editor, enabledFeatures }) {
16972
16972
  title: "Start Voice Input"
16973
16973
  },
16974
16974
  /* @__PURE__ */ import_react18.default.createElement(import_fa2.FaMicrophone, { size: 18 })
16975
- ) : /* @__PURE__ */ import_react18.default.createElement(
16975
+ ), isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ import_react18.default.createElement(
16976
16976
  "button",
16977
16977
  {
16978
16978
  type: "button",
@@ -16981,7 +16981,7 @@ function AiGroup({ editor, enabledFeatures }) {
16981
16981
  title: "Stop Recording"
16982
16982
  },
16983
16983
  /* @__PURE__ */ import_react18.default.createElement(import_fa2.FaStop, { size: 18 })
16984
- ), /* @__PURE__ */ import_react18.default.createElement(
16984
+ ), enabledFeatures.includes("ai") && /* @__PURE__ */ import_react18.default.createElement(
16985
16985
  "button",
16986
16986
  {
16987
16987
  type: "button",
package/dist/index.mjs CHANGED
@@ -16972,7 +16972,7 @@ function AiGroup({ editor, enabledFeatures }) {
16972
16972
  }
16973
16973
  };
16974
16974
  if (!enabledFeatures.includes("voice to text")) return null;
16975
- return /* @__PURE__ */ React12.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ React12.createElement("div", { className: "flex gap-2 items-center" }, !isRecording ? /* @__PURE__ */ React12.createElement(
16975
+ return /* @__PURE__ */ React12.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ React12.createElement("div", { className: "flex gap-2 items-center" }, !isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ React12.createElement(
16976
16976
  "button",
16977
16977
  {
16978
16978
  type: "button",
@@ -16981,7 +16981,7 @@ function AiGroup({ editor, enabledFeatures }) {
16981
16981
  title: "Start Voice Input"
16982
16982
  },
16983
16983
  /* @__PURE__ */ React12.createElement(FaMicrophone, { size: 18 })
16984
- ) : /* @__PURE__ */ React12.createElement(
16984
+ ), isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ React12.createElement(
16985
16985
  "button",
16986
16986
  {
16987
16987
  type: "button",
@@ -16990,7 +16990,7 @@ function AiGroup({ editor, enabledFeatures }) {
16990
16990
  title: "Stop Recording"
16991
16991
  },
16992
16992
  /* @__PURE__ */ React12.createElement(FaStop, { size: 18 })
16993
- ), /* @__PURE__ */ React12.createElement(
16993
+ ), enabledFeatures.includes("ai") && /* @__PURE__ */ React12.createElement(
16994
16994
  "button",
16995
16995
  {
16996
16996
  type: "button",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tetrons",
3
- "version": "2.3.94",
3
+ "version": "2.3.95",
4
4
  "description": "A Next.js project written in TypeScript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",