@factorialco/f0-react 8.36.1 → 9.0.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-Ch2Pi_N2.js} +1 -1
- package/dist/{ChatPostComposerDialog-Cv7VtLD6.js → ChatPostComposerDialog-CW24c9tS.js} +3 -3
- package/dist/{MapProvider-Q8EU0u5y.js → CoachmarkProvider-BXGXfIw-.js} +15546 -15554
- package/dist/{DocumentToolbar-CVrrJ4iA.js → DocumentToolbar-Bp9iCtUO.js} +9 -9
- package/dist/{DocxViewer-AbtW-zX4.js → DocxViewer-CKrXuvnB.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BDqqztvk.js → F0AiProcessingOverlay-SFLE4xoa.js} +1 -1
- package/dist/{F0CanvasPanel-WVtVnJRZ.js → F0CanvasPanel-D25Wuumh.js} +35213 -35210
- package/dist/{index-DqE_RHOm.js → F0DocumentViewer-BXlup6dL.js} +142 -149
- package/dist/{F0Map-DLKYcpUE.js → F0Map-B9_jeX3R.js} +13 -13
- package/dist/{F0VideoPlayer-D1jXuNEn.js → F0VideoPlayer-VJSe0ziC.js} +48 -48
- package/dist/{SheetViewer-KR2QIyYj.js → SheetViewer-BO9MbbYR.js} +3 -3
- package/dist/{TextViewer-D28lLt_m.js → TextViewer-B7B947JZ.js} +2 -2
- package/dist/ai.d.ts +61 -49
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +15 -15
- package/dist/component-status.js +70 -70
- package/dist/{experimental-BSsHhEKt.js → experimental-Do9KcVJp.js} +764 -763
- package/dist/experimental.d.ts +123 -114
- package/dist/experimental.js +83 -83
- package/dist/f0.d.ts +405 -172
- package/dist/f0.js +7024 -7006
- package/dist/i18n-provider-defaults.d.ts +15 -15
- package/dist/index-Bt9_3eC1.js +4 -0
- package/dist/{index-P3wd7w_Q.js → index-C66JSsii.js} +1 -1
- package/dist/{index-CuAmARkm.js → index-C95Ox1WO.js} +15 -15
- package/dist/{index-C5FgdXF2.js → index-W5BBvrFa.js} +2 -2
- package/dist/index-a7A0EHsJ.js +8 -0
- package/dist/pdfWorker-Bi4FxYtY.js +13120 -0
- package/package.json +4 -4
- package/dist/index-B5m0OpRD.js +0 -4
- package/dist/pdfWorker-C2B0uWA2.js +0 -13120
- /package/dist/{MapProvider.css → CoachmarkProvider.css} +0 -0
- /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';
|
|
@@ -163,6 +133,7 @@ import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
|
|
|
163
133
|
import { ValueDisplayRendererContext as ValueDisplayRendererContext_2 } from './f0';
|
|
164
134
|
import { VariantProps } from 'cva';
|
|
165
135
|
import { WithDataTestIdProps as WithDataTestIdProps_2 } from './f0';
|
|
136
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_10 } from './f0';
|
|
166
137
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from './f0';
|
|
167
138
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from './f0';
|
|
168
139
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_4 } from './f0';
|
|
@@ -170,6 +141,7 @@ import { WithDataTestIdReturnType as WithDataTestIdReturnType_5 } from './f0';
|
|
|
170
141
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_6 } from './f0';
|
|
171
142
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_7 } from './f0';
|
|
172
143
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_8 } from './f0';
|
|
144
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_9 } from './f0';
|
|
173
145
|
import { z } from 'zod';
|
|
174
146
|
import { ZodEffects } from 'zod';
|
|
175
147
|
import { ZodErrorMap } from 'zod';
|
|
@@ -1646,6 +1618,19 @@ export declare type AvatarListSize = (typeof avatarListSizes)[number];
|
|
|
1646
1618
|
|
|
1647
1619
|
declare const avatarListSizes: readonly ["xs", "sm", "md"];
|
|
1648
1620
|
|
|
1621
|
+
declare type AvatarProps = {
|
|
1622
|
+
avatar: AvatarVariant_2;
|
|
1623
|
+
size?: AvatarSize;
|
|
1624
|
+
dataTestId?: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* What the viewer can do from the avatar, e.g. change or remove the
|
|
1627
|
+
* picture. One action renders as a button, several as a menu. Meant for
|
|
1628
|
+
* person, team and company avatars at `lg` and above, where the 24px button
|
|
1629
|
+
* fits.
|
|
1630
|
+
*/
|
|
1631
|
+
actions?: AvatarAction[];
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1649
1634
|
declare type AvatarSize = (typeof avatarSizes)[number];
|
|
1650
1635
|
|
|
1651
1636
|
declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
@@ -2106,25 +2091,25 @@ declare type BoxVariantProps = VariantProps<typeof boxVariants>;
|
|
|
2106
2091
|
|
|
2107
2092
|
declare const boxVariants: (props?: ({
|
|
2108
2093
|
zIndex?: "0" | "auto" | "10" | "20" | "50" | "40" | "30" | undefined;
|
|
2109
|
-
boxShadow?: "
|
|
2094
|
+
boxShadow?: "none" | "lg" | "md" | "sm" | "xl" | undefined;
|
|
2110
2095
|
divider?: "x" | "y" | undefined;
|
|
2111
|
-
dividerColor?: "
|
|
2096
|
+
dividerColor?: "bold" | "selected" | "default" | "info" | "secondary" | "critical" | "warning" | "positive" | "promote" | "critical-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-bold" | undefined;
|
|
2112
2097
|
overflow?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
2113
2098
|
overflowX?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
2114
2099
|
overflowY?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
2115
|
-
borderColor?: "
|
|
2116
|
-
border?: "
|
|
2117
|
-
borderTop?: "
|
|
2118
|
-
borderBottom?: "
|
|
2119
|
-
borderLeft?: "
|
|
2120
|
-
borderRight?: "
|
|
2121
|
-
borderRadius?: "
|
|
2122
|
-
borderRadiusTopLeft?: "
|
|
2123
|
-
borderRadiusTopRight?: "
|
|
2124
|
-
borderRadiusBottomLeft?: "
|
|
2125
|
-
borderRadiusBottomRight?: "
|
|
2100
|
+
borderColor?: "bold" | "selected" | "default" | "info" | "secondary" | "critical" | "warning" | "positive" | "promote" | "critical-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-bold" | undefined;
|
|
2101
|
+
border?: "none" | "default" | "thick" | undefined;
|
|
2102
|
+
borderTop?: "none" | "default" | "thick" | undefined;
|
|
2103
|
+
borderBottom?: "none" | "default" | "thick" | undefined;
|
|
2104
|
+
borderLeft?: "none" | "default" | "thick" | undefined;
|
|
2105
|
+
borderRight?: "none" | "default" | "thick" | undefined;
|
|
2106
|
+
borderRadius?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2107
|
+
borderRadiusTopLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2108
|
+
borderRadiusTopRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2109
|
+
borderRadiusBottomLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2110
|
+
borderRadiusBottomRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "2xs" | "full" | "3xl" | undefined;
|
|
2126
2111
|
borderStyle?: "none" | "dashed" | "dotted" | "double" | "solid" | undefined;
|
|
2127
|
-
background?: "
|
|
2112
|
+
background?: "bold" | "selected" | "info" | "secondary" | "inverse" | "critical" | "accent" | "warning" | "positive" | "promote" | "critical-bold" | "transparent" | "overlay" | "primary" | "tertiary" | "inverse-secondary" | "accent-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-secondary" | "selected-bold" | undefined;
|
|
2128
2113
|
width?: SizeToken_2 | undefined;
|
|
2129
2114
|
height?: SizeToken_2 | undefined;
|
|
2130
2115
|
minWidth?: SizeToken_2 | undefined;
|
|
@@ -2136,32 +2121,32 @@ declare const boxVariants: (props?: ({
|
|
|
2136
2121
|
colSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "full" | undefined;
|
|
2137
2122
|
colStart?: "1" | "2" | "3" | "4" | "auto" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | undefined;
|
|
2138
2123
|
rowSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "full" | undefined;
|
|
2139
|
-
gap?: "
|
|
2140
|
-
alignItems?: "center" | "end" | "
|
|
2124
|
+
gap?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2125
|
+
alignItems?: "center" | "end" | "start" | "baseline" | "stretch" | undefined;
|
|
2141
2126
|
justifyContent?: "center" | "end" | "start" | "between" | "stretch" | "around" | "evenly" | undefined;
|
|
2142
2127
|
flexDirection?: "row" | "column" | "column-reverse" | "row-reverse" | undefined;
|
|
2143
2128
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
2144
2129
|
grow?: boolean | undefined;
|
|
2145
2130
|
shrink?: boolean | undefined;
|
|
2146
|
-
margin?: "
|
|
2147
|
-
marginX?: "
|
|
2148
|
-
marginY?: "
|
|
2149
|
-
marginTop?: "
|
|
2150
|
-
marginBottom?: "
|
|
2151
|
-
marginLeft?: "
|
|
2152
|
-
marginRight?: "
|
|
2153
|
-
padding?: "
|
|
2154
|
-
paddingX?: "
|
|
2155
|
-
paddingY?: "
|
|
2156
|
-
paddingTop?: "
|
|
2157
|
-
paddingBottom?: "
|
|
2158
|
-
paddingLeft?: "
|
|
2159
|
-
paddingRight?: "
|
|
2160
|
-
top?: "
|
|
2161
|
-
right?: "
|
|
2162
|
-
bottom?: "
|
|
2163
|
-
left?: "
|
|
2164
|
-
display?: "
|
|
2131
|
+
margin?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2132
|
+
marginX?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2133
|
+
marginY?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2134
|
+
marginTop?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2135
|
+
marginBottom?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2136
|
+
marginLeft?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2137
|
+
marginRight?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2138
|
+
padding?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2139
|
+
paddingX?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2140
|
+
paddingY?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2141
|
+
paddingTop?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2142
|
+
paddingBottom?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2143
|
+
paddingLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2144
|
+
paddingRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2145
|
+
top?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2146
|
+
right?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2147
|
+
bottom?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2148
|
+
left?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
2149
|
+
display?: "none" | "grid" | "inline" | "block" | "flex" | "inline-flex" | undefined;
|
|
2165
2150
|
position?: "fixed" | "sticky" | "relative" | "static" | "absolute" | undefined;
|
|
2166
2151
|
} & ({
|
|
2167
2152
|
class?: ClassValue;
|
|
@@ -3576,7 +3561,7 @@ declare type ChipVariants = {
|
|
|
3576
3561
|
};
|
|
3577
3562
|
|
|
3578
3563
|
export declare const chipVariants: (props?: ({
|
|
3579
|
-
variant?: "
|
|
3564
|
+
variant?: "selected" | "default" | undefined;
|
|
3580
3565
|
} & ({
|
|
3581
3566
|
class?: ClassValue;
|
|
3582
3567
|
className?: never;
|
|
@@ -4060,7 +4045,7 @@ declare interface CustomFieldRenderPropsBase {
|
|
|
4060
4045
|
customFieldName?: string;
|
|
4061
4046
|
}
|
|
4062
4047
|
|
|
4063
|
-
export declare const Dashboard: WithDataTestIdReturnType_3<ComponentType<
|
|
4048
|
+
export declare const Dashboard: WithDataTestIdReturnType_3<ComponentType<DashboardProps> & PageLayoutGroupComponent_2>;
|
|
4064
4049
|
|
|
4065
4050
|
/**
|
|
4066
4051
|
* Callbacks for persisting dashboards externally (beyond chat history).
|
|
@@ -4676,9 +4661,9 @@ declare const DataList: ForwardRefExoticComponent<DataListProps & RefAttributes<
|
|
|
4676
4661
|
BalanceTagItem: ForwardRefExoticComponent<TagBalanceProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4677
4662
|
StatusTagItem: ForwardRefExoticComponent<TagStatusProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4678
4663
|
RawTagItem: ForwardRefExoticComponent<TagRawProps_2 & RefAttributes<HTMLLIElement>>;
|
|
4679
|
-
TagListItem: <T extends
|
|
4664
|
+
TagListItem: <T extends TagType_2>(props: TagListProps_2<T> & {
|
|
4680
4665
|
ref?: Ref<HTMLLIElement>;
|
|
4681
|
-
}) => ReturnType<(<T_1 extends
|
|
4666
|
+
}) => ReturnType<(<T_1 extends TagType_2>(props: TagListProps_2<T_1>, ref: ForwardedRef<HTMLLIElement>) => JSX_2.Element)>;
|
|
4682
4667
|
};
|
|
4683
4668
|
|
|
4684
4669
|
declare type DataListProps = {
|
|
@@ -6742,10 +6727,49 @@ declare type DialogAlikeActionsProps = {
|
|
|
6742
6727
|
secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6743
6728
|
};
|
|
6744
6729
|
|
|
6730
|
+
declare type DialogAlikeInternalProps = {
|
|
6731
|
+
isOpen: boolean;
|
|
6732
|
+
onClose: () => void;
|
|
6733
|
+
size?: DialogAlikeSize;
|
|
6734
|
+
primaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6735
|
+
secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
6736
|
+
title?: string;
|
|
6737
|
+
description?: string;
|
|
6738
|
+
/**
|
|
6739
|
+
* Whether the dialog should be modal (only closable by clickiong the actions).
|
|
6740
|
+
* @default false
|
|
6741
|
+
*/
|
|
6742
|
+
modal?: boolean;
|
|
6743
|
+
/* Excluded from this release type: disableClose */
|
|
6744
|
+
module?: DialogModule;
|
|
6745
|
+
otherActions?: HeaderProps_2["otherActions"];
|
|
6746
|
+
children: ReactNode;
|
|
6747
|
+
disableContentPadding?: boolean;
|
|
6748
|
+
/**
|
|
6749
|
+
* Override the DOM element the dialog is portaled into. By default center
|
|
6750
|
+
* dialogs portal to the top-level `#f0-overlay-root` (escaping app stacking
|
|
6751
|
+
* contexts such as the ApplicationFrame's `isolate` layer) and side drawers
|
|
6752
|
+
* to `#content`. Pass an element, or `null` to portal to `document.body`.
|
|
6753
|
+
*/
|
|
6754
|
+
container?: HTMLElement | null;
|
|
6755
|
+
} & (DialogAlikeTabsProps | {
|
|
6756
|
+
[key in keyof DialogAlikeTabsProps]?: undefined;
|
|
6757
|
+
});
|
|
6758
|
+
|
|
6745
6759
|
declare type DialogAlikePosition = (typeof dialogAlikePositions)[number];
|
|
6746
6760
|
|
|
6747
6761
|
declare const dialogAlikePositions: readonly ["center", "left", "right", "fullscreen"];
|
|
6748
6762
|
|
|
6763
|
+
declare type DialogAlikeSize = (typeof dialogAlikeSizes)[number];
|
|
6764
|
+
|
|
6765
|
+
declare const dialogAlikeSizes: readonly ["sm", "md", "lg", "xl", "fullscreen"];
|
|
6766
|
+
|
|
6767
|
+
declare type DialogAlikeTabsProps = {
|
|
6768
|
+
tabs: TabsProps["tabs"];
|
|
6769
|
+
activeTabId?: TabsProps["activeTabId"];
|
|
6770
|
+
setActiveTabId?: TabsProps["setActiveTabId"];
|
|
6771
|
+
};
|
|
6772
|
+
|
|
6749
6773
|
export declare type DialogControls = {
|
|
6750
6774
|
kind: "resource";
|
|
6751
6775
|
/**
|
|
@@ -6947,6 +6971,19 @@ export declare type DrawerDefinition = {
|
|
|
6947
6971
|
module?: DialogModule;
|
|
6948
6972
|
};
|
|
6949
6973
|
|
|
6974
|
+
declare type DrawerInternalProps = Omit<DialogAlikeInternalProps, "size"> & {
|
|
6975
|
+
size?: DrawerSize;
|
|
6976
|
+
position?: F0DrawerPosition;
|
|
6977
|
+
/**
|
|
6978
|
+
* Called with the drawer content's width in px on mount and whenever it
|
|
6979
|
+
* changes, and with `0` when it closes. Use it to reserve space for the open
|
|
6980
|
+
* drawer — e.g. offsetting a graph so a node isn't centered behind it —
|
|
6981
|
+
* instead of hard-coding the width. The drawer slides in via a transform, not
|
|
6982
|
+
* a width animation, so the reported value is final from the first frame.
|
|
6983
|
+
*/
|
|
6984
|
+
onWidthChange?: (width: number) => void;
|
|
6985
|
+
};
|
|
6986
|
+
|
|
6950
6987
|
declare const drawerPositions: readonly ["left", "right"];
|
|
6951
6988
|
|
|
6952
6989
|
/**
|
|
@@ -6972,6 +7009,53 @@ declare type DropdownContentVariant = (typeof dropdownContentVariants)[number];
|
|
|
6972
7009
|
|
|
6973
7010
|
declare const dropdownContentVariants: readonly ["expanded", "reduced"];
|
|
6974
7011
|
|
|
7012
|
+
declare type DropdownInternalProps = {
|
|
7013
|
+
items: DropdownItem[];
|
|
7014
|
+
icon?: IconType;
|
|
7015
|
+
size?: F0ButtonProps["size"];
|
|
7016
|
+
children?: default_2.ReactNode;
|
|
7017
|
+
align?: "start" | "end" | "center";
|
|
7018
|
+
alignOffset?: number;
|
|
7019
|
+
disableExitAnimation?: boolean;
|
|
7020
|
+
open?: boolean;
|
|
7021
|
+
onOpenChange?: (open: boolean) => void;
|
|
7022
|
+
label?: string;
|
|
7023
|
+
/**
|
|
7024
|
+
* Whether the dropdown trigger is disabled. When true, the menu cannot be
|
|
7025
|
+
* opened via click, keyboard, or focus and the trigger receives
|
|
7026
|
+
* `aria-disabled="true"`. When a custom trigger is provided via `children`,
|
|
7027
|
+
* `disabled` is forwarded to it via `cloneElement` if it is a single React
|
|
7028
|
+
* element; consumer-supplied `disabled` / `aria-disabled` always win.
|
|
7029
|
+
* @default false
|
|
7030
|
+
*/
|
|
7031
|
+
disabled?: boolean;
|
|
7032
|
+
/**
|
|
7033
|
+
* Where the menu is portalled. Defaults to the document body; pass the
|
|
7034
|
+
* element of a surrounding modal layer — a dialog's own content node, which
|
|
7035
|
+
* it publishes as `portalContainer` — so that layer's focus trap CONTAINS
|
|
7036
|
+
* the menu instead of fighting it. Two traps over the same document push
|
|
7037
|
+
* focus back and forth until the call stack gives out.
|
|
7038
|
+
*/
|
|
7039
|
+
container?: HTMLElement | null;
|
|
7040
|
+
/**
|
|
7041
|
+
* Caps the width of the menu content.
|
|
7042
|
+
* - "expanded": (default) sizes to content, same as today.
|
|
7043
|
+
* - "reduced": caps the menu at 300px, e.g. when an item's `description`
|
|
7044
|
+
* is long enough to otherwise stretch the menu.
|
|
7045
|
+
* @default "expanded"
|
|
7046
|
+
*/
|
|
7047
|
+
contentVariant?: DropdownContentVariant;
|
|
7048
|
+
/**
|
|
7049
|
+
* Whether the open menu locks page scroll and blocks pointer events outside
|
|
7050
|
+
* it. Pass `false` when a row can open a dialog while the menu stays up — a
|
|
7051
|
+
* switch row, say: Radix does not close a lower layer when a higher one
|
|
7052
|
+
* opens, so a modal menu left under a dialog keeps `body` locked after the
|
|
7053
|
+
* dialog is gone.
|
|
7054
|
+
* @default true
|
|
7055
|
+
*/
|
|
7056
|
+
modal?: boolean;
|
|
7057
|
+
} & DataAttributes_2;
|
|
7058
|
+
|
|
6975
7059
|
export declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel | DropdownItemSubmenu | DropdownItemSwitch;
|
|
6976
7060
|
|
|
6977
7061
|
declare type DropdownItemLabel = {
|
|
@@ -7493,7 +7577,7 @@ declare type ExtractVisualizationSettings<T> = T extends {
|
|
|
7493
7577
|
/**
|
|
7494
7578
|
* @experimental This is an experimental component, use it at your own risk.
|
|
7495
7579
|
*/
|
|
7496
|
-
export declare const F0Accordion:
|
|
7580
|
+
export declare const F0Accordion: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0AccordionProps & RefAttributes<HTMLDivElement>> & {
|
|
7497
7581
|
Skeleton: ({ items, }: F0AccordionSkeletonProps) => JSX_2.Element;
|
|
7498
7582
|
}>;
|
|
7499
7583
|
|
|
@@ -7539,7 +7623,7 @@ export declare interface F0AccordionProps extends WithDataTestIdProps, DataAttri
|
|
|
7539
7623
|
onValueChange?: (openIds: string[]) => void;
|
|
7540
7624
|
}
|
|
7541
7625
|
|
|
7542
|
-
export declare const F0ActionBar:
|
|
7626
|
+
export declare const F0ActionBar: WithDataTestIdReturnType_7<ForwardRefExoticComponent<F0ActionBarProps & RefAttributes<F0ActionBarRef>>>;
|
|
7543
7627
|
|
|
7544
7628
|
declare interface F0ActionBarProps {
|
|
7545
7629
|
/**
|
|
@@ -8244,7 +8328,7 @@ export declare function F0AiFormRegistryProvider({ children, availableFormDefini
|
|
|
8244
8328
|
availableFormDefinitions?: AvailableFormDefinitionItem[];
|
|
8245
8329
|
}): JSX_2.Element;
|
|
8246
8330
|
|
|
8247
|
-
export declare const F0AiInsightCard:
|
|
8331
|
+
export declare const F0AiInsightCard: WithDataTestIdReturnType_8<ForwardRefExoticComponent<F0AiInsightCardPublicProps & RefAttributes<HTMLDivElement>> & {
|
|
8248
8332
|
Skeleton: () => JSX_2.Element;
|
|
8249
8333
|
}>;
|
|
8250
8334
|
|
|
@@ -8257,7 +8341,7 @@ export declare type F0AiInsightCardProps = {
|
|
|
8257
8341
|
onAskOne?: () => void;
|
|
8258
8342
|
} & AiInsightCardContent;
|
|
8259
8343
|
|
|
8260
|
-
declare type F0AiInsightCardPublicProps = Omit<CardInternalProps_2, (typeof
|
|
8344
|
+
declare type F0AiInsightCardPublicProps = Omit<CardInternalProps_2, (typeof privateProps_7)[number]>;
|
|
8261
8345
|
|
|
8262
8346
|
export declare class F0AiMask {
|
|
8263
8347
|
readonly element: HTMLElement;
|
|
@@ -8488,7 +8572,7 @@ export declare type F0AiTableCardProps = {
|
|
|
8488
8572
|
filename?: string;
|
|
8489
8573
|
};
|
|
8490
8574
|
|
|
8491
|
-
export declare const F0Alert:
|
|
8575
|
+
export declare const F0Alert: WithDataTestIdReturnType_6<({ title, description, action, link, icon, variant, onClose, }: F0AlertProps) => JSX_2.Element>;
|
|
8492
8576
|
|
|
8493
8577
|
export declare interface F0AlertProps {
|
|
8494
8578
|
title: string;
|
|
@@ -8512,7 +8596,7 @@ export declare interface F0AlertProps {
|
|
|
8512
8596
|
* @experimental This is an experimental component use it at your own risk
|
|
8513
8597
|
*/
|
|
8514
8598
|
export declare const F0AnalyticsDashboard: {
|
|
8515
|
-
<Filters extends
|
|
8599
|
+
<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
8600
|
displayName: string;
|
|
8517
8601
|
};
|
|
8518
8602
|
|
|
@@ -8726,12 +8810,12 @@ declare type F0AssistantMessageExtraProps = {
|
|
|
8726
8810
|
/**
|
|
8727
8811
|
* @experimental This is an experimental component, use it at your own risk.
|
|
8728
8812
|
*/
|
|
8729
|
-
export declare const F0AudioPlayer:
|
|
8813
|
+
export declare const F0AudioPlayer: WithDataTestIdReturnType_7<ForwardRefExoticComponent<F0AudioPlayerProps & RefAttributes<HTMLDivElement>>>;
|
|
8730
8814
|
|
|
8731
8815
|
/**
|
|
8732
8816
|
* @experimental This is an experimental component, use it at your own risk.
|
|
8733
8817
|
*/
|
|
8734
|
-
export declare const F0AudioPlayerCard:
|
|
8818
|
+
export declare const F0AudioPlayerCard: WithDataTestIdReturnType_7<ForwardRefExoticComponent<F0AudioPlayerCardProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
8735
8819
|
|
|
8736
8820
|
export declare interface F0AudioPlayerCardProps extends F0AudioPlayerProps {
|
|
8737
8821
|
/**
|
|
@@ -8909,10 +8993,10 @@ declare const F0AuraVoiceAnimationVariants: (props?: ({
|
|
|
8909
8993
|
|
|
8910
8994
|
export declare const F0Avatar: WithDataTestIdReturnType_4<({ actions, ...props }: AvatarProps) => ReactNode>;
|
|
8911
8995
|
|
|
8912
|
-
export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
8996
|
+
export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps) => JSX_2.Element>;
|
|
8913
8997
|
|
|
8914
8998
|
export declare const F0AvatarCompany: WithDataTestIdReturnType_4< {
|
|
8915
|
-
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }:
|
|
8999
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarCompanyProps): JSX_2.Element;
|
|
8916
9000
|
displayName: string;
|
|
8917
9001
|
}>;
|
|
8918
9002
|
|
|
@@ -8925,8 +9009,12 @@ export declare type F0AvatarCompanyProps = {
|
|
|
8925
9009
|
|
|
8926
9010
|
export declare const F0AvatarDate: WithDataTestIdReturnType_4<({ date, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarDateProps) => JSX_2.Element>;
|
|
8927
9011
|
|
|
9012
|
+
declare type F0AvatarDateProps = {
|
|
9013
|
+
date: Date;
|
|
9014
|
+
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
9015
|
+
|
|
8928
9016
|
export declare const F0AvatarEmoji: WithDataTestIdReturnType_4< {
|
|
8929
|
-
({ emoji, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
9017
|
+
({ emoji, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarEmojiProps): JSX_2.Element;
|
|
8930
9018
|
displayName: string;
|
|
8931
9019
|
}>;
|
|
8932
9020
|
|
|
@@ -8958,7 +9046,7 @@ declare type F0AvatarFlagProps = {
|
|
|
8958
9046
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
8959
9047
|
|
|
8960
9048
|
export declare const F0AvatarIcon: WithDataTestIdReturnType_4< {
|
|
8961
|
-
({ icon, size, state, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
9049
|
+
({ icon, size, state, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarIconProps): JSX_2.Element;
|
|
8962
9050
|
displayName: string;
|
|
8963
9051
|
}>;
|
|
8964
9052
|
|
|
@@ -8969,7 +9057,7 @@ export declare type F0AvatarIconProps = {
|
|
|
8969
9057
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
8970
9058
|
|
|
8971
9059
|
export declare const F0AvatarList: WithDataTestIdReturnType_4< {
|
|
8972
|
-
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll: _tooltipScroll, layout: _layout, }:
|
|
9060
|
+
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll: _tooltipScroll, layout: _layout, }: F0AvatarListProps): JSX_2.Element;
|
|
8973
9061
|
displayName: string;
|
|
8974
9062
|
}>;
|
|
8975
9063
|
|
|
@@ -9057,20 +9145,20 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
9057
9145
|
avatars: (Omit<FileAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
|
|
9058
9146
|
};
|
|
9059
9147
|
|
|
9060
|
-
export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof
|
|
9148
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof F0AvatarModuleBase>;
|
|
9061
9149
|
|
|
9062
9150
|
/**
|
|
9063
9151
|
* Module avatar
|
|
9064
9152
|
* @description A component that displays a module avatar
|
|
9065
9153
|
*/
|
|
9066
|
-
declare function
|
|
9154
|
+
declare function F0AvatarModuleBase({ size, module, ...props }: F0AvatarModuleProps): JSX_2.Element;
|
|
9067
9155
|
|
|
9068
9156
|
export declare type F0AvatarModuleProps = VariantProps<typeof moduleAvatarVariants> & {
|
|
9069
9157
|
module: ModuleId;
|
|
9070
9158
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
9071
9159
|
|
|
9072
9160
|
export declare const F0AvatarPerson: WithDataTestIdReturnType_4< {
|
|
9073
|
-
({ firstName, lastName, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, deactivated, pending, }:
|
|
9161
|
+
({ firstName, lastName, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, deactivated, pending, }: F0AvatarPersonProps): JSX_2.Element;
|
|
9074
9162
|
displayName: string;
|
|
9075
9163
|
}>;
|
|
9076
9164
|
|
|
@@ -9114,7 +9202,7 @@ export declare type F0AvatarPersonProps = {
|
|
|
9114
9202
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
9115
9203
|
|
|
9116
9204
|
export declare const F0AvatarTeam: WithDataTestIdReturnType_4< {
|
|
9117
|
-
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }:
|
|
9205
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarTeamProps): JSX_2.Element;
|
|
9118
9206
|
displayName: string;
|
|
9119
9207
|
}>;
|
|
9120
9208
|
|
|
@@ -9302,8 +9390,8 @@ declare type F0BaseFieldRenderIfFunction = (context: {
|
|
|
9302
9390
|
*/
|
|
9303
9391
|
declare type F0BaseFieldRenderIfProp = RenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
9304
9392
|
|
|
9305
|
-
export declare const F0BigNumber:
|
|
9306
|
-
({ label, ...props }:
|
|
9393
|
+
export declare const F0BigNumber: WithDataTestIdReturnType_6< {
|
|
9394
|
+
({ label, ...props }: BigNumberProps): JSX_2.Element;
|
|
9307
9395
|
displayName: string;
|
|
9308
9396
|
} & {
|
|
9309
9397
|
Skeleton: () => JSX_2.Element;
|
|
@@ -9357,7 +9445,7 @@ export declare interface F0BoxProps extends Omit<React.ComponentPropsWithoutRef<
|
|
|
9357
9445
|
xl?: ResponsiveStyleProps;
|
|
9358
9446
|
}
|
|
9359
9447
|
|
|
9360
|
-
export declare const F0Button:
|
|
9448
|
+
export declare const F0Button: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<ButtonInternalProps, "style" | "className" | "block" | "variant" | "pressed" | "append" | "compact" | "noAutoTooltip" | "noTitle"> & {
|
|
9361
9449
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
9362
9450
|
} & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>;
|
|
9363
9451
|
|
|
@@ -9469,7 +9557,7 @@ export declare type F0ButtonProps = Omit<ButtonInternalProps, (typeof privatePro
|
|
|
9469
9557
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
9470
9558
|
};
|
|
9471
9559
|
|
|
9472
|
-
export declare const F0ButtonToggle:
|
|
9560
|
+
export declare const F0ButtonToggle: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0ButtonToggleProps & RefAttributes<HTMLButtonElement>>>;
|
|
9473
9561
|
|
|
9474
9562
|
declare type F0ButtonToggleInternalProps = {
|
|
9475
9563
|
/**
|
|
@@ -9618,7 +9706,7 @@ export declare type F0CanvasPanelProps = {
|
|
|
9618
9706
|
side?: "left" | "right";
|
|
9619
9707
|
};
|
|
9620
9708
|
|
|
9621
|
-
export declare const F0Card:
|
|
9709
|
+
export declare const F0Card: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0CardProps & RefAttributes<HTMLDivElement>> & {
|
|
9622
9710
|
Skeleton: ({ compact }: {
|
|
9623
9711
|
compact?: boolean;
|
|
9624
9712
|
}) => JSX_2.Element;
|
|
@@ -9742,7 +9830,7 @@ export declare type F0CardProps = Omit<CardInternalProps, (typeof privateProps_3
|
|
|
9742
9830
|
/**
|
|
9743
9831
|
* @experimental This is an experimental component, use it at your own risk.
|
|
9744
9832
|
*/
|
|
9745
|
-
export declare const F0CardRow:
|
|
9833
|
+
export declare const F0CardRow: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0CardHorizontalProps & RefAttributes<HTMLDivElement>> & {
|
|
9746
9834
|
Skeleton: () => JSX_2.Element;
|
|
9747
9835
|
}>;
|
|
9748
9836
|
|
|
@@ -9766,7 +9854,7 @@ declare type F0CardSelectField = F0BaseField & {
|
|
|
9766
9854
|
renderIf?: CardSelectFieldRenderIf;
|
|
9767
9855
|
};
|
|
9768
9856
|
|
|
9769
|
-
export declare const F0Checkbox:
|
|
9857
|
+
export declare const F0Checkbox: WithDataTestIdReturnType_6<typeof _F0Checkbox>;
|
|
9770
9858
|
|
|
9771
9859
|
declare function _F0Checkbox({ title, description, onCheckedChange, id, disabled, indeterminate, checked, value, hideLabel, presentational, stopPropagation, name, required, ...rest }: CheckboxProps): JSX_2.Element;
|
|
9772
9860
|
|
|
@@ -9796,7 +9884,7 @@ export declare type F0CheckboxField = F0BaseField & {
|
|
|
9796
9884
|
/**
|
|
9797
9885
|
* @experimental This is an experimental component use it at your own risk
|
|
9798
9886
|
*/
|
|
9799
|
-
export declare const F0ChipList:
|
|
9887
|
+
export declare const F0ChipList: WithDataTestIdReturnType_6< {
|
|
9800
9888
|
({ chips, max, remainingCount: initialRemainingCount, layout, }: Props): JSX_2.Element;
|
|
9801
9889
|
displayName: string;
|
|
9802
9890
|
}>;
|
|
@@ -9959,7 +10047,7 @@ declare type F0CustomFieldConfigWithConfig<TValue = unknown, TConfig = unknown>
|
|
|
9959
10047
|
/**
|
|
9960
10048
|
* @experimental This is an experimental component use it at your own risk
|
|
9961
10049
|
*/
|
|
9962
|
-
export declare const F0DataChart: (props:
|
|
10050
|
+
export declare const F0DataChart: (props: F0DataChartProps) => JSX_2.Element;
|
|
9963
10051
|
|
|
9964
10052
|
/**
|
|
9965
10053
|
* A single data point in a bar chart series.
|
|
@@ -10819,14 +10907,14 @@ export declare type F0DateFieldConfig = F0BaseConfig & F0DateConfig & {
|
|
|
10819
10907
|
*/
|
|
10820
10908
|
declare type F0DateOrDateTimeFieldConfig = F0DateFieldConfig | F0TimeFieldConfig | F0DateTimeFieldConfig;
|
|
10821
10909
|
|
|
10822
|
-
export declare const F0DatePicker:
|
|
10910
|
+
export declare const F0DatePicker: WithDataTestIdReturnType_7<typeof F0DatePickerBase>;
|
|
10823
10911
|
|
|
10824
|
-
declare function
|
|
10912
|
+
declare function F0DatePickerBase({ onChange, value, presets, granularities, minDate, maxDate, open, showIcon, displayFormat, selectOnCellOnly, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
10825
10913
|
|
|
10826
|
-
export declare const F0DatePickerInline:
|
|
10914
|
+
export declare const F0DatePickerInline: WithDataTestIdReturnType_7<typeof F0DatePickerInlineBase>;
|
|
10827
10915
|
|
|
10828
10916
|
/** Renders the date as text at rest and the public date picker while editing. */
|
|
10829
|
-
declare function
|
|
10917
|
+
declare function F0DatePickerInlineBase({ editing, onDismiss, ...props }: F0DatePickerInlineProps): JSX_2.Element;
|
|
10830
10918
|
|
|
10831
10919
|
export declare type F0DatePickerInlineDismissReason = (typeof datePickerInlineDismissReasons)[number];
|
|
10832
10920
|
|
|
@@ -10962,7 +11050,7 @@ export declare interface F0DemoCardProps {
|
|
|
10962
11050
|
/**
|
|
10963
11051
|
* @experimental This is an experimental component use it at your own risk
|
|
10964
11052
|
*/
|
|
10965
|
-
export declare const F0Dialog:
|
|
11053
|
+
export declare const F0Dialog: WithDataTestIdReturnType_7<FC<F0DialogInternalProps>>;
|
|
10966
11054
|
|
|
10967
11055
|
declare type F0DialogActionItem = {
|
|
10968
11056
|
value: string;
|
|
@@ -10997,11 +11085,110 @@ declare type F0DialogContextType = {
|
|
|
10997
11085
|
portalContainer: HTMLDivElement | null;
|
|
10998
11086
|
};
|
|
10999
11087
|
|
|
11088
|
+
declare type F0DialogHeaderProps = {
|
|
11089
|
+
title?: string;
|
|
11090
|
+
description?: string;
|
|
11091
|
+
module?: {
|
|
11092
|
+
id: ModuleId;
|
|
11093
|
+
label: string;
|
|
11094
|
+
href: string;
|
|
11095
|
+
};
|
|
11096
|
+
otherActions?: DropdownInternalProps["items"];
|
|
11097
|
+
navigation?: NavigationProps;
|
|
11098
|
+
resourceHeader?: F0ResourceHeaderProps;
|
|
11099
|
+
controls?: DialogControls;
|
|
11100
|
+
headerStatus?: string;
|
|
11101
|
+
/** See {@link F0DialogInternalProps.dismissable} — hides the close button. */
|
|
11102
|
+
dismissable?: boolean;
|
|
11103
|
+
/** See {@link F0DialogInternalProps.inlineTabs}. */
|
|
11104
|
+
inlineTabs?: boolean;
|
|
11105
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
11106
|
+
|
|
11107
|
+
declare type F0DialogInternalProps = {
|
|
11108
|
+
isOpen: boolean;
|
|
11109
|
+
onClose: () => void;
|
|
11110
|
+
/**
|
|
11111
|
+
* Whether the reader can walk away. `false` removes the close button and
|
|
11112
|
+
* stops Escape and a click outside from closing — a forced choice, where the
|
|
11113
|
+
* dialog's own actions are the only way out.
|
|
11114
|
+
*
|
|
11115
|
+
* Use it only when leaving would be worse than being trapped: a decision the
|
|
11116
|
+
* product genuinely cannot proceed without. A dialog nobody can dismiss is a
|
|
11117
|
+
* dead end for anyone who does not understand it.
|
|
11118
|
+
* @default true
|
|
11119
|
+
*/
|
|
11120
|
+
dismissable?: boolean;
|
|
11121
|
+
/**
|
|
11122
|
+
* Whether pressing OUTSIDE the dialog closes it. Escape and the close button
|
|
11123
|
+
* are unaffected — this is the narrow version of {@link dismissable}, which
|
|
11124
|
+
* takes all three away at once.
|
|
11125
|
+
*
|
|
11126
|
+
* Turn it off for a SIDE PANEL that sits beside something the reader is meant
|
|
11127
|
+
* to keep using. A left/right dialog is already non-modal — no overlay, no
|
|
11128
|
+
* focus trap — so the surface next to it is live; but Radix still treats a
|
|
11129
|
+
* click there as "dismiss", which means using the thing beside the panel
|
|
11130
|
+
* closes the panel. That is the case this exists for: a post open next to an
|
|
11131
|
+
* open chat.
|
|
11132
|
+
*
|
|
11133
|
+
* Leave it on (the default) for an ordinary drawer, where clicking away IS
|
|
11134
|
+
* how you close it.
|
|
11135
|
+
* @default true
|
|
11136
|
+
*/
|
|
11137
|
+
dismissOnInteractOutside?: boolean;
|
|
11138
|
+
asBottomSheetInMobile?: boolean;
|
|
11139
|
+
position?: DialogPosition;
|
|
11140
|
+
width?: DialogWidth;
|
|
11141
|
+
primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
|
|
11142
|
+
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
11143
|
+
title?: string;
|
|
11144
|
+
description?: string;
|
|
11145
|
+
module?: F0DialogHeaderProps["module"];
|
|
11146
|
+
otherActions?: F0DialogHeaderProps["otherActions"];
|
|
11147
|
+
navigation?: F0DialogHeaderProps["navigation"];
|
|
11148
|
+
resourceHeader?: F0DialogHeaderProps["resourceHeader"];
|
|
11149
|
+
controls?: F0DialogHeaderProps["controls"];
|
|
11150
|
+
/**
|
|
11151
|
+
* A short reading beside the close button — "3 of 11". Where the dialog says
|
|
11152
|
+
* WHICH of several things it is currently showing.
|
|
11153
|
+
*
|
|
11154
|
+
* Not `navigation`: that draws its own arrows in the header. This is the label
|
|
11155
|
+
* alone, for a dialog whose arrows are somewhere else (`sideControls`).
|
|
11156
|
+
*/
|
|
11157
|
+
headerStatus?: F0DialogHeaderProps["headerStatus"];
|
|
11158
|
+
/**
|
|
11159
|
+
* Controls flanking the panel — see {@link F0DialogSideControls}. On a phone
|
|
11160
|
+
* (where the dialog is a bottom sheet and there is no room beside it) they move
|
|
11161
|
+
* ONTO the panel's own edges instead, which is where a gallery puts them.
|
|
11162
|
+
*/
|
|
11163
|
+
sideControls?: F0DialogSideControls;
|
|
11164
|
+
children: ReactNode;
|
|
11165
|
+
disableContentPadding?: boolean;
|
|
11166
|
+
container?: HTMLElement | null;
|
|
11167
|
+
/**
|
|
11168
|
+
* Seat the tab strip IN the header row, beside the close button, instead of
|
|
11169
|
+
* on its own row beneath it.
|
|
11170
|
+
*
|
|
11171
|
+
* For a dialog whose tabs ARE its title — where the strip is the only thing
|
|
11172
|
+
* naming what the reader is looking at, so a row of its own would be a band
|
|
11173
|
+
* of empty space above it. A dialog that also shows a title, a module or a
|
|
11174
|
+
* resource header keeps the strip below (the default), where it reads as a
|
|
11175
|
+
* second level under the name rather than competing with it.
|
|
11176
|
+
* @default false
|
|
11177
|
+
*/
|
|
11178
|
+
inlineTabs?: boolean;
|
|
11179
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
11180
|
+
|
|
11000
11181
|
export declare type F0DialogPrimaryAction = {
|
|
11001
11182
|
label: string;
|
|
11002
11183
|
icon?: IconType;
|
|
11003
11184
|
iconPosition?: "left" | "right";
|
|
11004
11185
|
onClick: () => void | Promise<void>;
|
|
11186
|
+
/**
|
|
11187
|
+
* `critical` styles the button as destructive, for actions such as delete
|
|
11188
|
+
* that cannot be undone.
|
|
11189
|
+
* @default "default"
|
|
11190
|
+
*/
|
|
11191
|
+
variant?: "default" | "critical";
|
|
11005
11192
|
disabled?: boolean;
|
|
11006
11193
|
/**
|
|
11007
11194
|
* Tooltip shown on hover while the action is `disabled` — use it to explain
|
|
@@ -11040,6 +11227,21 @@ export declare type F0DialogSecondaryAction = {
|
|
|
11040
11227
|
|
|
11041
11228
|
export declare type F0DialogSecondaryActionItem = F0DialogActionItem;
|
|
11042
11229
|
|
|
11230
|
+
/**
|
|
11231
|
+
* Controls FLANKING the panel rather than inside it — the affordance for a
|
|
11232
|
+
* dialog whose content can be changed without closing it (see
|
|
11233
|
+
* `F0CarouselDialog`).
|
|
11234
|
+
*
|
|
11235
|
+
* They are rendered INSIDE the Radix content, so they are inside the focus trap
|
|
11236
|
+
* and reachable by keyboard, and merely positioned outside its box. Anything
|
|
11237
|
+
* portalled next to the dialog instead would be `aria-hidden` and inert, which
|
|
11238
|
+
* is exactly the trap a modal is supposed to set.
|
|
11239
|
+
*/
|
|
11240
|
+
declare type F0DialogSideControls = {
|
|
11241
|
+
previous?: ReactNode;
|
|
11242
|
+
next?: ReactNode;
|
|
11243
|
+
};
|
|
11244
|
+
|
|
11043
11245
|
declare type F0DialogSize = (typeof dialogSizes)[number];
|
|
11044
11246
|
|
|
11045
11247
|
/**
|
|
@@ -11131,6 +11333,8 @@ export declare type F0DrawerActionsProps = DialogAlikeActionsProps;
|
|
|
11131
11333
|
|
|
11132
11334
|
export declare type F0DrawerPosition = (typeof drawerPositions)[number];
|
|
11133
11335
|
|
|
11336
|
+
declare type F0DrawerProps = Omit<DrawerInternalProps, (typeof privateProps_4)[number]>;
|
|
11337
|
+
|
|
11134
11338
|
export declare type F0DropdownButtonProps<T = string> = {
|
|
11135
11339
|
size?: ButtonDropdownSize;
|
|
11136
11340
|
items: ButtonDropdownItem<T>[] | ButtonDropdownGroup<T>[] | ButtonDropdownGroup<T>;
|
|
@@ -11166,7 +11370,7 @@ declare type F0DurationFieldConfig = F0BaseConfig & {
|
|
|
11166
11370
|
size?: DurationInputSize;
|
|
11167
11371
|
};
|
|
11168
11372
|
|
|
11169
|
-
export declare const F0DurationInput:
|
|
11373
|
+
export declare const F0DurationInput: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<F0DurationInputProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
11170
11374
|
|
|
11171
11375
|
export declare interface F0DurationInputProps {
|
|
11172
11376
|
id?: string;
|
|
@@ -11700,7 +11904,7 @@ export declare type F0FileFieldConfig = F0StringFileConfig | F0ArrayFileConfig;
|
|
|
11700
11904
|
/**
|
|
11701
11905
|
* @experimental This is an experimental component, use it at your own risk
|
|
11702
11906
|
*/
|
|
11703
|
-
export declare const F0FileItem:
|
|
11907
|
+
export declare const F0FileItem: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
11704
11908
|
|
|
11705
11909
|
export declare interface F0FileItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
11706
11910
|
file: File | FileDef;
|
|
@@ -11747,11 +11951,11 @@ export declare type F0FilterPickerContentPublicProps<Filters extends FiltersDefi
|
|
|
11747
11951
|
* @experimental This is an experimental component, use it at your own risk
|
|
11748
11952
|
*/
|
|
11749
11953
|
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):
|
|
11954
|
+
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchema<TSchema>): default_2.ReactElement;
|
|
11955
|
+
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionSchema<T>): default_2.ReactElement;
|
|
11956
|
+
<TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchemaDefinition<TSchema>): default_2.ReactElement;
|
|
11957
|
+
<T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionDefinition<T>): default_2.ReactElement;
|
|
11958
|
+
(props: F0FormPropsWithDefinition): default_2.ReactElement;
|
|
11755
11959
|
};
|
|
11756
11960
|
|
|
11757
11961
|
/**
|
|
@@ -12897,7 +13101,7 @@ declare type F0GraphNodeTag = TagVariant & {
|
|
|
12897
13101
|
declare type F0GraphNodeTagColumn = string;
|
|
12898
13102
|
|
|
12899
13103
|
export declare const F0GridStack: WithDataTestIdReturnType_7< {
|
|
12900
|
-
({ options, widgets, onChange, className, static: isStatic, forcePositionSync, }:
|
|
13104
|
+
({ options, widgets, onChange, className, static: isStatic, forcePositionSync, }: F0GridStackProps): JSX_2.Element;
|
|
12901
13105
|
displayName: string;
|
|
12902
13106
|
}>;
|
|
12903
13107
|
|
|
@@ -12914,7 +13118,7 @@ export declare interface F0GridStackProps {
|
|
|
12914
13118
|
forcePositionSync?: number;
|
|
12915
13119
|
}
|
|
12916
13120
|
|
|
12917
|
-
export declare const F0Heading:
|
|
13121
|
+
export declare const F0Heading: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<F0HeadingProps, "ref"> & RefAttributes<HTMLElement>>>;
|
|
12918
13122
|
|
|
12919
13123
|
export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "as"> & {
|
|
12920
13124
|
variant?: (typeof _allowedVariants)[number];
|
|
@@ -12981,7 +13185,7 @@ export declare type F0HILActionConfirmationProps = {
|
|
|
12981
13185
|
onCancel: () => void;
|
|
12982
13186
|
};
|
|
12983
13187
|
|
|
12984
|
-
export declare const F0Icon:
|
|
13188
|
+
export declare const F0Icon: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<Omit<F0IconProps, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
12985
13189
|
|
|
12986
13190
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
12987
13191
|
icon: IconType;
|
|
@@ -12990,7 +13194,7 @@ export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantPro
|
|
|
12990
13194
|
color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
|
|
12991
13195
|
}
|
|
12992
13196
|
|
|
12993
|
-
export declare const F0Link:
|
|
13197
|
+
export declare const F0Link: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<ActionLinkProps, "href" | "variant"> & {
|
|
12994
13198
|
variant?: ActionLinkVariant;
|
|
12995
13199
|
stopPropagation?: boolean;
|
|
12996
13200
|
href?: string;
|
|
@@ -13342,7 +13546,7 @@ export declare type F0NumberFieldConfig<R extends Record<string, unknown> = Reco
|
|
|
13342
13546
|
*/
|
|
13343
13547
|
export declare const F0NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
13344
13548
|
|
|
13345
|
-
declare type F0NumberInputBaseProps = Omit<NumberInputInternalProps, (typeof
|
|
13549
|
+
declare type F0NumberInputBaseProps = Omit<NumberInputInternalProps, (typeof privateProps_5)[number]>;
|
|
13346
13550
|
|
|
13347
13551
|
/**
|
|
13348
13552
|
* Config for number fields - number input
|
|
@@ -13757,7 +13961,7 @@ export declare interface F0QuestionCardStep {
|
|
|
13757
13961
|
options: F0QuestionCardOption[];
|
|
13758
13962
|
}
|
|
13759
13963
|
|
|
13760
|
-
declare type F0ResourceHeaderProps =
|
|
13964
|
+
declare type F0ResourceHeaderProps = Props_2;
|
|
13761
13965
|
|
|
13762
13966
|
/**
|
|
13763
13967
|
* F0 config options specific to rich text fields
|
|
@@ -13871,7 +14075,7 @@ tabIndex?: number;
|
|
|
13871
14075
|
* promise that it matches text.
|
|
13872
14076
|
*/
|
|
13873
14077
|
icon?: IconType;
|
|
13874
|
-
} & Pick<InputFieldProps<string>, "
|
|
14078
|
+
} & Pick<InputFieldProps<string>, "name" | "role" | "aria-activedescendant" | "aria-autocomplete" | "aria-controls" | "aria-expanded" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "disabled" | "placeholder" | "size" | "loading" | "clearable"> & RefAttributes<HTMLInputElement>>;
|
|
13875
14079
|
|
|
13876
14080
|
export declare type F0SearchInputProps = {
|
|
13877
14081
|
value?: string;
|
|
@@ -13943,7 +14147,7 @@ declare interface F0SegmentedControlItem {
|
|
|
13943
14147
|
/**
|
|
13944
14148
|
* @experimental This is an experimental component use it at your own risk
|
|
13945
14149
|
*/
|
|
13946
|
-
export declare const F0Select: <T extends string = string, R = unknown>(props:
|
|
14150
|
+
export declare const F0Select: <T extends string = string, R = unknown>(props: F0SelectProps<T, R> & {
|
|
13947
14151
|
ref?: React.Ref<HTMLButtonElement>;
|
|
13948
14152
|
}) => React.ReactElement;
|
|
13949
14153
|
|
|
@@ -14335,7 +14539,7 @@ export declare type F0SelectVariant = (typeof selectVariants)[number];
|
|
|
14335
14539
|
/**
|
|
14336
14540
|
* @experimental This is an experimental component, use it at your own risk.
|
|
14337
14541
|
*/
|
|
14338
|
-
export declare const F0Slider: ForwardRefExoticComponent<Omit<
|
|
14542
|
+
export declare const F0Slider: ForwardRefExoticComponent<Omit<F0SliderProps & RefAttributes<HTMLDivElement> & WithDataTestIdProps_2, "ref"> & RefAttributes<HTMLDivElement>> & Pick<ForwardRefExoticComponent<F0SliderProps & RefAttributes<HTMLDivElement>>, never> & {
|
|
14339
14543
|
Skeleton: ({ hideLabel }: F0SliderSkeletonProps) => JSX_2.Element;
|
|
14340
14544
|
};
|
|
14341
14545
|
|
|
@@ -14464,13 +14668,13 @@ export declare type F0SwitchField = F0BaseField & {
|
|
|
14464
14668
|
/**
|
|
14465
14669
|
* @experimental This is an experimental component use it at your own risk
|
|
14466
14670
|
*/
|
|
14467
|
-
export declare const F0TableOfContentPopover:
|
|
14671
|
+
export declare const F0TableOfContentPopover: WithDataTestIdReturnType_7<typeof F0TableOfContentPopoverComponent>;
|
|
14468
14672
|
|
|
14469
14673
|
/**
|
|
14470
14674
|
* Internal implementation of the TableOfContentPopover component.
|
|
14471
14675
|
* This component includes all props including private ones.
|
|
14472
14676
|
*/
|
|
14473
|
-
declare function
|
|
14677
|
+
declare function F0TableOfContentPopoverComponent({ title, items, className, activeItem, collapsible, sortable, onReorder, showChildrenCounter, barsAlign, size, variant, portalContainer, }: F0TableOfContentPopoverProps): JSX_2.Element;
|
|
14474
14678
|
|
|
14475
14679
|
declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "showSearchBox" | "title" | "hideChildrenCounter"> {
|
|
14476
14680
|
/** Optional title displayed at the top of the menu popup */
|
|
@@ -14489,20 +14693,20 @@ declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "showSearc
|
|
|
14489
14693
|
portalContainer?: HTMLElement | null;
|
|
14490
14694
|
}
|
|
14491
14695
|
|
|
14492
|
-
export declare const F0TagAlert: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14696
|
+
export declare const F0TagAlert: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagAlertProps & RefAttributes<HTMLDivElement>>>;
|
|
14493
14697
|
|
|
14494
|
-
export declare const F0TagBalance: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14698
|
+
export declare const F0TagBalance: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagBalanceProps & RefAttributes<HTMLDivElement>>>;
|
|
14495
14699
|
|
|
14496
|
-
export declare const F0TagCompany: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14700
|
+
export declare const F0TagCompany: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
14497
14701
|
|
|
14498
|
-
export declare const F0TagDot: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14702
|
+
export declare const F0TagDot: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagDotProps & RefAttributes<HTMLDivElement>>>;
|
|
14499
14703
|
|
|
14500
14704
|
export declare const F0TagList: WithDataTestIdReturnType_4< {
|
|
14501
|
-
<T extends
|
|
14705
|
+
<T extends TagType>({ type, tags, max, remainingCount: initialRemainingCount, }: TagListProps<T>): JSX_2.Element;
|
|
14502
14706
|
displayName: string;
|
|
14503
14707
|
}>;
|
|
14504
14708
|
|
|
14505
|
-
export declare const F0TagPerson: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14709
|
+
export declare const F0TagPerson: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
|
|
14506
14710
|
|
|
14507
14711
|
export declare type F0TagPersonProps = {
|
|
14508
14712
|
src?: string;
|
|
@@ -14510,13 +14714,13 @@ export declare type F0TagPersonProps = {
|
|
|
14510
14714
|
deactivated?: boolean;
|
|
14511
14715
|
};
|
|
14512
14716
|
|
|
14513
|
-
export declare const F0TagRaw: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14717
|
+
export declare const F0TagRaw: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagRawProps & RefAttributes<HTMLDivElement>>>;
|
|
14514
14718
|
|
|
14515
|
-
export declare const F0TagStatus: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14719
|
+
export declare const F0TagStatus: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagStatusProps & RefAttributes<HTMLDivElement>>>;
|
|
14516
14720
|
|
|
14517
|
-
export declare const F0TagTeam: WithDataTestIdReturnType_4<ForwardRefExoticComponent<
|
|
14721
|
+
export declare const F0TagTeam: WithDataTestIdReturnType_4<ForwardRefExoticComponent<TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
14518
14722
|
|
|
14519
|
-
export declare const F0Text:
|
|
14723
|
+
export declare const F0Text: WithDataTestIdReturnType_6<ForwardRefExoticComponent<Omit<F0TextProps, "ref"> & RefAttributes<HTMLElement>>>;
|
|
14520
14724
|
|
|
14521
14725
|
/**
|
|
14522
14726
|
* F0 config options specific to textarea fields
|
|
@@ -14663,7 +14867,7 @@ declare type F0TimeFieldConfig = F0BaseConfig & F0TimeConfig & {
|
|
|
14663
14867
|
/**
|
|
14664
14868
|
* @experimental This is an experimental component use it at your own risk
|
|
14665
14869
|
*/
|
|
14666
|
-
export declare const F0TimelineRow:
|
|
14870
|
+
export declare const F0TimelineRow: WithDataTestIdReturnType_8<(props: F0TimelineRowProps_2) => JSX_2.Element>;
|
|
14667
14871
|
|
|
14668
14872
|
export declare interface F0TimelineRowAction {
|
|
14669
14873
|
/** Button label */
|
|
@@ -14843,7 +15047,7 @@ export declare type F0ToolCall = {
|
|
|
14843
15047
|
* restriction are built in and enabled via props (`onTrackAction`,
|
|
14844
15048
|
* `onMilestone`, `onComplete`, `restrictForwardSeek`).
|
|
14845
15049
|
*/
|
|
14846
|
-
export declare const F0VideoPlayer:
|
|
15050
|
+
export declare const F0VideoPlayer: WithDataTestIdReturnType_7<typeof F0VideoPlayerInternal>;
|
|
14847
15051
|
|
|
14848
15052
|
/**
|
|
14849
15053
|
* Video player built on a native `<video>` element.
|
|
@@ -15120,7 +15324,7 @@ declare type FileDef = {
|
|
|
15120
15324
|
declare type FileFieldRenderIf = CommonRenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
15121
15325
|
|
|
15122
15326
|
/** @deprecated Use F0FileItem */
|
|
15123
|
-
export declare const FileItem:
|
|
15327
|
+
export declare const FileItem: WithDataTestIdReturnType_6<ForwardRefExoticComponent<F0FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
15124
15328
|
|
|
15125
15329
|
/** @deprecated Use F0FileItemProps */
|
|
15126
15330
|
export declare type FileItemProps = F0FileItemProps;
|
|
@@ -16193,6 +16397,14 @@ export declare interface HeaderProps {
|
|
|
16193
16397
|
status?: HeaderStatusProps;
|
|
16194
16398
|
}
|
|
16195
16399
|
|
|
16400
|
+
declare type HeaderProps_2 = {
|
|
16401
|
+
/* Excluded from this release type: disableClose */
|
|
16402
|
+
title?: string;
|
|
16403
|
+
description?: string;
|
|
16404
|
+
module?: DialogModule;
|
|
16405
|
+
otherActions?: DropdownInternalProps["items"];
|
|
16406
|
+
} & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
|
|
16407
|
+
|
|
16196
16408
|
export declare type HeaderSecondaryAction = HeaderSecondaryButtonAction | HeaderSecondaryDropdownAction;
|
|
16197
16409
|
|
|
16198
16410
|
declare type HeaderSecondaryButtonAction = SecondaryAction & {
|
|
@@ -16614,7 +16826,7 @@ declare type InlineValueMinWidth = number | {
|
|
|
16614
16826
|
*/
|
|
16615
16827
|
export declare const Input: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
16616
16828
|
|
|
16617
|
-
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "
|
|
16829
|
+
declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "role" | "onFocus" | "onBlur" | "onChange" | "disabled" | "status" | "maxLength" | "required" | "size" | "loading" | "icon" | "transparent" | "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
16830
|
|
|
16619
16831
|
declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
|
|
16620
16832
|
|
|
@@ -18211,7 +18423,7 @@ export declare type OnDuplicateElementParams = {
|
|
|
18211
18423
|
type: ElementType;
|
|
18212
18424
|
};
|
|
18213
18425
|
|
|
18214
|
-
export declare const OneCalendar:
|
|
18426
|
+
export declare const OneCalendar: WithDataTestIdReturnType_7< {
|
|
18215
18427
|
(props: OneCalendarProps): JSX_2.Element;
|
|
18216
18428
|
displayName: string;
|
|
18217
18429
|
}>;
|
|
@@ -18236,7 +18448,7 @@ export declare interface OneCalendarInternalProps {
|
|
|
18236
18448
|
periods?: DatePeriodsDefinition;
|
|
18237
18449
|
}
|
|
18238
18450
|
|
|
18239
|
-
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof
|
|
18451
|
+
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_6)[number]>;
|
|
18240
18452
|
|
|
18241
18453
|
export declare const OneEllipsis: default_2.ForwardRefExoticComponent<OneEllipsisProps & default_2.RefAttributes<HTMLElement>>;
|
|
18242
18454
|
|
|
@@ -18279,7 +18491,7 @@ declare type OneEllipsisProps = {
|
|
|
18279
18491
|
delay?: number;
|
|
18280
18492
|
};
|
|
18281
18493
|
|
|
18282
|
-
export declare const OneEmptyState:
|
|
18494
|
+
export declare const OneEmptyState: WithDataTestIdReturnType_6<typeof _OneEmptyState>;
|
|
18283
18495
|
|
|
18284
18496
|
declare function _OneEmptyState({ title, description, variant, emoji, actions, ...rest }: Types.OneEmptyStateProps): JSX_2.Element;
|
|
18285
18497
|
|
|
@@ -18882,13 +19094,15 @@ declare const privateProps_2: readonly ["withBorder"];
|
|
|
18882
19094
|
|
|
18883
19095
|
declare const privateProps_3: readonly ["forceVerticalMetadata", "disableOverlayLink"];
|
|
18884
19096
|
|
|
18885
|
-
declare const privateProps_4: readonly ["
|
|
19097
|
+
declare const privateProps_4: readonly ["variant", "disableClose"];
|
|
18886
19098
|
|
|
18887
|
-
declare const privateProps_5: readonly ["
|
|
19099
|
+
declare const privateProps_5: readonly ["buttonToggle", "variant", "editing", "onBlurWithin", "onPressEnter", "onPressEscape", "onDismiss"];
|
|
18888
19100
|
|
|
18889
|
-
declare const privateProps_6: readonly ["
|
|
19101
|
+
declare const privateProps_6: readonly ["compact"];
|
|
18890
19102
|
|
|
18891
|
-
|
|
19103
|
+
declare const privateProps_7: readonly ["className"];
|
|
19104
|
+
|
|
19105
|
+
export declare const ProductBlankslate: WithDataTestIdReturnType_10<ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement>>>;
|
|
18892
19106
|
|
|
18893
19107
|
declare type ProductBlankslateProps = {
|
|
18894
19108
|
title: string;
|
|
@@ -18909,7 +19123,7 @@ declare type ProductBlankslateProps = {
|
|
|
18909
19123
|
};
|
|
18910
19124
|
};
|
|
18911
19125
|
|
|
18912
|
-
export declare const ProductCard:
|
|
19126
|
+
export declare const ProductCard: WithDataTestIdReturnType_10<typeof ProductCardInternal>;
|
|
18913
19127
|
|
|
18914
19128
|
declare function ProductCardInternal({ title, description, onClick, onClose, isVisible, dismissable, trackVisibility, type, ...props }: ProductCardProps): false | JSX_2.Element;
|
|
18915
19129
|
|
|
@@ -18929,7 +19143,7 @@ export declare type ProductCardProps = {
|
|
|
18929
19143
|
type?: never;
|
|
18930
19144
|
});
|
|
18931
19145
|
|
|
18932
|
-
export declare const ProductModal:
|
|
19146
|
+
export declare const ProductModal: WithDataTestIdReturnType_10<typeof ProductModalInternal>;
|
|
18933
19147
|
|
|
18934
19148
|
declare function ProductModalInternal({ isOpen, onClose, title, image, benefits, errorMessage, successMessage, loadingState, nextSteps, closeLabel, primaryAction, modalTitle, modalModule, secondaryAction, portalContainer, tag, promoTag, showResponseDialog, }: ProductModalProps): JSX_2.Element;
|
|
18935
19149
|
|
|
@@ -18976,7 +19190,7 @@ declare type ProductModalProps = {
|
|
|
18976
19190
|
showResponseDialog?: boolean;
|
|
18977
19191
|
};
|
|
18978
19192
|
|
|
18979
|
-
export declare const ProductWidget:
|
|
19193
|
+
export declare const ProductWidget: WithDataTestIdReturnType_10<typeof ProductWidgetInternal>;
|
|
18980
19194
|
|
|
18981
19195
|
declare function ProductWidgetInternal({ mediaUrl, title, description, onClose, dismissible, width, trackVisibility, actions, showConfirmation, }: ProductWidgetProps): JSX_2.Element;
|
|
18982
19196
|
|
|
@@ -19080,13 +19294,13 @@ declare type Props = {
|
|
|
19080
19294
|
layout?: "fill" | "compact";
|
|
19081
19295
|
};
|
|
19082
19296
|
|
|
19297
|
+
declare type Props_2 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
|
|
19298
|
+
|
|
19083
19299
|
declare type Props_3 = {
|
|
19084
19300
|
count: number;
|
|
19085
19301
|
list?: TagCounterItem[];
|
|
19086
19302
|
};
|
|
19087
19303
|
|
|
19088
|
-
declare type Props_4 = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status" | "deactivated" | "metadataRowGap" | "compact" | "showBottomBorder" | "onClose">;
|
|
19089
|
-
|
|
19090
19304
|
export declare type QuestionActionParams = {
|
|
19091
19305
|
questionId: string;
|
|
19092
19306
|
type: ActionType;
|
|
@@ -20274,7 +20488,7 @@ export declare type SurveyDataset = {
|
|
|
20274
20488
|
|
|
20275
20489
|
export declare type SurveyDatasets = Record<string, SurveyDataset>;
|
|
20276
20490
|
|
|
20277
|
-
export declare const SurveyFormBuilder:
|
|
20491
|
+
export declare const SurveyFormBuilder: WithDataTestIdReturnType_9<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, placeholders, labels, skipDefaultSection, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
20278
20492
|
|
|
20279
20493
|
export declare type SurveyFormBuilderCallbacks = {
|
|
20280
20494
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -20378,6 +20592,17 @@ export declare const syncDataCollectionUrlParams: <CurrentFiltersState extends F
|
|
|
20378
20592
|
history?: DataCollectionUrlHistoryMode;
|
|
20379
20593
|
}) => string | null;
|
|
20380
20594
|
|
|
20595
|
+
declare type TabItem = {
|
|
20596
|
+
label: string;
|
|
20597
|
+
index?: boolean;
|
|
20598
|
+
variant?: "default" | "upsell";
|
|
20599
|
+
onClick?: () => void;
|
|
20600
|
+
} & DataAttributes_2 & ({
|
|
20601
|
+
href: string;
|
|
20602
|
+
} | {
|
|
20603
|
+
id: string;
|
|
20604
|
+
});
|
|
20605
|
+
|
|
20381
20606
|
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
20607
|
|
|
20383
20608
|
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 +20885,16 @@ declare type TableVisualizationSettings = {
|
|
|
20660
20885
|
|
|
20661
20886
|
declare type TableVisualizationType = "table" | "editableTable";
|
|
20662
20887
|
|
|
20888
|
+
declare interface TabsProps {
|
|
20889
|
+
tabs: TabItem[];
|
|
20890
|
+
activeTabId?: string;
|
|
20891
|
+
setActiveTabId?: Dispatch<string>;
|
|
20892
|
+
secondary?: boolean;
|
|
20893
|
+
embedded?: boolean;
|
|
20894
|
+
}
|
|
20895
|
+
|
|
20663
20896
|
export declare const Tag: WithDataTestIdReturnType_4<({ tag }: {
|
|
20664
|
-
tag:
|
|
20897
|
+
tag: TagVariant;
|
|
20665
20898
|
}) => ReactNode>;
|
|
20666
20899
|
|
|
20667
20900
|
declare type Tag_2 = (typeof tags)[number];
|
|
@@ -20855,11 +21088,11 @@ declare type TeamTagProps = ComponentProps<typeof F0TagTeam>;
|
|
|
20855
21088
|
*/
|
|
20856
21089
|
export declare const Textarea: FC<F0TextAreaInputProps>;
|
|
20857
21090
|
|
|
20858
|
-
declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "
|
|
21091
|
+
declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onFocus" | "onBlur" | "onChange"> & {
|
|
20859
21092
|
value?: string;
|
|
20860
21093
|
/** Maximum height in pixels. When set, the textarea scrolls beyond this height instead of growing. */
|
|
20861
21094
|
maxHeight?: number;
|
|
20862
|
-
} & Pick<InputFieldProps<string>, "
|
|
21095
|
+
} & Pick<InputFieldProps<string>, "value" | "label" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "status" | "maxLength" | "placeholder" | "required" | "size" | "loading" | "icon" | "hint" | "error" | "hideLabel" | "labelIcon" | "clearable" | "onClear"> & RefAttributes<HTMLTextAreaElement>>;
|
|
20863
21096
|
|
|
20864
21097
|
/**
|
|
20865
21098
|
* All valid renderIf conditions for textarea fields
|
|
@@ -20985,8 +21218,8 @@ declare type TextVariant = NonNullable<TextVariants["variant"]>;
|
|
|
20985
21218
|
declare type TextVariants = VariantProps<typeof textVariants>;
|
|
20986
21219
|
|
|
20987
21220
|
declare const textVariants: (props?: ({
|
|
20988
|
-
variant?: "
|
|
20989
|
-
align?: "center" | "
|
|
21221
|
+
variant?: "small" | "body" | "code" | "label" | "heading" | "selected" | "info" | "description" | "inverse" | "critical" | "warning" | "positive" | "heading-large" | "label-input" | "warning-strong" | "critical-strong" | "positive-strong" | "info-strong" | undefined;
|
|
21222
|
+
align?: "center" | "right" | "left" | undefined;
|
|
20990
21223
|
} & ({
|
|
20991
21224
|
class?: ClassValue;
|
|
20992
21225
|
className?: never;
|
|
@@ -21432,7 +21665,7 @@ declare type UpsellActionDefinition = {
|
|
|
21432
21665
|
/** Returns the upsell action, or undefined to hide it. */
|
|
21433
21666
|
declare type UpsellActionDefinitionFn = () => UpsellActionDefinition | undefined;
|
|
21434
21667
|
|
|
21435
|
-
export declare const UpsellingAlert:
|
|
21668
|
+
export declare const UpsellingAlert: WithDataTestIdReturnType_10<typeof _UpsellingAlert>;
|
|
21436
21669
|
|
|
21437
21670
|
declare function _UpsellingAlert({ icon, title, description, action, onDismiss, }: UpsellingAlertProps): JSX_2.Element;
|
|
21438
21671
|
|
|
@@ -21465,12 +21698,12 @@ export declare interface UpsellingAlertProps {
|
|
|
21465
21698
|
onDismiss?: () => void;
|
|
21466
21699
|
}
|
|
21467
21700
|
|
|
21468
|
-
export declare const UpsellingBanner:
|
|
21701
|
+
export declare const UpsellingBanner: WithDataTestIdReturnType_10<ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
|
|
21469
21702
|
primaryAction?: DefaultAction | PromoteAction;
|
|
21470
21703
|
secondaryAction?: DefaultAction | PromoteAction;
|
|
21471
21704
|
} & RefAttributes<HTMLDivElement>>>;
|
|
21472
21705
|
|
|
21473
|
-
export declare const UpsellingButton:
|
|
21706
|
+
export declare const UpsellingButton: WithDataTestIdReturnType_10<typeof UpsellingButtonInternal>;
|
|
21474
21707
|
|
|
21475
21708
|
declare function UpsellingButtonInternal({ label, showIcon, onRequest, showConfirmation, loading: externalLoading, errorMessage, successMessage, loadingState, nextSteps, closeLabel, variant, onModalStateChange, portalContainer, ...props }: UpsellingButtonProps): JSX_2.Element;
|
|
21476
21709
|
|
|
@@ -21522,7 +21755,7 @@ export declare interface UpsellingButtonProps extends Omit<F0ButtonProps, "icon"
|
|
|
21522
21755
|
portalContainer?: HTMLElement | null;
|
|
21523
21756
|
}
|
|
21524
21757
|
|
|
21525
|
-
export declare const UpsellingPopover:
|
|
21758
|
+
export declare const UpsellingPopover: WithDataTestIdReturnType_10<typeof UpsellingPopoverInternal>;
|
|
21526
21759
|
|
|
21527
21760
|
declare function UpsellingPopoverInternal({ isOpen, setIsOpen, label, variant, size, showIcon, side, align, icon, mediaUrl, title, description, width, trackVisibility, actions, onClick, hideLabel, }: UpsellingPopoverProps): JSX_2.Element;
|
|
21528
21761
|
|
|
@@ -21546,7 +21779,7 @@ declare type UpsellingPopoverProps = {
|
|
|
21546
21779
|
hideLabel?: boolean;
|
|
21547
21780
|
};
|
|
21548
21781
|
|
|
21549
|
-
export declare const UpsellRequestResponseDialog:
|
|
21782
|
+
export declare const UpsellRequestResponseDialog: WithDataTestIdReturnType_10<ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement>>>;
|
|
21550
21783
|
|
|
21551
21784
|
declare interface UpsellRequestResponseDialogProps {
|
|
21552
21785
|
open: boolean;
|
|
@@ -22808,9 +23041,9 @@ declare namespace Calendar {
|
|
|
22808
23041
|
|
|
22809
23042
|
declare module "@tiptap/core" {
|
|
22810
23043
|
interface Commands<ReturnType> {
|
|
22811
|
-
|
|
22812
|
-
|
|
22813
|
-
|
|
23044
|
+
fontSize: {
|
|
23045
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
23046
|
+
unsetFontSize: () => ReturnType;
|
|
22814
23047
|
};
|
|
22815
23048
|
}
|
|
22816
23049
|
}
|
|
@@ -22818,11 +23051,9 @@ declare module "@tiptap/core" {
|
|
|
22818
23051
|
|
|
22819
23052
|
declare module "@tiptap/core" {
|
|
22820
23053
|
interface Commands<ReturnType> {
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
|
|
22824
|
-
}) => ReturnType;
|
|
22825
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
23054
|
+
aiBlock: {
|
|
23055
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
23056
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
22826
23057
|
};
|
|
22827
23058
|
}
|
|
22828
23059
|
}
|
|
@@ -22830,9 +23061,10 @@ declare module "@tiptap/core" {
|
|
|
22830
23061
|
|
|
22831
23062
|
declare module "@tiptap/core" {
|
|
22832
23063
|
interface Commands<ReturnType> {
|
|
22833
|
-
|
|
22834
|
-
|
|
22835
|
-
|
|
23064
|
+
indent: {
|
|
23065
|
+
setIndent: (level: number) => ReturnType;
|
|
23066
|
+
unsetIndent: () => ReturnType;
|
|
23067
|
+
outdent: () => ReturnType;
|
|
22836
23068
|
};
|
|
22837
23069
|
}
|
|
22838
23070
|
}
|
|
@@ -22840,10 +23072,11 @@ declare module "@tiptap/core" {
|
|
|
22840
23072
|
|
|
22841
23073
|
declare module "@tiptap/core" {
|
|
22842
23074
|
interface Commands<ReturnType> {
|
|
22843
|
-
|
|
22844
|
-
|
|
22845
|
-
|
|
22846
|
-
|
|
23075
|
+
enhanceHighlight: {
|
|
23076
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
23077
|
+
placeholder?: string;
|
|
23078
|
+
}) => ReturnType;
|
|
23079
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
22847
23080
|
};
|
|
22848
23081
|
}
|
|
22849
23082
|
}
|