@factorialco/f0-react 8.36.1 → 8.37.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.
- package/dist/{ChatPdfThumbnail-BbOPESdU.js → ChatPdfThumbnail-D17gaAZw.js} +1 -1
- package/dist/{ChatPostComposerDialog-Cv7VtLD6.js → ChatPostComposerDialog-Dzcwl3UT.js} +3 -3
- package/dist/{DocumentToolbar-CVrrJ4iA.js → DocumentToolbar-BF90Kcrb.js} +9 -9
- package/dist/{DocxViewer-AbtW-zX4.js → DocxViewer-DXUC2CUW.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BDqqztvk.js → F0AiProcessingOverlay-DTsO9rEl.js} +1 -1
- package/dist/{F0CanvasPanel-WVtVnJRZ.js → F0CanvasPanel-kbwLvapQ.js} +15672 -15669
- package/dist/{index-DqE_RHOm.js → F0DocumentViewer-Bk7ciWZW.js} +142 -149
- package/dist/{F0Map-DLKYcpUE.js → F0Map-B_XG6Txo.js} +4 -4
- package/dist/{F0VideoPlayer-D1jXuNEn.js → F0VideoPlayer-Cdq6rTqq.js} +48 -48
- package/dist/{MapProvider-Q8EU0u5y.js → MapProvider-DrUuwDLP.js} +13643 -13650
- package/dist/{SheetViewer-KR2QIyYj.js → SheetViewer-DgLdv4qf.js} +3 -3
- package/dist/{TextViewer-D28lLt_m.js → TextViewer-7qYfyanJ.js} +2 -2
- package/dist/ai.d.ts +34 -23
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +14 -14
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BSsHhEKt.js → experimental-B_Hvv6tU.js} +166 -165
- package/dist/experimental.d.ts +74 -69
- package/dist/experimental.js +63 -63
- package/dist/f0.d.ts +336 -106
- package/dist/f0.js +6788 -6781
- package/dist/i18n-provider-defaults.d.ts +14 -14
- package/dist/index-BGG-4WaL.js +4 -0
- package/dist/{index-C5FgdXF2.js → index-BQthngzU.js} +2 -2
- package/dist/index-CzPx-LpF.js +8 -0
- package/dist/{index-CuAmARkm.js → index-HEb5Ocnl.js} +3 -3
- package/dist/{index-P3wd7w_Q.js → index-QJVt3QQ2.js} +1 -1
- package/dist/pdfWorker-CX_u28dQ.js +13120 -0
- package/package.json +1 -1
- package/dist/index-B5m0OpRD.js +0 -4
- package/dist/pdfWorker-C2B0uWA2.js +0 -13120
- /package/dist/{index2.css → F0DocumentViewer.css} +0 -0
package/dist/f0.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AgentState } from '@livekit/components-react';
|
|
2
|
-
import { AlertAvatarProps as AlertAvatarProps_2 } from './F0AvatarAlert';
|
|
3
2
|
import { AlertTagCellValue } from './types/alertTag';
|
|
4
3
|
import { AlertTagCellValue as AlertTagCellValue_2 } from './f0';
|
|
5
4
|
import { AmountCellValue } from './types/amount';
|
|
@@ -10,11 +9,9 @@ import { AutoFill as AutoFill_2 } from 'react';
|
|
|
10
9
|
import { AvatarListCellValue } from './types/avatarList';
|
|
11
10
|
import { AvatarListCellValue as AvatarListCellValue_2 } from './f0';
|
|
12
11
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
13
|
-
import { AvatarProps } from './F0Avatar';
|
|
14
12
|
import { AvatarProps as AvatarProps_2 } from '@radix-ui/react-avatar';
|
|
15
13
|
import { BarSeriesCellValue } from './types/barSeries';
|
|
16
14
|
import { baseColors } from '@factorialco/f0-core';
|
|
17
|
-
import { BigNumberProps as BigNumberProps_2 } from './types';
|
|
18
15
|
import { BlockContentExtraProps } from './blocks/BlockContent';
|
|
19
16
|
import { BlockProps } from './blocks/Block';
|
|
20
17
|
import { CategoryBarChartCellValue } from './types/categoryBarChart';
|
|
@@ -33,51 +30,27 @@ import { Context } from 'react';
|
|
|
33
30
|
import { CountCellValue } from './types/count';
|
|
34
31
|
import { CountryCellValue } from './types/country';
|
|
35
32
|
import { CSSProperties } from 'react';
|
|
36
|
-
import { DashboardProps as DashboardProps_2 } from './Dashboard';
|
|
37
33
|
import { DateCellValue } from './types/date';
|
|
38
34
|
import { DateCellValue as DateCellValue_2 } from './f0';
|
|
39
35
|
import { DateFilterOptions } from './DateFilter/DateFilter';
|
|
40
36
|
import { default as default_2 } from 'react';
|
|
41
37
|
import { DeltaCellValue } from './types/delta';
|
|
38
|
+
import { Dispatch } from 'react';
|
|
42
39
|
import { DotTagCellValue } from './types/dotTag';
|
|
43
40
|
import { DotTagCellValue as DotTagCellValue_2 } from './f0';
|
|
44
41
|
import type * as echarts_2 from 'echarts';
|
|
45
42
|
import { EmployeeItemProps } from './types';
|
|
46
43
|
import { F0AccordionSkeletonProps } from './F0AccordionSkeleton';
|
|
47
|
-
import { F0AnalyticsDashboardProps as F0AnalyticsDashboardProps_2 } from './types';
|
|
48
44
|
import { F0AudioPlayerCardProps as F0AudioPlayerCardProps_2 } from './types';
|
|
49
|
-
import { F0AudioPlayerProps as F0AudioPlayerProps_2 } from './types';
|
|
50
|
-
import { F0AvatarCompanyProps as F0AvatarCompanyProps_2 } from './types';
|
|
51
|
-
import { F0AvatarDateProps } from './F0AvatarDate';
|
|
52
|
-
import { F0AvatarEmojiProps as F0AvatarEmojiProps_2 } from './F0AvatarEmoji';
|
|
53
|
-
import { F0AvatarIconProps as F0AvatarIconProps_2 } from './F0AvatarIcon';
|
|
54
|
-
import { F0AvatarListProps as F0AvatarListProps_2 } from './types';
|
|
55
|
-
import { F0AvatarPersonProps as F0AvatarPersonProps_2 } from './types';
|
|
56
|
-
import { F0AvatarTeamProps as F0AvatarTeamProps_2 } from './F0AvatarTeam';
|
|
57
|
-
import { F0DataChartProps as F0DataChartProps_2 } from './types';
|
|
58
|
-
import { F0DialogInternalProps } from './internal-types';
|
|
59
|
-
import { F0DrawerProps } from './F0Drawer';
|
|
60
|
-
import { F0DurationInputProps as F0DurationInputProps_2 } from './types';
|
|
61
45
|
import { F0FormDefinition as F0FormDefinition_2 } from './f0';
|
|
62
46
|
import { F0FormDefinitionPerSection as F0FormDefinitionPerSection_2 } from './f0';
|
|
63
47
|
import { F0FormDefinitionSingleSchema as F0FormDefinitionSingleSchema_2 } from './f0';
|
|
64
|
-
import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
|
|
65
|
-
import { F0SelectProps as F0SelectProps_2 } from './types';
|
|
66
|
-
import { F0SliderProps as F0SliderProps_2 } from './types';
|
|
67
48
|
import { F0SliderSkeletonProps } from './F0SliderSkeleton';
|
|
68
|
-
import { F0TagBalanceProps } from './types';
|
|
69
|
-
import { F0TagCompanyProps } from './types';
|
|
70
|
-
import { F0TagListProps } from './types';
|
|
71
|
-
import { F0TagPersonProps as F0TagPersonProps_2 } from './types';
|
|
72
|
-
import { F0TagRawProps } from './types';
|
|
73
|
-
import { F0TagStatusProps } from './types';
|
|
74
|
-
import { F0TagTeamProps } from './types';
|
|
75
49
|
import { F0TimelineRowProps as F0TimelineRowProps_2 } from './types';
|
|
76
50
|
import { f1Colors } from '@factorialco/f0-core';
|
|
77
51
|
import { FC } from 'react';
|
|
78
52
|
import { FileCellValue } from './types/file';
|
|
79
53
|
import { FileCellValue as FileCellValue_2 } from './f0';
|
|
80
|
-
import { FiltersDefinition as FiltersDefinition_2 } from './f0';
|
|
81
54
|
import { FolderCellValue } from './types/folder';
|
|
82
55
|
import { FolderCellValue as FolderCellValue_2 } from './f0';
|
|
83
56
|
import { ForwardedRef } from 'react';
|
|
@@ -123,7 +96,6 @@ import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
|
123
96
|
import { ProgressBarCellValue } from './types/progressBar';
|
|
124
97
|
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './f0';
|
|
125
98
|
import { ProgressSeriesCellValue } from './types/progressSeries';
|
|
126
|
-
import { Props as Props_2 } from './types';
|
|
127
99
|
import { RadarChartProps } from './RadarChart';
|
|
128
100
|
import * as React_2 from 'react';
|
|
129
101
|
import { ReactElement } from 'react';
|
|
@@ -150,9 +122,7 @@ import { TagListCellValue as TagListCellValue_2 } from './f0';
|
|
|
150
122
|
import { TagListProps as TagListProps_2 } from './f0';
|
|
151
123
|
import { TagRawProps as TagRawProps_2 } from './f0';
|
|
152
124
|
import { TagStatusProps as TagStatusProps_2 } from './f0';
|
|
153
|
-
import { TagType as TagType_2 } from './
|
|
154
|
-
import { TagType as TagType_3 } from './f0';
|
|
155
|
-
import { TagVariant as TagVariant_2 } from './F0Tag';
|
|
125
|
+
import { TagType as TagType_2 } from './f0';
|
|
156
126
|
import { TeamCellValue } from './types/team';
|
|
157
127
|
import { TeamCellValue as TeamCellValue_2 } from './f0';
|
|
158
128
|
import { TeamItemProps } from './types';
|
|
@@ -169,7 +139,6 @@ import { WithDataTestIdReturnType as WithDataTestIdReturnType_4 } from './f0';
|
|
|
169
139
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_5 } from './f0';
|
|
170
140
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_6 } from './f0';
|
|
171
141
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_7 } from './f0';
|
|
172
|
-
import { WithDataTestIdReturnType as WithDataTestIdReturnType_8 } from './f0';
|
|
173
142
|
import { z } from 'zod';
|
|
174
143
|
import { ZodEffects } from 'zod';
|
|
175
144
|
import { ZodErrorMap } from 'zod';
|
|
@@ -1646,6 +1615,19 @@ export declare type AvatarListSize = (typeof avatarListSizes)[number];
|
|
|
1646
1615
|
|
|
1647
1616
|
declare const avatarListSizes: readonly ["xs", "sm", "md"];
|
|
1648
1617
|
|
|
1618
|
+
declare type AvatarProps = {
|
|
1619
|
+
avatar: AvatarVariant_2;
|
|
1620
|
+
size?: AvatarSize;
|
|
1621
|
+
dataTestId?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* What the viewer can do from the avatar, e.g. change or remove the
|
|
1624
|
+
* picture. One action renders as a button, several as a menu. Meant for
|
|
1625
|
+
* person, team and company avatars at `lg` and above, where the 24px button
|
|
1626
|
+
* fits.
|
|
1627
|
+
*/
|
|
1628
|
+
actions?: AvatarAction[];
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1649
1631
|
declare type AvatarSize = (typeof avatarSizes)[number];
|
|
1650
1632
|
|
|
1651
1633
|
declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
@@ -2118,11 +2100,11 @@ declare const boxVariants: (props?: ({
|
|
|
2118
2100
|
borderBottom?: "default" | "none" | "thick" | undefined;
|
|
2119
2101
|
borderLeft?: "default" | "none" | "thick" | undefined;
|
|
2120
2102
|
borderRight?: "default" | "none" | "thick" | undefined;
|
|
2121
|
-
borderRadius?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "
|
|
2122
|
-
borderRadiusTopLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "
|
|
2123
|
-
borderRadiusTopRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "
|
|
2124
|
-
borderRadiusBottomLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "
|
|
2125
|
-
borderRadiusBottomRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "
|
|
2103
|
+
borderRadius?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2104
|
+
borderRadiusTopLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2105
|
+
borderRadiusTopRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2106
|
+
borderRadiusBottomLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2107
|
+
borderRadiusBottomRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2126
2108
|
borderStyle?: "none" | "dashed" | "dotted" | "double" | "solid" | undefined;
|
|
2127
2109
|
background?: "info" | "bold" | "secondary" | "inverse" | "critical" | "accent" | "warning" | "positive" | "promote" | "selected" | "critical-bold" | "transparent" | "overlay" | "primary" | "tertiary" | "inverse-secondary" | "accent-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-secondary" | "selected-bold" | undefined;
|
|
2128
2110
|
width?: SizeToken_2 | undefined;
|
|
@@ -4060,7 +4042,7 @@ declare interface CustomFieldRenderPropsBase {
|
|
|
4060
4042
|
customFieldName?: string;
|
|
4061
4043
|
}
|
|
4062
4044
|
|
|
4063
|
-
export declare const Dashboard: WithDataTestIdReturnType_3<ComponentType<
|
|
4045
|
+
export declare const Dashboard: WithDataTestIdReturnType_3<ComponentType<DashboardProps> & PageLayoutGroupComponent_2>;
|
|
4064
4046
|
|
|
4065
4047
|
/**
|
|
4066
4048
|
* Callbacks for persisting dashboards externally (beyond chat history).
|
|
@@ -4676,9 +4658,9 @@ declare const DataList: ForwardRefExoticComponent<DataListProps & RefAttributes<
|
|
|
4676
4658
|
BalanceTagItem: ForwardRefExoticComponent<TagBalanceProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4677
4659
|
StatusTagItem: ForwardRefExoticComponent<TagStatusProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4678
4660
|
RawTagItem: ForwardRefExoticComponent<TagRawProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4679
|
-
TagListItem: <T extends
|
|
4661
|
+
TagListItem: <T extends TagType_2>(props: TagListProps_2<T> & {
|
|
4680
4662
|
ref?: Ref<HTMLLIElement>;
|
|
4681
|
-
}) => ReturnType<(<T_1 extends
|
|
4663
|
+
}) => ReturnType<(<T_1 extends TagType_2>(props: TagListProps_2<T_1>, ref: ForwardedRef<HTMLLIElement>) => JSX_2.Element)>;
|
|
4682
4664
|
};
|
|
4683
4665
|
|
|
4684
4666
|
declare type DataListProps = {
|
|
@@ -6742,10 +6724,49 @@ declare type DialogAlikeActionsProps = {
|
|
|
6742
6724
|
secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6743
6725
|
};
|
|
6744
6726
|
|
|
6727
|
+
declare type DialogAlikeInternalProps = {
|
|
6728
|
+
isOpen: boolean;
|
|
6729
|
+
onClose: () => void;
|
|
6730
|
+
size?: DialogAlikeSize;
|
|
6731
|
+
primaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6732
|
+
secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6733
|
+
title?: string;
|
|
6734
|
+
description?: string;
|
|
6735
|
+
/**
|
|
6736
|
+
* Whether the dialog should be modal (only closable by clickiong the actions).
|
|
6737
|
+
* @default false
|
|
6738
|
+
*/
|
|
6739
|
+
modal?: boolean;
|
|
6740
|
+
/* Excluded from this release type: disableClose */
|
|
6741
|
+
module?: DialogModule;
|
|
6742
|
+
otherActions?: HeaderProps_2["otherActions"];
|
|
6743
|
+
children: ReactNode;
|
|
6744
|
+
disableContentPadding?: boolean;
|
|
6745
|
+
/**
|
|
6746
|
+
* Override the DOM element the dialog is portaled into. By default center
|
|
6747
|
+
* dialogs portal to the top-level `#f0-overlay-root` (escaping app stacking
|
|
6748
|
+
* contexts such as the ApplicationFrame's `isolate` layer) and side drawers
|
|
6749
|
+
* to `#content`. Pass an element, or `null` to portal to `document.body`.
|
|
6750
|
+
*/
|
|
6751
|
+
container?: HTMLElement | null;
|
|
6752
|
+
} & (DialogAlikeTabsProps | {
|
|
6753
|
+
[key in keyof DialogAlikeTabsProps]?: undefined;
|
|
6754
|
+
});
|
|
6755
|
+
|
|
6745
6756
|
declare type DialogAlikePosition = (typeof dialogAlikePositions)[number];
|
|
6746
6757
|
|
|
6747
6758
|
declare const dialogAlikePositions: readonly ["center", "left", "right", "fullscreen"];
|
|
6748
6759
|
|
|
6760
|
+
declare type DialogAlikeSize = (typeof dialogAlikeSizes)[number];
|
|
6761
|
+
|
|
6762
|
+
declare const dialogAlikeSizes: readonly ["sm", "md", "lg", "xl", "fullscreen"];
|
|
6763
|
+
|
|
6764
|
+
declare type DialogAlikeTabsProps = {
|
|
6765
|
+
tabs: TabsProps["tabs"];
|
|
6766
|
+
activeTabId?: TabsProps["activeTabId"];
|
|
6767
|
+
setActiveTabId?: TabsProps["setActiveTabId"];
|
|
6768
|
+
};
|
|
6769
|
+
|
|
6749
6770
|
export declare type DialogControls = {
|
|
6750
6771
|
kind: "resource";
|
|
6751
6772
|
/**
|
|
@@ -6947,6 +6968,19 @@ export declare type DrawerDefinition = {
|
|
|
6947
6968
|
module?: DialogModule;
|
|
6948
6969
|
};
|
|
6949
6970
|
|
|
6971
|
+
declare type DrawerInternalProps = Omit<DialogAlikeInternalProps, "size"> & {
|
|
6972
|
+
size?: DrawerSize;
|
|
6973
|
+
position?: F0DrawerPosition;
|
|
6974
|
+
/**
|
|
6975
|
+
* Called with the drawer content's width in px on mount and whenever it
|
|
6976
|
+
* changes, and with `0` when it closes. Use it to reserve space for the open
|
|
6977
|
+
* drawer — e.g. offsetting a graph so a node isn't centered behind it —
|
|
6978
|
+
* instead of hard-coding the width. The drawer slides in via a transform, not
|
|
6979
|
+
* a width animation, so the reported value is final from the first frame.
|
|
6980
|
+
*/
|
|
6981
|
+
onWidthChange?: (width: number) => void;
|
|
6982
|
+
};
|
|
6983
|
+
|
|
6950
6984
|
declare const drawerPositions: readonly ["left", "right"];
|
|
6951
6985
|
|
|
6952
6986
|
/**
|
|
@@ -6972,6 +7006,53 @@ declare type DropdownContentVariant = (typeof dropdownContentVariants)[number];
|
|
|
6972
7006
|
|
|
6973
7007
|
declare const dropdownContentVariants: readonly ["expanded", "reduced"];
|
|
6974
7008
|
|
|
7009
|
+
declare type DropdownInternalProps = {
|
|
7010
|
+
items: DropdownItem[];
|
|
7011
|
+
icon?: IconType;
|
|
7012
|
+
size?: F0ButtonProps["size"];
|
|
7013
|
+
children?: default_2.ReactNode;
|
|
7014
|
+
align?: "start" | "end" | "center";
|
|
7015
|
+
alignOffset?: number;
|
|
7016
|
+
disableExitAnimation?: boolean;
|
|
7017
|
+
open?: boolean;
|
|
7018
|
+
onOpenChange?: (open: boolean) => void;
|
|
7019
|
+
label?: string;
|
|
7020
|
+
/**
|
|
7021
|
+
* Whether the dropdown trigger is disabled. When true, the menu cannot be
|
|
7022
|
+
* opened via click, keyboard, or focus and the trigger receives
|
|
7023
|
+
* `aria-disabled="true"`. When a custom trigger is provided via `children`,
|
|
7024
|
+
* `disabled` is forwarded to it via `cloneElement` if it is a single React
|
|
7025
|
+
* element; consumer-supplied `disabled` / `aria-disabled` always win.
|
|
7026
|
+
* @default false
|
|
7027
|
+
*/
|
|
7028
|
+
disabled?: boolean;
|
|
7029
|
+
/**
|
|
7030
|
+
* Where the menu is portalled. Defaults to the document body; pass the
|
|
7031
|
+
* element of a surrounding modal layer — a dialog's own content node, which
|
|
7032
|
+
* it publishes as `portalContainer` — so that layer's focus trap CONTAINS
|
|
7033
|
+
* the menu instead of fighting it. Two traps over the same document push
|
|
7034
|
+
* focus back and forth until the call stack gives out.
|
|
7035
|
+
*/
|
|
7036
|
+
container?: HTMLElement | null;
|
|
7037
|
+
/**
|
|
7038
|
+
* Caps the width of the menu content.
|
|
7039
|
+
* - "expanded": (default) sizes to content, same as today.
|
|
7040
|
+
* - "reduced": caps the menu at 300px, e.g. when an item's `description`
|
|
7041
|
+
* is long enough to otherwise stretch the menu.
|
|
7042
|
+
* @default "expanded"
|
|
7043
|
+
*/
|
|
7044
|
+
contentVariant?: DropdownContentVariant;
|
|
7045
|
+
/**
|
|
7046
|
+
* Whether the open menu locks page scroll and blocks pointer events outside
|
|
7047
|
+
* it. Pass `false` when a row can open a dialog while the menu stays up — a
|
|
7048
|
+
* switch row, say: Radix does not close a lower layer when a higher one
|
|
7049
|
+
* opens, so a modal menu left under a dialog keeps `body` locked after the
|
|
7050
|
+
* dialog is gone.
|
|
7051
|
+
* @default true
|
|
7052
|
+
*/
|
|
7053
|
+
modal?: boolean;
|
|
7054
|
+
} & DataAttributes_2;
|
|
7055
|
+
|
|
6975
7056
|
export declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel | DropdownItemSubmenu | DropdownItemSwitch;
|
|
6976
7057
|
|
|
6977
7058
|
declare type DropdownItemLabel = {
|
|
@@ -8257,7 +8338,7 @@ export declare type F0AiInsightCardProps = {
|
|
|
8257
8338
|
onAskOne?: () => void;
|
|
8258
8339
|
} & AiInsightCardContent;
|
|
8259
8340
|
|
|
8260
|
-
declare type F0AiInsightCardPublicProps = Omit<CardInternalProps_2, (typeof
|
|
8341
|
+
declare type F0AiInsightCardPublicProps = Omit<CardInternalProps_2, (typeof privateProps_7)[number]>;
|
|
8261
8342
|
|
|
8262
8343
|
export declare class F0AiMask {
|
|
8263
8344
|
readonly element: HTMLElement;
|
|
@@ -8512,7 +8593,7 @@ export declare interface F0AlertProps {
|
|
|
8512
8593
|
* @experimental This is an experimental component use it at your own risk
|
|
8513
8594
|
*/
|
|
8514
8595
|
export declare const F0AnalyticsDashboard: {
|
|
8515
|
-
<Filters extends
|
|
8596
|
+
<Filters extends FiltersDefinition = FiltersDefinition>({ filters, presets, defaultFilters, filtersValue, onFiltersChange, items, itemFilters, editMode, readOnly, onLayoutChange, enableExport, exportFilename, onExportReady, resetKey, onTransformChart, onAskAi, onAskAiTarget, navigationFilters, filtersLoading, }: F0AnalyticsDashboardProps<Filters>): JSX_2.Element;
|
|
8516
8597
|
displayName: string;
|
|
8517
8598
|
};
|
|
8518
8599
|
|
|
@@ -8726,7 +8807,7 @@ declare type F0AssistantMessageExtraProps = {
|
|
|
8726
8807
|
/**
|
|
8727
8808
|
* @experimental This is an experimental component, use it at your own risk.
|
|
8728
8809
|
*/
|
|
8729
|
-
export declare const F0AudioPlayer: WithDataTestIdReturnType_3<ForwardRefExoticComponent<
|
|
8810
|
+
export declare const F0AudioPlayer: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0AudioPlayerProps & RefAttributes<HTMLDivElement>>>;
|
|
8730
8811
|
|
|
8731
8812
|
/**
|
|
8732
8813
|
* @experimental This is an experimental component, use it at your own risk.
|
|
@@ -8909,10 +8990,10 @@ declare const F0AuraVoiceAnimationVariants: (props?: ({
|
|
|
8909
8990
|
|
|
8910
8991
|
export declare const F0Avatar: WithDataTestIdReturnType_4<({ actions, ...props }: AvatarProps) => ReactNode>;
|
|
8911
8992
|
|
|
8912
|
-
export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
8993
|
+
export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps) => JSX_2.Element>;
|
|
8913
8994
|
|
|
8914
8995
|
export declare const F0AvatarCompany: WithDataTestIdReturnType_4< {
|
|
8915
|
-
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }:
|
|
8996
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarCompanyProps): JSX_2.Element;
|
|
8916
8997
|
displayName: string;
|
|
8917
8998
|
}>;
|
|
8918
8999
|
|
|
@@ -8925,8 +9006,12 @@ export declare type F0AvatarCompanyProps = {
|
|
|
8925
9006
|
|
|
8926
9007
|
export declare const F0AvatarDate: WithDataTestIdReturnType_4<({ date, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarDateProps) => JSX_2.Element>;
|
|
8927
9008
|
|
|
9009
|
+
declare type F0AvatarDateProps = {
|
|
9010
|
+
date: Date;
|
|
9011
|
+
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
9012
|
+
|
|
8928
9013
|
export declare const F0AvatarEmoji: WithDataTestIdReturnType_4< {
|
|
8929
|
-
({ emoji, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
9014
|
+
({ emoji, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarEmojiProps): JSX_2.Element;
|
|
8930
9015
|
displayName: string;
|
|
8931
9016
|
}>;
|
|
8932
9017
|
|
|
@@ -8958,7 +9043,7 @@ declare type F0AvatarFlagProps = {
|
|
|
8958
9043
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
8959
9044
|
|
|
8960
9045
|
export declare const F0AvatarIcon: WithDataTestIdReturnType_4< {
|
|
8961
|
-
({ icon, size, state, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
9046
|
+
({ icon, size, state, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarIconProps): JSX_2.Element;
|
|
8962
9047
|
displayName: string;
|
|
8963
9048
|
}>;
|
|
8964
9049
|
|
|
@@ -8969,7 +9054,7 @@ export declare type F0AvatarIconProps = {
|
|
|
8969
9054
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
8970
9055
|
|
|
8971
9056
|
export declare const F0AvatarList: WithDataTestIdReturnType_4< {
|
|
8972
|
-
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll: _tooltipScroll, layout: _layout, }:
|
|
9057
|
+
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll: _tooltipScroll, layout: _layout, }: F0AvatarListProps): JSX_2.Element;
|
|
8973
9058
|
displayName: string;
|
|
8974
9059
|
}>;
|
|
8975
9060
|
|
|
@@ -9057,20 +9142,20 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
9057
9142
|
avatars: (Omit<FileAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
|
|
9058
9143
|
};
|
|
9059
9144
|
|
|
9060
|
-
export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof
|
|
9145
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof F0AvatarModuleBase>;
|
|
9061
9146
|
|
|
9062
9147
|
/**
|
|
9063
9148
|
* Module avatar
|
|
9064
9149
|
* @description A component that displays a module avatar
|
|
9065
9150
|
*/
|
|
9066
|
-
declare function
|
|
9151
|
+
declare function F0AvatarModuleBase({ size, module, ...props }: F0AvatarModuleProps): JSX_2.Element;
|
|
9067
9152
|
|
|
9068
9153
|
export declare type F0AvatarModuleProps = VariantProps<typeof moduleAvatarVariants> & {
|
|
9069
9154
|
module: ModuleId;
|
|
9070
9155
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
9071
9156
|
|
|
9072
9157
|
export declare const F0AvatarPerson: WithDataTestIdReturnType_4< {
|
|
9073
|
-
({ firstName, lastName, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, deactivated, pending, }:
|
|
9158
|
+
({ firstName, lastName, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, deactivated, pending, }: F0AvatarPersonProps): JSX_2.Element;
|
|
9074
9159
|
displayName: string;
|
|
9075
9160
|
}>;
|
|
9076
9161
|
|
|
@@ -9114,7 +9199,7 @@ export declare type F0AvatarPersonProps = {
|
|
|
9114
9199
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
9115
9200
|
|
|
9116
9201
|
export declare const F0AvatarTeam: WithDataTestIdReturnType_4< {
|
|
9117
|
-
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }:
|
|
9202
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarTeamProps): JSX_2.Element;
|
|
9118
9203
|
displayName: string;
|
|
9119
9204
|
}>;
|
|
9120
9205
|
|
|
@@ -9303,7 +9388,7 @@ declare type F0BaseFieldRenderIfFunction = (context: {
|
|
|
9303
9388
|
declare type F0BaseFieldRenderIfProp = RenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
9304
9389
|
|
|
9305
9390
|
export declare const F0BigNumber: WithDataTestIdReturnType_3< {
|
|
9306
|
-
({ label, ...props }:
|
|
9391
|
+
({ label, ...props }: BigNumberProps): JSX_2.Element;
|
|
9307
9392
|
displayName: string;
|
|
9308
9393
|
} & {
|
|
9309
9394
|
Skeleton: () => JSX_2.Element;
|
|
@@ -9361,7 +9446,7 @@ export declare const F0Button: WithDataTestIdReturnType_3<ForwardRefExoticCompon
|
|
|
9361
9446
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
9362
9447
|
} & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>;
|
|
9363
9448
|
|
|
9364
|
-
export declare const F0ButtonDropdown:
|
|
9449
|
+
export declare const F0ButtonDropdown: WithDataTestIdReturnType_3<(props: F0ButtonDropdownProps) => JSX_2.Element>;
|
|
9365
9450
|
|
|
9366
9451
|
declare type F0ButtonDropdownBaseProps<T = string> = {
|
|
9367
9452
|
/**
|
|
@@ -9959,7 +10044,7 @@ declare type F0CustomFieldConfigWithConfig<TValue = unknown, TConfig = unknown>
|
|
|
9959
10044
|
/**
|
|
9960
10045
|
* @experimental This is an experimental component use it at your own risk
|
|
9961
10046
|
*/
|
|
9962
|
-
export declare const F0DataChart: (props:
|
|
10047
|
+
export declare const F0DataChart: (props: F0DataChartProps) => JSX_2.Element;
|
|
9963
10048
|
|
|
9964
10049
|
/**
|
|
9965
10050
|
* A single data point in a bar chart series.
|
|
@@ -10819,14 +10904,14 @@ export declare type F0DateFieldConfig = F0BaseConfig & F0DateConfig & {
|
|
|
10819
10904
|
*/
|
|
10820
10905
|
declare type F0DateOrDateTimeFieldConfig = F0DateFieldConfig | F0TimeFieldConfig | F0DateTimeFieldConfig;
|
|
10821
10906
|
|
|
10822
|
-
export declare const F0DatePicker: WithDataTestIdReturnType_3<typeof
|
|
10907
|
+
export declare const F0DatePicker: WithDataTestIdReturnType_3<typeof F0DatePickerBase>;
|
|
10823
10908
|
|
|
10824
|
-
declare function
|
|
10909
|
+
declare function F0DatePickerBase({ onChange, value, presets, granularities, minDate, maxDate, open, showIcon, displayFormat, selectOnCellOnly, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
10825
10910
|
|
|
10826
|
-
export declare const F0DatePickerInline: WithDataTestIdReturnType_3<typeof
|
|
10911
|
+
export declare const F0DatePickerInline: WithDataTestIdReturnType_3<typeof F0DatePickerInlineBase>;
|
|
10827
10912
|
|
|
10828
10913
|
/** Renders the date as text at rest and the public date picker while editing. */
|
|
10829
|
-
declare function
|
|
10914
|
+
declare function F0DatePickerInlineBase({ editing, onDismiss, ...props }: F0DatePickerInlineProps): JSX_2.Element;
|
|
10830
10915
|
|
|
10831
10916
|
export declare type F0DatePickerInlineDismissReason = (typeof datePickerInlineDismissReasons)[number];
|
|
10832
10917
|
|
|
@@ -10997,11 +11082,110 @@ declare type F0DialogContextType = {
|
|
|
10997
11082
|
portalContainer: HTMLDivElement | null;
|
|
10998
11083
|
};
|
|
10999
11084
|
|
|
11085
|
+
declare type F0DialogHeaderProps = {
|
|
11086
|
+
title?: string;
|
|
11087
|
+
description?: string;
|
|
11088
|
+
module?: {
|
|
11089
|
+
id: ModuleId;
|
|
11090
|
+
label: string;
|
|
11091
|
+
href: string;
|
|
11092
|
+
};
|
|
11093
|
+
otherActions?: DropdownInternalProps["items"];
|
|
11094
|
+
navigation?: NavigationProps;
|
|
11095
|
+
resourceHeader?: F0ResourceHeaderProps;
|
|
11096
|
+
controls?: DialogControls;
|
|
11097
|
+
headerStatus?: string;
|
|
11098
|
+
/** See {@link F0DialogInternalProps.dismissable} — hides the close button. */
|
|
11099
|
+
dismissable?: boolean;
|
|
11100
|
+
/** See {@link F0DialogInternalProps.inlineTabs}. */
|
|
11101
|
+
inlineTabs?: boolean;
|
|
11102
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
11103
|
+
|
|
11104
|
+
declare type F0DialogInternalProps = {
|
|
11105
|
+
isOpen: boolean;
|
|
11106
|
+
onClose: () => void;
|
|
11107
|
+
/**
|
|
11108
|
+
* Whether the reader can walk away. `false` removes the close button and
|
|
11109
|
+
* stops Escape and a click outside from closing — a forced choice, where the
|
|
11110
|
+
* dialog's own actions are the only way out.
|
|
11111
|
+
*
|
|
11112
|
+
* Use it only when leaving would be worse than being trapped: a decision the
|
|
11113
|
+
* product genuinely cannot proceed without. A dialog nobody can dismiss is a
|
|
11114
|
+
* dead end for anyone who does not understand it.
|
|
11115
|
+
* @default true
|
|
11116
|
+
*/
|
|
11117
|
+
dismissable?: boolean;
|
|
11118
|
+
/**
|
|
11119
|
+
* Whether pressing OUTSIDE the dialog closes it. Escape and the close button
|
|
11120
|
+
* are unaffected — this is the narrow version of {@link dismissable}, which
|
|
11121
|
+
* takes all three away at once.
|
|
11122
|
+
*
|
|
11123
|
+
* Turn it off for a SIDE PANEL that sits beside something the reader is meant
|
|
11124
|
+
* to keep using. A left/right dialog is already non-modal — no overlay, no
|
|
11125
|
+
* focus trap — so the surface next to it is live; but Radix still treats a
|
|
11126
|
+
* click there as "dismiss", which means using the thing beside the panel
|
|
11127
|
+
* closes the panel. That is the case this exists for: a post open next to an
|
|
11128
|
+
* open chat.
|
|
11129
|
+
*
|
|
11130
|
+
* Leave it on (the default) for an ordinary drawer, where clicking away IS
|
|
11131
|
+
* how you close it.
|
|
11132
|
+
* @default true
|
|
11133
|
+
*/
|
|
11134
|
+
dismissOnInteractOutside?: boolean;
|
|
11135
|
+
asBottomSheetInMobile?: boolean;
|
|
11136
|
+
position?: DialogPosition;
|
|
11137
|
+
width?: DialogWidth;
|
|
11138
|
+
primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
|
|
11139
|
+
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
11140
|
+
title?: string;
|
|
11141
|
+
description?: string;
|
|
11142
|
+
module?: F0DialogHeaderProps["module"];
|
|
11143
|
+
otherActions?: F0DialogHeaderProps["otherActions"];
|
|
11144
|
+
navigation?: F0DialogHeaderProps["navigation"];
|
|
11145
|
+
resourceHeader?: F0DialogHeaderProps["resourceHeader"];
|
|
11146
|
+
controls?: F0DialogHeaderProps["controls"];
|
|
11147
|
+
/**
|
|
11148
|
+
* A short reading beside the close button — "3 of 11". Where the dialog says
|
|
11149
|
+
* WHICH of several things it is currently showing.
|
|
11150
|
+
*
|
|
11151
|
+
* Not `navigation`: that draws its own arrows in the header. This is the label
|
|
11152
|
+
* alone, for a dialog whose arrows are somewhere else (`sideControls`).
|
|
11153
|
+
*/
|
|
11154
|
+
headerStatus?: F0DialogHeaderProps["headerStatus"];
|
|
11155
|
+
/**
|
|
11156
|
+
* Controls flanking the panel — see {@link F0DialogSideControls}. On a phone
|
|
11157
|
+
* (where the dialog is a bottom sheet and there is no room beside it) they move
|
|
11158
|
+
* ONTO the panel's own edges instead, which is where a gallery puts them.
|
|
11159
|
+
*/
|
|
11160
|
+
sideControls?: F0DialogSideControls;
|
|
11161
|
+
children: ReactNode;
|
|
11162
|
+
disableContentPadding?: boolean;
|
|
11163
|
+
container?: HTMLElement | null;
|
|
11164
|
+
/**
|
|
11165
|
+
* Seat the tab strip IN the header row, beside the close button, instead of
|
|
11166
|
+
* on its own row beneath it.
|
|
11167
|
+
*
|
|
11168
|
+
* For a dialog whose tabs ARE its title — where the strip is the only thing
|
|
11169
|
+
* naming what the reader is looking at, so a row of its own would be a band
|
|
11170
|
+
* of empty space above it. A dialog that also shows a title, a module or a
|
|
11171
|
+
* resource header keeps the strip below (the default), where it reads as a
|
|
11172
|
+
* second level under the name rather than competing with it.
|
|
11173
|
+
* @default false
|
|
11174
|
+
*/
|
|
11175
|
+
inlineTabs?: boolean;
|
|
11176
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
11177
|
+
|
|
11000
11178
|
export declare type F0DialogPrimaryAction = {
|
|
11001
11179
|
label: string;
|
|
11002
11180
|
icon?: IconType;
|
|
11003
11181
|
iconPosition?: "left" | "right";
|
|
11004
11182
|
onClick: () => void | Promise<void>;
|
|
11183
|
+
/**
|
|
11184
|
+
* `critical` styles the button as destructive, for actions such as delete
|
|
11185
|
+
* that cannot be undone.
|
|
11186
|
+
* @default "default"
|
|
11187
|
+
*/
|
|
11188
|
+
variant?: "default" | "critical";
|
|
11005
11189
|
disabled?: boolean;
|
|
11006
11190
|
/**
|
|
11007
11191
|
* Tooltip shown on hover while the action is `disabled` — use it to explain
|
|
@@ -11040,6 +11224,21 @@ export declare type F0DialogSecondaryAction = {
|
|
|
11040
11224
|
|
|
11041
11225
|
export declare type F0DialogSecondaryActionItem = F0DialogActionItem;
|
|
11042
11226
|
|
|
11227
|
+
/**
|
|
11228
|
+
* Controls FLANKING the panel rather than inside it — the affordance for a
|
|
11229
|
+
* dialog whose content can be changed without closing it (see
|
|
11230
|
+
* `F0CarouselDialog`).
|
|
11231
|
+
*
|
|
11232
|
+
* They are rendered INSIDE the Radix content, so they are inside the focus trap
|
|
11233
|
+
* and reachable by keyboard, and merely positioned outside its box. Anything
|
|
11234
|
+
* portalled next to the dialog instead would be `aria-hidden` and inert, which
|
|
11235
|
+
* is exactly the trap a modal is supposed to set.
|
|
11236
|
+
*/
|
|
11237
|
+
declare type F0DialogSideControls = {
|
|
11238
|
+
previous?: ReactNode;
|
|
11239
|
+
next?: ReactNode;
|
|
11240
|
+
};
|
|
11241
|
+
|
|
11043
11242
|
declare type F0DialogSize = (typeof dialogSizes)[number];
|
|
11044
11243
|
|
|
11045
11244
|
/**
|
|
@@ -11131,6 +11330,8 @@ export declare type F0DrawerActionsProps = DialogAlikeActionsProps;
|
|
|
11131
11330
|
|
|
11132
11331
|
export declare type F0DrawerPosition = (typeof drawerPositions)[number];
|
|
11133
11332
|
|
|
11333
|
+
declare type F0DrawerProps = Omit<DrawerInternalProps, (typeof privateProps_4)[number]>;
|
|
11334
|
+
|
|
11134
11335
|
export declare type F0DropdownButtonProps<T = string> = {
|
|
11135
11336
|
size?: ButtonDropdownSize;
|
|
11136
11337
|
items: ButtonDropdownItem<T>[] | ButtonDropdownGroup<T>[] | ButtonDropdownGroup<T>;
|
|
@@ -11166,7 +11367,7 @@ declare type F0DurationFieldConfig = F0BaseConfig & {
|
|
|
11166
11367
|
size?: DurationInputSize;
|
|
11167
11368
|
};
|
|
11168
11369
|
|
|
11169
|
-
export declare const F0DurationInput: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<
|
|
11370
|
+
export declare const F0DurationInput: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<F0DurationInputProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
11170
11371
|
|
|
11171
11372
|
export declare interface F0DurationInputProps {
|
|
11172
11373
|
id?: string;
|
|
@@ -11747,11 +11948,11 @@ export declare type F0FilterPickerContentPublicProps<Filters extends FiltersDefi
|
|
|
11747
11948
|
* @experimental This is an experimental component, use it at your own risk
|
|
11748
11949
|
*/
|
|
11749
11950
|
export declare const F0Form: {
|
|
11750
|
-
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchema<TSchema>):
|
|
11751
|
-
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionSchema<T>):
|
|
11752
|
-
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchemaDefinition<TSchema>):
|
|
11753
|
-
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionDefinition<T>):
|
|
11754
|
-
(props: F0FormPropsWithDefinition):
|
|
11951
|
+
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchema<TSchema>): default_2.ReactElement;
|
|
11952
|
+
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionSchema<T>): default_2.ReactElement;
|
|
11953
|
+
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchemaDefinition<TSchema>): default_2.ReactElement;
|
|
11954
|
+
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionDefinition<T>): default_2.ReactElement;
|
|
11955
|
+
(props: F0FormPropsWithDefinition): default_2.ReactElement;
|
|
11755
11956
|
};
|
|
11756
11957
|
|
|
11757
11958
|
/**
|
|
@@ -12896,8 +13097,8 @@ declare type F0GraphNodeTag = TagVariant & {
|
|
|
12896
13097
|
*/
|
|
12897
13098
|
declare type F0GraphNodeTagColumn = string;
|
|
12898
13099
|
|
|
12899
|
-
export declare const F0GridStack:
|
|
12900
|
-
({ options, widgets, onChange, className, static: isStatic, forcePositionSync, }:
|
|
13100
|
+
export declare const F0GridStack: WithDataTestIdReturnType_6< {
|
|
13101
|
+
({ options, widgets, onChange, className, static: isStatic, forcePositionSync, }: F0GridStackProps): JSX_2.Element;
|
|
12901
13102
|
displayName: string;
|
|
12902
13103
|
}>;
|
|
12903
13104
|
|
|
@@ -13342,7 +13543,7 @@ export declare type F0NumberFieldConfig<R extends Record<string, unknown> = Reco
|
|
|
13342
13543
|
*/
|
|
13343
13544
|
export declare const F0NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
13344
13545
|
|
|
13345
|
-
declare type F0NumberInputBaseProps = Omit<NumberInputInternalProps, (typeof
|
|
13546
|
+
declare type F0NumberInputBaseProps = Omit<NumberInputInternalProps, (typeof privateProps_5)[number]>;
|
|
13346
13547
|
|
|
13347
13548
|
/**
|
|
13348
13549
|
* Config for number fields - number input
|
|
@@ -13757,7 +13958,7 @@ export declare interface F0QuestionCardStep {
|
|
|
13757
13958
|
options: F0QuestionCardOption[];
|
|
13758
13959
|
}
|
|
13759
13960
|
|
|
13760
|
-
declare type F0ResourceHeaderProps =
|
|
13961
|
+
declare type F0ResourceHeaderProps = Props_2;
|
|
13761
13962
|
|
|
13762
13963
|
/**
|
|
13763
13964
|
* F0 config options specific to rich text fields
|
|
@@ -13943,7 +14144,7 @@ declare interface F0SegmentedControlItem {
|
|
|
13943
14144
|
/**
|
|
13944
14145
|
* @experimental This is an experimental component use it at your own risk
|
|
13945
14146
|
*/
|
|
13946
|
-
export declare const F0Select: <T extends string = string, R = unknown>(props:
|
|
14147
|
+
export declare const F0Select: <T extends string = string, R = unknown>(props: F0SelectProps<T, R> & {
|
|
13947
14148
|
ref?: React.Ref<HTMLButtonElement>;
|
|
13948
14149
|
}) => React.ReactElement;
|
|
13949
14150
|
|
|
@@ -14335,7 +14536,7 @@ export declare type F0SelectVariant = (typeof selectVariants)[number];
|
|
|
14335
14536
|
/**
|
|
14336
14537
|
* @experimental This is an experimental component, use it at your own risk.
|
|
14337
14538
|
*/
|
|
14338
|
-
export declare const F0Slider: ForwardRefExoticComponent<Omit<
|
|
14539
|
+
export declare const F0Slider: ForwardRefExoticComponent<Omit<F0SliderProps & RefAttributes<HTMLDivElement> & WithDataTestIdProps_2, "ref"> & RefAttributes<HTMLDivElement>> & Pick<ForwardRefExoticComponent<F0SliderProps & RefAttributes<HTMLDivElement>>, never> & {
|
|
14339
14540
|
Skeleton: ({ hideLabel }: F0SliderSkeletonProps) => JSX_2.Element;
|
|
14340
14541
|
};
|
|
14341
14542
|
|
|
@@ -14464,13 +14665,13 @@ export declare type F0SwitchField = F0BaseField & {
|
|
|
14464
14665
|
/**
|
|
14465
14666
|
* @experimental This is an experimental component use it at your own risk
|
|
14466
14667
|
*/
|
|
14467
|
-
export declare const F0TableOfContentPopover: WithDataTestIdReturnType_3<typeof
|
|
14668
|
+
export declare const F0TableOfContentPopover: WithDataTestIdReturnType_3<typeof F0TableOfContentPopoverComponent>;
|
|
14468
14669
|
|
|
14469
14670
|
/**
|
|
14470
14671
|
* Internal implementation of the TableOfContentPopover component.
|
|
14471
14672
|
* This component includes all props including private ones.
|
|
14472
14673
|
*/
|
|
14473
|
-
declare function
|
|
14674
|
+
declare function F0TableOfContentPopoverComponent({ title, items, className, activeItem, collapsible, sortable, onReorder, showChildrenCounter, barsAlign, size, variant, portalContainer, }: F0TableOfContentPopoverProps): JSX_2.Element;
|
|
14474
14675
|
|
|
14475
14676
|
declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "showSearchBox" | "title" | "hideChildrenCounter"> {
|
|
14476
14677
|
/** Optional title displayed at the top of the menu popup */
|
|
@@ -14489,20 +14690,20 @@ declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "showSearc
|
|
|
14489
14690
|
portalContainer?: HTMLElement | null;
|
|
14490
14691
|
}
|
|
14491
14692
|
|
|
14492
|
-
export declare const F0TagAlert: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14693
|
+
export declare const F0TagAlert: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagAlertProps & RefAttributes<HTMLDivElement>>>;
|
|
14493
14694
|
|
|
14494
|
-
export declare const F0TagBalance: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14695
|
+
export declare const F0TagBalance: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagBalanceProps & RefAttributes<HTMLDivElement>>>;
|
|
14495
14696
|
|
|
14496
|
-
export declare const F0TagCompany: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14697
|
+
export declare const F0TagCompany: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
14497
14698
|
|
|
14498
|
-
export declare const F0TagDot: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14699
|
+
export declare const F0TagDot: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagDotProps & RefAttributes<HTMLDivElement>>>;
|
|
14499
14700
|
|
|
14500
14701
|
export declare const F0TagList: WithDataTestIdReturnType_4< {
|
|
14501
|
-
<T extends
|
|
14702
|
+
<T extends TagType>({ type, tags, max, remainingCount: initialRemainingCount, }: TagListProps<T>): JSX_2.Element;
|
|
14502
14703
|
displayName: string;
|
|
14503
14704
|
}>;
|
|
14504
14705
|
|
|
14505
|
-
export declare const F0TagPerson: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14706
|
+
export declare const F0TagPerson: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
|
|
14506
14707
|
|
|
14507
14708
|
export declare type F0TagPersonProps = {
|
|
14508
14709
|
src?: string;
|
|
@@ -14510,11 +14711,11 @@ export declare type F0TagPersonProps = {
|
|
|
14510
14711
|
deactivated?: boolean;
|
|
14511
14712
|
};
|
|
14512
14713
|
|
|
14513
|
-
export declare const F0TagRaw: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14714
|
+
export declare const F0TagRaw: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagRawProps & RefAttributes<HTMLDivElement>>>;
|
|
14514
14715
|
|
|
14515
|
-
export declare const F0TagStatus: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14716
|
+
export declare const F0TagStatus: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagStatusProps & RefAttributes<HTMLDivElement>>>;
|
|
14516
14717
|
|
|
14517
|
-
export declare const F0TagTeam: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14718
|
+
export declare const F0TagTeam: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
14518
14719
|
|
|
14519
14720
|
export declare const F0Text: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<F0TextProps, "ref"> & RefAttributes<HTMLElement>>>;
|
|
14520
14721
|
|
|
@@ -16193,6 +16394,14 @@ export declare interface HeaderProps {
|
|
|
16193
16394
|
status?: HeaderStatusProps;
|
|
16194
16395
|
}
|
|
16195
16396
|
|
|
16397
|
+
declare type HeaderProps_2 = {
|
|
16398
|
+
/* Excluded from this release type: disableClose */
|
|
16399
|
+
title?: string;
|
|
16400
|
+
description?: string;
|
|
16401
|
+
module?: DialogModule;
|
|
16402
|
+
otherActions?: DropdownInternalProps["items"];
|
|
16403
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
16404
|
+
|
|
16196
16405
|
export declare type HeaderSecondaryAction = HeaderSecondaryButtonAction | HeaderSecondaryDropdownAction;
|
|
16197
16406
|
|
|
16198
16407
|
declare type HeaderSecondaryButtonAction = SecondaryAction & {
|
|
@@ -16614,7 +16823,7 @@ declare type InlineValueMinWidth = number | {
|
|
|
16614
16823
|
*/
|
|
16615
16824
|
export declare const Input: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
16616
16825
|
|
|
16617
|
-
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "
|
|
16826
|
+
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "status" | "transparent" | "loading" | "disabled" | "maxLength" | "required" | "hint" | "error" | "editing" | "variant" | "append" | "hideLabel" | "isEmpty" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "onBlurWithin" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle" | "inlineText"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
16618
16827
|
|
|
16619
16828
|
declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
|
|
16620
16829
|
|
|
@@ -18236,7 +18445,7 @@ export declare interface OneCalendarInternalProps {
|
|
|
18236
18445
|
periods?: DatePeriodsDefinition;
|
|
18237
18446
|
}
|
|
18238
18447
|
|
|
18239
|
-
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof
|
|
18448
|
+
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_6)[number]>;
|
|
18240
18449
|
|
|
18241
18450
|
export declare const OneEllipsis: default_2.ForwardRefExoticComponent<OneEllipsisProps & default_2.RefAttributes<HTMLElement>>;
|
|
18242
18451
|
|
|
@@ -18882,11 +19091,13 @@ declare const privateProps_2: readonly ["withBorder"];
|
|
|
18882
19091
|
|
|
18883
19092
|
declare const privateProps_3: readonly ["forceVerticalMetadata", "disableOverlayLink"];
|
|
18884
19093
|
|
|
18885
|
-
declare const privateProps_4: readonly ["
|
|
19094
|
+
declare const privateProps_4: readonly ["variant", "disableClose"];
|
|
19095
|
+
|
|
19096
|
+
declare const privateProps_5: readonly ["buttonToggle", "variant", "editing", "onBlurWithin", "onPressEnter", "onPressEscape", "onDismiss"];
|
|
18886
19097
|
|
|
18887
|
-
declare const
|
|
19098
|
+
declare const privateProps_6: readonly ["compact"];
|
|
18888
19099
|
|
|
18889
|
-
declare const
|
|
19100
|
+
declare const privateProps_7: readonly ["className"];
|
|
18890
19101
|
|
|
18891
19102
|
export declare const ProductBlankslate: WithDataTestIdReturnType_4<ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement>>>;
|
|
18892
19103
|
|
|
@@ -19080,13 +19291,13 @@ declare type Props = {
|
|
|
19080
19291
|
layout?: "fill" | "compact";
|
|
19081
19292
|
};
|
|
19082
19293
|
|
|
19294
|
+
declare type Props_2 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
|
|
19295
|
+
|
|
19083
19296
|
declare type Props_3 = {
|
|
19084
19297
|
count: number;
|
|
19085
19298
|
list?: TagCounterItem[];
|
|
19086
19299
|
};
|
|
19087
19300
|
|
|
19088
|
-
declare type Props_4 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
|
|
19089
|
-
|
|
19090
19301
|
export declare type QuestionActionParams = {
|
|
19091
19302
|
questionId: string;
|
|
19092
19303
|
type: ActionType;
|
|
@@ -20274,7 +20485,7 @@ export declare type SurveyDataset = {
|
|
|
20274
20485
|
|
|
20275
20486
|
export declare type SurveyDatasets = Record<string, SurveyDataset>;
|
|
20276
20487
|
|
|
20277
|
-
export declare const SurveyFormBuilder:
|
|
20488
|
+
export declare const SurveyFormBuilder: WithDataTestIdReturnType_7<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, placeholders, labels, skipDefaultSection, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
20278
20489
|
|
|
20279
20490
|
export declare type SurveyFormBuilderCallbacks = {
|
|
20280
20491
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -20378,6 +20589,17 @@ export declare const syncDataCollectionUrlParams: <CurrentFiltersState extends F
|
|
|
20378
20589
|
history?: DataCollectionUrlHistoryMode;
|
|
20379
20590
|
}) => string | null;
|
|
20380
20591
|
|
|
20592
|
+
declare type TabItem = {
|
|
20593
|
+
label: string;
|
|
20594
|
+
index?: boolean;
|
|
20595
|
+
variant?: "default" | "upsell";
|
|
20596
|
+
onClick?: () => void;
|
|
20597
|
+
} & DataAttributes_2 & ({
|
|
20598
|
+
href: string;
|
|
20599
|
+
} | {
|
|
20600
|
+
id: string;
|
|
20601
|
+
});
|
|
20602
|
+
|
|
20381
20603
|
declare type TableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, TableVisualizationOptions<R, Filters, Sortings, Summaries>>;
|
|
20382
20604
|
|
|
20383
20605
|
declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth"> & {
|
|
@@ -20660,8 +20882,16 @@ declare type TableVisualizationSettings = {
|
|
|
20660
20882
|
|
|
20661
20883
|
declare type TableVisualizationType = "table" | "editableTable";
|
|
20662
20884
|
|
|
20885
|
+
declare interface TabsProps {
|
|
20886
|
+
tabs: TabItem[];
|
|
20887
|
+
activeTabId?: string;
|
|
20888
|
+
setActiveTabId?: Dispatch<string>;
|
|
20889
|
+
secondary?: boolean;
|
|
20890
|
+
embedded?: boolean;
|
|
20891
|
+
}
|
|
20892
|
+
|
|
20663
20893
|
export declare const Tag: WithDataTestIdReturnType_4<({ tag }: {
|
|
20664
|
-
tag:
|
|
20894
|
+
tag: TagVariant;
|
|
20665
20895
|
}) => ReactNode>;
|
|
20666
20896
|
|
|
20667
20897
|
declare type Tag_2 = (typeof tags)[number];
|
|
@@ -22806,6 +23036,16 @@ declare namespace Calendar {
|
|
|
22806
23036
|
}
|
|
22807
23037
|
|
|
22808
23038
|
|
|
23039
|
+
declare module "@tiptap/core" {
|
|
23040
|
+
interface Commands<ReturnType> {
|
|
23041
|
+
fontSize: {
|
|
23042
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
23043
|
+
unsetFontSize: () => ReturnType;
|
|
23044
|
+
};
|
|
23045
|
+
}
|
|
23046
|
+
}
|
|
23047
|
+
|
|
23048
|
+
|
|
22809
23049
|
declare module "@tiptap/core" {
|
|
22810
23050
|
interface Commands<ReturnType> {
|
|
22811
23051
|
aiBlock: {
|
|
@@ -22830,9 +23070,8 @@ declare module "@tiptap/core" {
|
|
|
22830
23070
|
|
|
22831
23071
|
declare module "@tiptap/core" {
|
|
22832
23072
|
interface Commands<ReturnType> {
|
|
22833
|
-
|
|
22834
|
-
|
|
22835
|
-
unsetFontSize: () => ReturnType;
|
|
23073
|
+
moodTracker: {
|
|
23074
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
22836
23075
|
};
|
|
22837
23076
|
}
|
|
22838
23077
|
}
|
|
@@ -22851,8 +23090,8 @@ declare module "@tiptap/core" {
|
|
|
22851
23090
|
|
|
22852
23091
|
declare module "@tiptap/core" {
|
|
22853
23092
|
interface Commands<ReturnType> {
|
|
22854
|
-
|
|
22855
|
-
|
|
23093
|
+
transcript: {
|
|
23094
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
22856
23095
|
};
|
|
22857
23096
|
}
|
|
22858
23097
|
}
|
|
@@ -22869,15 +23108,6 @@ declare module "@tiptap/core" {
|
|
|
22869
23108
|
}
|
|
22870
23109
|
|
|
22871
23110
|
|
|
22872
|
-
declare module "@tiptap/core" {
|
|
22873
|
-
interface Commands<ReturnType> {
|
|
22874
|
-
transcript: {
|
|
22875
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
22876
|
-
};
|
|
22877
|
-
}
|
|
22878
|
-
}
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
23111
|
declare namespace F0GraphNodeWrapperInner {
|
|
22882
23112
|
var displayName: string;
|
|
22883
23113
|
}
|