@factorialco/f0-react 9.0.0 → 9.1.0

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.
@@ -21235,16 +21235,6 @@ declare module "@tiptap/core" {
21235
21235
  }
21236
21236
 
21237
21237
 
21238
- declare module "@tiptap/core" {
21239
- interface Commands<ReturnType> {
21240
- aiBlock: {
21241
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21242
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21243
- };
21244
- }
21245
- }
21246
-
21247
-
21248
21238
  declare module "@tiptap/core" {
21249
21239
  interface Commands<ReturnType> {
21250
21240
  indent: {
@@ -21258,11 +21248,8 @@ declare module "@tiptap/core" {
21258
21248
 
21259
21249
  declare module "@tiptap/core" {
21260
21250
  interface Commands<ReturnType> {
21261
- enhanceHighlight: {
21262
- setEnhanceHighlight: (from: number, to: number, options?: {
21263
- placeholder?: string;
21264
- }) => ReturnType;
21265
- clearEnhanceHighlight: () => ReturnType;
21251
+ moodTracker: {
21252
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21266
21253
  };
21267
21254
  }
21268
21255
  }
@@ -21270,8 +21257,9 @@ declare module "@tiptap/core" {
21270
21257
 
21271
21258
  declare module "@tiptap/core" {
21272
21259
  interface Commands<ReturnType> {
21273
- moodTracker: {
21274
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21260
+ aiBlock: {
21261
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21262
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21275
21263
  };
21276
21264
  }
21277
21265
  }
@@ -21297,6 +21285,18 @@ declare module "@tiptap/core" {
21297
21285
  }
21298
21286
 
21299
21287
 
21288
+ declare module "@tiptap/core" {
21289
+ interface Commands<ReturnType> {
21290
+ enhanceHighlight: {
21291
+ setEnhanceHighlight: (from: number, to: number, options?: {
21292
+ placeholder?: string;
21293
+ }) => ReturnType;
21294
+ clearEnhanceHighlight: () => ReturnType;
21295
+ };
21296
+ }
21297
+ }
21298
+
21299
+
21300
21300
  declare namespace F0GraphNodeWrapperInner {
21301
21301
  var displayName: string;
21302
21302
  }
package/dist/f0.d.ts CHANGED
@@ -10712,7 +10712,8 @@ export declare interface F0DataChartReferenceLine {
10712
10712
  *
10713
10713
  * The bare `[x, y]` tuple is the terse form. The object form additionally
10714
10714
  * carries `label` — the point's identity (e.g. an employee or team name),
10715
- * shown as the tooltip header.
10715
+ * shown as the tooltip header — and an optional `avatar` drawn in place of
10716
+ * the dot.
10716
10717
  */
10717
10718
  export declare type F0DataChartScatterDataPoint = [number, number] | {
10718
10719
  /** Horizontal position, plotted on the value X axis */
@@ -10723,6 +10724,13 @@ export declare type F0DataChartScatterDataPoint = [number, number] | {
10723
10724
  label?: string;
10724
10725
  /** Override color for this individual point. Must be an F0 design token name. */
10725
10726
  color?: ChartColorToken;
10727
+ /**
10728
+ * Draw this avatar in place of the dot, e.g. the employee the point
10729
+ * stands for. It sits on a dot of the series color, so a color split
10730
+ * still reads. Rendered at the largest avatar size that fits
10731
+ * `pointSize`, and never below `xs` (20px).
10732
+ */
10733
+ avatar?: AvatarVariant;
10726
10734
  };
10727
10735
 
10728
10736
  /**
@@ -10738,7 +10746,10 @@ export declare interface F0DataChartScatterProps extends F0DataChartCommonProps,
10738
10746
  type: "scatter";
10739
10747
  /** One or more point groups. Multiple series render as a color split. */
10740
10748
  series: F0DataChartScatterSeries[];
10741
- /** Point diameter in pixels. @default 12 */
10749
+ /**
10750
+ * Point diameter in pixels. Points with an `avatar` use the largest avatar
10751
+ * size that fits it, and never go below 20px. @default 12
10752
+ */
10742
10753
  pointSize?: number;
10743
10754
  /**
10744
10755
  * Fit each axis to its data range instead of anchoring it at zero. Turn off
@@ -10792,7 +10803,8 @@ export declare interface F0DataChartScatterProps extends F0DataChartCommonProps,
10792
10803
  showPointLabels?: boolean;
10793
10804
  /**
10794
10805
  * Merge points that land on nearly the same spot into one dot. The merged dot
10795
- * prints no label; hovering it lists every point it holds. @default false
10806
+ * prints no label or avatar; hovering it lists every point it holds.
10807
+ * @default false
10796
10808
  */
10797
10809
  groupNearbyPoints?: boolean;
10798
10810
  /** Render `xAxisName`/`yAxisName` as axis titles, not only in the tooltip. @default false */
@@ -23049,16 +23061,6 @@ declare module "@tiptap/core" {
23049
23061
  }
23050
23062
 
23051
23063
 
23052
- declare module "@tiptap/core" {
23053
- interface Commands<ReturnType> {
23054
- aiBlock: {
23055
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
23056
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
23057
- };
23058
- }
23059
- }
23060
-
23061
-
23062
23064
  declare module "@tiptap/core" {
23063
23065
  interface Commands<ReturnType> {
23064
23066
  indent: {
@@ -23072,11 +23074,8 @@ declare module "@tiptap/core" {
23072
23074
 
23073
23075
  declare module "@tiptap/core" {
23074
23076
  interface Commands<ReturnType> {
23075
- enhanceHighlight: {
23076
- setEnhanceHighlight: (from: number, to: number, options?: {
23077
- placeholder?: string;
23078
- }) => ReturnType;
23079
- clearEnhanceHighlight: () => ReturnType;
23077
+ moodTracker: {
23078
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
23080
23079
  };
23081
23080
  }
23082
23081
  }
@@ -23084,8 +23083,9 @@ declare module "@tiptap/core" {
23084
23083
 
23085
23084
  declare module "@tiptap/core" {
23086
23085
  interface Commands<ReturnType> {
23087
- moodTracker: {
23088
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
23086
+ aiBlock: {
23087
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
23088
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
23089
23089
  };
23090
23090
  }
23091
23091
  }
@@ -23111,6 +23111,18 @@ declare module "@tiptap/core" {
23111
23111
  }
23112
23112
 
23113
23113
 
23114
+ declare module "@tiptap/core" {
23115
+ interface Commands<ReturnType> {
23116
+ enhanceHighlight: {
23117
+ setEnhanceHighlight: (from: number, to: number, options?: {
23118
+ placeholder?: string;
23119
+ }) => ReturnType;
23120
+ clearEnhanceHighlight: () => ReturnType;
23121
+ };
23122
+ }
23123
+ }
23124
+
23125
+
23114
23126
  declare namespace F0GraphNodeWrapperInner {
23115
23127
  var displayName: string;
23116
23128
  }