@factorialco/f0-react 1.197.0 → 1.197.1

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.
@@ -4825,8 +4825,8 @@ declare global {
4825
4825
 
4826
4826
  declare module "@tiptap/core" {
4827
4827
  interface Commands<ReturnType> {
4828
- aiBlock: {
4829
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4828
+ liveCompanion: {
4829
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4830
4830
  };
4831
4831
  }
4832
4832
  }
@@ -4834,8 +4834,8 @@ declare module "@tiptap/core" {
4834
4834
 
4835
4835
  declare module "@tiptap/core" {
4836
4836
  interface Commands<ReturnType> {
4837
- liveCompanion: {
4838
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4837
+ aiBlock: {
4838
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4839
4839
  };
4840
4840
  }
4841
4841
  }
@@ -4850,11 +4850,6 @@ declare module "@tiptap/core" {
4850
4850
  }
4851
4851
 
4852
4852
 
4853
- declare namespace Calendar {
4854
- var displayName: string;
4855
- }
4856
-
4857
-
4858
4853
  declare module "@tiptap/core" {
4859
4854
  interface Commands<ReturnType> {
4860
4855
  moodTracker: {
@@ -4862,3 +4857,8 @@ declare module "@tiptap/core" {
4862
4857
  };
4863
4858
  }
4864
4859
  }
4860
+
4861
+
4862
+ declare namespace Calendar {
4863
+ var displayName: string;
4864
+ }
@@ -5971,7 +5971,7 @@ const zN = ({ actions: t }) => t ? /* @__PURE__ */ d("div", { className: "flex w
5971
5971
  value: o
5972
5972
  }))
5973
5973
  ];
5974
- return /* @__PURE__ */ d("div", { className: "flex flex-col gap-0", children: /* @__PURE__ */ b("div", { className: "flex items-center gap-2 px-3", children: [
5974
+ return /* @__PURE__ */ d("div", { className: "flex flex-col gap-0 py-3", children: /* @__PURE__ */ b("div", { className: "flex items-end gap-2 px-3", children: [
5975
5975
  /* @__PURE__ */ d("div", { className: "shrink grow [&_button]:h-8 [&_button]:rounded", children: /* @__PURE__ */ d(
5976
5976
  ar,
5977
5977
  {
@@ -5987,7 +5987,7 @@ const zN = ({ actions: t }) => t ? /* @__PURE__ */ d("div", { className: "flex w
5987
5987
  )
5988
5988
  }
5989
5989
  ) }),
5990
- (e == null ? void 0 : e.field) && /* @__PURE__ */ d("div", { className: "pb-1", children: /* @__PURE__ */ d(
5990
+ (e == null ? void 0 : e.field) && /* @__PURE__ */ d(
5991
5991
  te,
5992
5992
  {
5993
5993
  hideLabel: !0,
@@ -5999,7 +5999,7 @@ const zN = ({ actions: t }) => t ? /* @__PURE__ */ d("div", { className: "flex w
5999
5999
  order: e.order === "asc" ? "desc" : "asc"
6000
6000
  })
6001
6001
  }
6002
- ) })
6002
+ )
6003
6003
  ] }) });
6004
6004
  }, jN = ({
6005
6005
  showSearchBox: t,
@@ -22476,7 +22476,7 @@ const v9 = (t, e, n) => {
22476
22476
  },
22477
22477
  "visualization"
22478
22478
  ),
22479
- y && !(i != null && i.hideSelector) && /* @__PURE__ */ d(
22479
+ y && !(i != null && i.hideSelector) && !(i.mandatory && Object.entries(i.groupBy).length < 2) && /* @__PURE__ */ d(
22480
22480
  Rv,
22481
22481
  {
22482
22482
  grouping: i,
package/dist/f0.d.ts CHANGED
@@ -2737,8 +2737,8 @@ declare global {
2737
2737
 
2738
2738
  declare module "@tiptap/core" {
2739
2739
  interface Commands<ReturnType> {
2740
- aiBlock: {
2741
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
2740
+ liveCompanion: {
2741
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
2742
2742
  };
2743
2743
  }
2744
2744
  }
@@ -2746,8 +2746,8 @@ declare module "@tiptap/core" {
2746
2746
 
2747
2747
  declare module "@tiptap/core" {
2748
2748
  interface Commands<ReturnType> {
2749
- liveCompanion: {
2750
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
2749
+ aiBlock: {
2750
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
2751
2751
  };
2752
2752
  }
2753
2753
  }
@@ -2762,11 +2762,6 @@ declare module "@tiptap/core" {
2762
2762
  }
2763
2763
 
2764
2764
 
2765
- declare namespace Calendar {
2766
- var displayName: string;
2767
- }
2768
-
2769
-
2770
2765
  declare module "@tiptap/core" {
2771
2766
  interface Commands<ReturnType> {
2772
2767
  moodTracker: {
@@ -2774,3 +2769,8 @@ declare module "@tiptap/core" {
2774
2769
  };
2775
2770
  }
2776
2771
  }
2772
+
2773
+
2774
+ declare namespace Calendar {
2775
+ var displayName: string;
2776
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.197.0",
3
+ "version": "1.197.1",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,