@factorialco/f0-react 2.25.0 → 2.26.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.
- package/dist/{F0CanvasPanel-DAJcyyFM.js → F0CanvasPanel-EHIkRGh1.js} +7387 -7389
- package/dist/ai.d.ts +7 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +12 -6
- package/dist/experimental.js +1366 -1424
- package/dist/f0.d.ts +64 -6
- package/dist/f0.js +10313 -10172
- package/dist/i18n-provider-defaults.d.ts +7 -5
- package/dist/i18n-provider-defaults.js +2 -0
- package/dist/{useChatHistory-D1pjDBvO.js → useChatHistory-BD1x2gsG.js} +1 -1
- package/dist/{useDataCollectionSource-CjRrXJC3.js → useDataCollectionSource-q6ZqmOeN.js} +3869 -3808
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
|
|
|
43
43
|
import type * as echarts_2 from 'echarts';
|
|
44
44
|
import { Editor } from '@tiptap/react';
|
|
45
45
|
import { EmployeeItemProps } from './types';
|
|
46
|
+
import { F0AccordionSkeletonProps } from './F0AccordionSkeleton';
|
|
46
47
|
import { F0AnalyticsDashboardProps as F0AnalyticsDashboardProps_2 } from './types';
|
|
47
48
|
import { F0AvatarCompanyProps as F0AvatarCompanyProps_2 } from './types';
|
|
48
49
|
import { F0AvatarDateProps } from './F0AvatarDate';
|
|
@@ -4086,7 +4087,9 @@ export declare const defaultTranslations: {
|
|
|
4086
4087
|
readonly paste: "Paste";
|
|
4087
4088
|
readonly close: "Close";
|
|
4088
4089
|
readonly collapse: "Collapse";
|
|
4090
|
+
readonly collapseItem: "Collapse {{title}}";
|
|
4089
4091
|
readonly expand: "Expand";
|
|
4092
|
+
readonly expandItem: "Expand {{title}}";
|
|
4090
4093
|
readonly showAll: "Show all";
|
|
4091
4094
|
readonly showLess: "Show less";
|
|
4092
4095
|
readonly seeMore: "See more";
|
|
@@ -5013,7 +5016,11 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
5013
5016
|
}) => void;
|
|
5014
5017
|
/**
|
|
5015
5018
|
* Returns a hint to display as an icon with tooltip inside the cell.
|
|
5016
|
-
* Use to warn the user when a value diverges from its formula-inferred value
|
|
5019
|
+
* Use to warn the user when a value diverges from its formula-inferred value,
|
|
5020
|
+
* or to provide extra context for non-editable / disabled cells (e.g. why a
|
|
5021
|
+
* value was inferred, who a row is backfilling, why editing is locked).
|
|
5022
|
+
*
|
|
5023
|
+
* Supported by all `editType` values, including `display-only` and `disabled`.
|
|
5017
5024
|
*
|
|
5018
5025
|
* Return `undefined` to hide the hint.
|
|
5019
5026
|
*
|
|
@@ -5214,6 +5221,46 @@ declare type ExtractVisualizationSettings<T> = T extends {
|
|
|
5214
5221
|
};
|
|
5215
5222
|
} ? S : never;
|
|
5216
5223
|
|
|
5224
|
+
/**
|
|
5225
|
+
* @experimental This is an experimental component, use it at your own risk.
|
|
5226
|
+
*/
|
|
5227
|
+
export declare const F0Accordion: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0AccordionProps & RefAttributes<HTMLDivElement>> & {
|
|
5228
|
+
Skeleton: ({ items, }: F0AccordionSkeletonProps) => JSX_2.Element;
|
|
5229
|
+
}>;
|
|
5230
|
+
|
|
5231
|
+
export declare interface F0AccordionItem {
|
|
5232
|
+
id: string;
|
|
5233
|
+
title: string;
|
|
5234
|
+
description: string;
|
|
5235
|
+
actions?: F0AccordionItemAction[];
|
|
5236
|
+
defaultOpen?: boolean;
|
|
5237
|
+
}
|
|
5238
|
+
|
|
5239
|
+
export declare type F0AccordionItemAction = F0AccordionItemSegmentedControlAction | F0AccordionItemDropdownAction;
|
|
5240
|
+
|
|
5241
|
+
export declare interface F0AccordionItemDropdownAction {
|
|
5242
|
+
type: "dropdown";
|
|
5243
|
+
ariaLabel: string;
|
|
5244
|
+
items: DropdownItem[];
|
|
5245
|
+
disabled?: boolean;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
export declare interface F0AccordionItemSegmentedControlAction {
|
|
5249
|
+
type: "segmentedControl";
|
|
5250
|
+
ariaLabel: string;
|
|
5251
|
+
items: F0SegmentedControlItem[];
|
|
5252
|
+
value?: string;
|
|
5253
|
+
onChange?: (value: string) => void;
|
|
5254
|
+
disabled?: boolean;
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
export declare interface F0AccordionProps extends WithDataTestIdProps, DataAttributes_2 {
|
|
5258
|
+
items: F0AccordionItem[];
|
|
5259
|
+
value?: string[];
|
|
5260
|
+
defaultValue?: string[];
|
|
5261
|
+
onValueChange?: (openIds: string[]) => void;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5217
5264
|
export declare const F0ActionBar: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0ActionBarProps & RefAttributes<F0ActionBarRef>>>;
|
|
5218
5265
|
|
|
5219
5266
|
declare interface F0ActionBarProps {
|
|
@@ -9105,6 +9152,17 @@ export declare interface F0SectionConfig {
|
|
|
9105
9152
|
action?: F0SectionAction;
|
|
9106
9153
|
}
|
|
9107
9154
|
|
|
9155
|
+
declare interface F0SegmentedControlItem {
|
|
9156
|
+
/** Unique value for this segment */
|
|
9157
|
+
value: string;
|
|
9158
|
+
/** Label displayed inside the segment */
|
|
9159
|
+
label: string;
|
|
9160
|
+
/** Optional icon shown before the label */
|
|
9161
|
+
icon?: IconType;
|
|
9162
|
+
/** Whether this specific segment is disabled */
|
|
9163
|
+
disabled?: boolean;
|
|
9164
|
+
}
|
|
9165
|
+
|
|
9108
9166
|
/**
|
|
9109
9167
|
* @experimental This is an experimental component use it at your own risk
|
|
9110
9168
|
*/
|
|
@@ -15026,11 +15084,6 @@ declare module "gridstack" {
|
|
|
15026
15084
|
}
|
|
15027
15085
|
|
|
15028
15086
|
|
|
15029
|
-
declare namespace Calendar {
|
|
15030
|
-
var displayName: string;
|
|
15031
|
-
}
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
15087
|
declare module "@tiptap/core" {
|
|
15035
15088
|
interface Commands<ReturnType> {
|
|
15036
15089
|
aiBlock: {
|
|
@@ -15080,6 +15133,11 @@ declare module "@tiptap/core" {
|
|
|
15080
15133
|
}
|
|
15081
15134
|
|
|
15082
15135
|
|
|
15136
|
+
declare namespace Calendar {
|
|
15137
|
+
var displayName: string;
|
|
15138
|
+
}
|
|
15139
|
+
|
|
15140
|
+
|
|
15083
15141
|
declare namespace F0GraphNodeWrapperInner {
|
|
15084
15142
|
var displayName: string;
|
|
15085
15143
|
}
|