@factorialco/f0-react 1.376.1 → 1.378.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/{DataCollectionStorageProvider-DYikAZhp.js → DataCollectionStorageProvider-C107DYaA.js} +15784 -14216
- package/dist/F0AiChat-Bza8zqLg.js +134780 -0
- package/dist/{F0HILActionConfirmation-DqkMrDGj.js → F0HILActionConfirmation-DVS7vYT1.js} +388 -211
- package/dist/ai.d.ts +21 -13
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +144 -135
- package/dist/experimental.js +15957 -13023
- package/dist/f0.d.ts +263 -232
- package/dist/f0.js +5019 -4252
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/F0AiChat-Bb12WR9x.js +0 -117826
package/dist/f0.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AgentState } from '@livekit/components-react';
|
|
2
2
|
import { AIMessage } from '@copilotkit/shared';
|
|
3
|
+
import { AlertAvatarProps as AlertAvatarProps_2 } from './F0AvatarAlert';
|
|
3
4
|
import { AlertTagCellValue } from '../../../ui/value-display/types/alertTag';
|
|
4
5
|
import { AlertTagCellValue as AlertTagCellValue_2 } from './types/alertTag';
|
|
5
6
|
import { AmountCellValue } from '../../../ui/value-display/types/amount';
|
|
@@ -8,10 +9,14 @@ import { AnchorHTMLAttributes } from 'react';
|
|
|
8
9
|
import { AriaAttributes } from 'react';
|
|
9
10
|
import { AssistantMessageProps } from '@copilotkit/react-ui';
|
|
10
11
|
import { AutoFill as AutoFill_2 } from 'react';
|
|
12
|
+
import { AvatarBadge as AvatarBadge_2 } from '../F0Avatar';
|
|
13
|
+
import { AvatarFileSize as AvatarFileSize_2 } from './types';
|
|
11
14
|
import { AvatarListCellValue } from '../../../ui/value-display/types/avatarList';
|
|
12
15
|
import { AvatarListCellValue as AvatarListCellValue_2 } from './types/avatarList';
|
|
13
16
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
17
|
+
import { AvatarProps } from './F0Avatar';
|
|
14
18
|
import { AvatarProps as AvatarProps_2 } from '@radix-ui/react-avatar';
|
|
19
|
+
import { BaseAvatarProps as BaseAvatarProps_2 } from '../internal/BaseAvatar';
|
|
15
20
|
import { baseColors } from '@factorialco/f0-core';
|
|
16
21
|
import { BigNumberProps as BigNumberProps_2 } from './types';
|
|
17
22
|
import { BlockContentExtraProps } from './blocks/BlockContent';
|
|
@@ -35,13 +40,27 @@ import { DateFilterOptions } from './DateFilter/DateFilter';
|
|
|
35
40
|
import { default as default_2 } from 'react';
|
|
36
41
|
import { DotTagCellValue } from '../../../ui/value-display/types/dotTag';
|
|
37
42
|
import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
|
|
43
|
+
import { F0AvatarCompanyProps as F0AvatarCompanyProps_2 } from './types';
|
|
44
|
+
import { F0AvatarDateProps } from './F0AvatarDate';
|
|
45
|
+
import { F0AvatarEmojiProps as F0AvatarEmojiProps_2 } from './F0AvatarEmoji';
|
|
46
|
+
import { F0AvatarIconProps as F0AvatarIconProps_2 } from './F0AvatarIcon';
|
|
47
|
+
import { F0AvatarListProps as F0AvatarListProps_2 } from './types';
|
|
48
|
+
import { F0AvatarPersonProps as F0AvatarPersonProps_2 } from './types';
|
|
49
|
+
import { F0AvatarTeamProps as F0AvatarTeamProps_2 } from './F0AvatarTeam';
|
|
38
50
|
import { F0DialogInternalProps } from './internal-types';
|
|
39
51
|
import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
|
|
40
|
-
import {
|
|
52
|
+
import { F0TagBalanceProps } from './types';
|
|
53
|
+
import { F0TagCompanyProps } from './types';
|
|
54
|
+
import { F0TagListProps } from './types';
|
|
55
|
+
import { F0TagPersonProps as F0TagPersonProps_2 } from './types';
|
|
56
|
+
import { F0TagRawProps } from './types';
|
|
57
|
+
import { F0TagStatusProps } from './types';
|
|
58
|
+
import { F0TagTeamProps } from './types';
|
|
41
59
|
import { f1Colors } from '@factorialco/f0-core';
|
|
42
60
|
import { FC } from 'react';
|
|
43
61
|
import { FileCellValue } from '../../../ui/value-display/types/file';
|
|
44
62
|
import { FileCellValue as FileCellValue_2 } from './types/file';
|
|
63
|
+
import { FileDef as FileDef_2 } from './types';
|
|
45
64
|
import { FolderCellValue } from '../../../ui/value-display/types/folder';
|
|
46
65
|
import { FolderCellValue as FolderCellValue_2 } from './types/folder';
|
|
47
66
|
import { ForwardedRef } from 'react';
|
|
@@ -81,6 +100,7 @@ import { PieChartProps } from './PieChart';
|
|
|
81
100
|
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
82
101
|
import { ProgressBarCellValue } from '../../../ui/value-display/types/progressBar';
|
|
83
102
|
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
|
|
103
|
+
import { Props as Props_2 } from './types';
|
|
84
104
|
import * as React_2 from 'react';
|
|
85
105
|
import { ReactElement } from 'react';
|
|
86
106
|
import { ReactNode } from 'react';
|
|
@@ -97,6 +117,8 @@ import { TagCellValue } from '../../../ui/value-display/types/tag';
|
|
|
97
117
|
import { TagCellValue as TagCellValue_2 } from './types/tag';
|
|
98
118
|
import { TagListCellValue } from '../../../ui/value-display/types/tagList';
|
|
99
119
|
import { TagListCellValue as TagListCellValue_2 } from './types/tagList';
|
|
120
|
+
import { TagType as TagType_2 } from './types';
|
|
121
|
+
import { TagVariant as TagVariant_2 } from './F0Tag';
|
|
100
122
|
import { TeamCellValue } from '../../../ui/value-display/types/team';
|
|
101
123
|
import { TeamCellValue as TeamCellValue_2 } from './types/team';
|
|
102
124
|
import { TextCellValue } from '../../../ui/value-display/types/text';
|
|
@@ -104,6 +126,11 @@ import { TextCellValue as TextCellValue_2 } from './types/text';
|
|
|
104
126
|
import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
|
|
105
127
|
import { ValueDisplayRendererContext } from '../../../ui/value-display';
|
|
106
128
|
import { VariantProps } from 'cva';
|
|
129
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../lib/data-testid';
|
|
130
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from '../../lib/data-testid';
|
|
131
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_4 } from '../../../lib/data-testid';
|
|
132
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_5 } from '../../f0';
|
|
133
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_6 } from '../../lib/data-testid/index.tsx';
|
|
107
134
|
import { z } from 'zod';
|
|
108
135
|
import { ZodEffects } from 'zod';
|
|
109
136
|
import { ZodRawShape } from 'zod';
|
|
@@ -508,12 +535,12 @@ declare type AnimationVariantsOptions = {
|
|
|
508
535
|
maxDelay?: number;
|
|
509
536
|
};
|
|
510
537
|
|
|
511
|
-
export declare const AreaChart: ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
538
|
+
export declare const AreaChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
512
539
|
lineType?: "step" | "linear" | "natural" | "monotoneX";
|
|
513
540
|
marginTop?: number;
|
|
514
541
|
canBeBlurred?: boolean;
|
|
515
542
|
blurArea?: "l" | "r" | "lr";
|
|
516
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
543
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
517
544
|
|
|
518
545
|
declare type AsAllowedList = (typeof allTags)[number];
|
|
519
546
|
|
|
@@ -545,11 +572,6 @@ export declare type AvatarListSize = (typeof avatarListSizes)[number];
|
|
|
545
572
|
|
|
546
573
|
declare const avatarListSizes: readonly ["xs", "sm", "md"];
|
|
547
574
|
|
|
548
|
-
declare type AvatarProps = {
|
|
549
|
-
avatar: AvatarVariant_2;
|
|
550
|
-
size?: AvatarSize;
|
|
551
|
-
};
|
|
552
|
-
|
|
553
575
|
declare type AvatarSize = (typeof avatarSizes)[number];
|
|
554
576
|
|
|
555
577
|
declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
@@ -590,9 +612,14 @@ export declare type AvatarVariants = (typeof avatarVariants)[number];
|
|
|
590
612
|
|
|
591
613
|
export declare const avatarVariants: readonly ["person", "team", "company", "file", "flag"];
|
|
592
614
|
|
|
593
|
-
export declare const Await:
|
|
615
|
+
export declare const Await: AwaitGeneric;
|
|
594
616
|
|
|
595
|
-
|
|
617
|
+
/**
|
|
618
|
+
* Generic component type so <Await resolve={value}> correctly types children as (value: T) => ReactNode.
|
|
619
|
+
*/
|
|
620
|
+
declare type AwaitGeneric = <T>(props: AwaitProps<T> & WithDataTestIdProps) => ReactNode;
|
|
621
|
+
|
|
622
|
+
export declare type AwaitProps<T> = {
|
|
596
623
|
resolve: Promise<T> | T;
|
|
597
624
|
fallback: ReactNode;
|
|
598
625
|
error?: ReactNode;
|
|
@@ -629,7 +656,7 @@ declare type BannerAction = {
|
|
|
629
656
|
icon?: IconType;
|
|
630
657
|
};
|
|
631
658
|
|
|
632
|
-
export declare const BarChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
659
|
+
export declare const BarChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
633
660
|
type?: "simple" | "stacked" | "stacked-by-sign";
|
|
634
661
|
label?: boolean;
|
|
635
662
|
legend?: boolean;
|
|
@@ -641,7 +668,7 @@ values: {
|
|
|
641
668
|
[x: string]: number;
|
|
642
669
|
};
|
|
643
670
|
}) => void) | undefined;
|
|
644
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
671
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
645
672
|
|
|
646
673
|
declare type BaseAction = {
|
|
647
674
|
label: string;
|
|
@@ -852,16 +879,16 @@ declare const boxVariants: (props?: ({
|
|
|
852
879
|
overflowX?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
853
880
|
overflowY?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
854
881
|
borderColor?: "info" | "bold" | "default" | "secondary" | "critical" | "warning" | "positive" | "promote" | "selected" | "critical-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-bold" | undefined;
|
|
855
|
-
border?: "
|
|
856
|
-
borderTop?: "
|
|
857
|
-
borderBottom?: "
|
|
858
|
-
borderLeft?: "
|
|
859
|
-
borderRight?: "
|
|
860
|
-
borderRadius?: "
|
|
861
|
-
borderRadiusTopLeft?: "
|
|
862
|
-
borderRadiusTopRight?: "
|
|
863
|
-
borderRadiusBottomLeft?: "
|
|
864
|
-
borderRadiusBottomRight?: "
|
|
882
|
+
border?: "none" | "default" | "thick" | undefined;
|
|
883
|
+
borderTop?: "none" | "default" | "thick" | undefined;
|
|
884
|
+
borderBottom?: "none" | "default" | "thick" | undefined;
|
|
885
|
+
borderLeft?: "none" | "default" | "thick" | undefined;
|
|
886
|
+
borderRight?: "none" | "default" | "thick" | undefined;
|
|
887
|
+
borderRadius?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
888
|
+
borderRadiusTopLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
889
|
+
borderRadiusTopRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
890
|
+
borderRadiusBottomLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
891
|
+
borderRadiusBottomRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
865
892
|
borderStyle?: "none" | "dashed" | "dotted" | "double" | "solid" | undefined;
|
|
866
893
|
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;
|
|
867
894
|
width?: SizeToken_2 | undefined;
|
|
@@ -875,28 +902,28 @@ declare const boxVariants: (props?: ({
|
|
|
875
902
|
colSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "full" | undefined;
|
|
876
903
|
colStart?: "1" | "2" | "3" | "4" | "auto" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | undefined;
|
|
877
904
|
rowSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "full" | undefined;
|
|
878
|
-
gap?: "
|
|
905
|
+
gap?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
879
906
|
alignItems?: "center" | "end" | "baseline" | "start" | "stretch" | undefined;
|
|
880
907
|
justifyContent?: "center" | "end" | "start" | "between" | "stretch" | "around" | "evenly" | undefined;
|
|
881
908
|
flexDirection?: "row" | "column" | "column-reverse" | "row-reverse" | undefined;
|
|
882
909
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
883
910
|
grow?: boolean | undefined;
|
|
884
911
|
shrink?: boolean | undefined;
|
|
885
|
-
margin?: "
|
|
886
|
-
marginX?: "
|
|
887
|
-
marginY?: "
|
|
888
|
-
marginTop?: "
|
|
889
|
-
marginBottom?: "
|
|
890
|
-
marginLeft?: "
|
|
891
|
-
marginRight?: "
|
|
892
|
-
padding?: "
|
|
893
|
-
paddingX?: "
|
|
894
|
-
paddingY?: "
|
|
895
|
-
paddingTop?: "
|
|
896
|
-
paddingBottom?: "
|
|
897
|
-
paddingLeft?: "
|
|
898
|
-
paddingRight?: "
|
|
899
|
-
display?: "block" | "
|
|
912
|
+
margin?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
913
|
+
marginX?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
914
|
+
marginY?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
915
|
+
marginTop?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
916
|
+
marginBottom?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
917
|
+
marginLeft?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
918
|
+
marginRight?: "none" | "lg" | "md" | "sm" | "xs" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
919
|
+
padding?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
920
|
+
paddingX?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
921
|
+
paddingY?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
922
|
+
paddingTop?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
923
|
+
paddingBottom?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
924
|
+
paddingLeft?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
925
|
+
paddingRight?: "none" | "lg" | "md" | "sm" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
926
|
+
display?: "block" | "inline" | "flex" | "grid" | "inline-flex" | "none" | undefined;
|
|
900
927
|
position?: "fixed" | "sticky" | "absolute" | "relative" | "static" | undefined;
|
|
901
928
|
} & ({
|
|
902
929
|
class?: ClassValue;
|
|
@@ -1289,7 +1316,7 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1289
1316
|
compact?: boolean;
|
|
1290
1317
|
};
|
|
1291
1318
|
|
|
1292
|
-
export declare const CategoryBarChart: ForwardRefExoticComponent<Omit<CategoryBarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
1319
|
+
export declare const CategoryBarChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<CategoryBarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
1293
1320
|
|
|
1294
1321
|
export declare const ChatSpinner: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
1295
1322
|
|
|
@@ -1459,7 +1486,7 @@ declare const columnWidths: {
|
|
|
1459
1486
|
readonly fit: 1;
|
|
1460
1487
|
};
|
|
1461
1488
|
|
|
1462
|
-
export declare const ComboChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
1489
|
+
export declare const ComboChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
1463
1490
|
label?: boolean;
|
|
1464
1491
|
legend?: boolean;
|
|
1465
1492
|
showValueUnderLabel?: boolean;
|
|
@@ -1490,7 +1517,7 @@ values: {
|
|
|
1490
1517
|
[x: string]: number;
|
|
1491
1518
|
};
|
|
1492
1519
|
}) => void) | undefined;
|
|
1493
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
1520
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
1494
1521
|
|
|
1495
1522
|
/**
|
|
1496
1523
|
* Common condition available for all field types
|
|
@@ -1612,7 +1639,7 @@ declare interface CustomFieldRenderPropsBase {
|
|
|
1612
1639
|
required?: boolean;
|
|
1613
1640
|
}
|
|
1614
1641
|
|
|
1615
|
-
export declare const Dashboard: ComponentType<DashboardProps_2> & PageLayoutGroupComponent_2
|
|
1642
|
+
export declare const Dashboard: WithDataTestIdReturnType_3<ComponentType<DashboardProps_2> & PageLayoutGroupComponent_2>;
|
|
1616
1643
|
|
|
1617
1644
|
export declare type DashboardProps = GroupGridProps<DashboardWidget>;
|
|
1618
1645
|
|
|
@@ -2829,7 +2856,7 @@ export declare interface F0AiCollapsibleMessageProps {
|
|
|
2829
2856
|
*/
|
|
2830
2857
|
export declare const F0AiFullscreenChat: () => JSX_2.Element | null;
|
|
2831
2858
|
|
|
2832
|
-
export declare const F0Alert: ({ title, description, action, link, icon, variant, }: F0AlertProps) => JSX_2.Element
|
|
2859
|
+
export declare const F0Alert: WithDataTestIdReturnType_3<({ title, description, action, link, icon, variant, }: F0AlertProps) => JSX_2.Element>;
|
|
2833
2860
|
|
|
2834
2861
|
export declare interface F0AlertProps {
|
|
2835
2862
|
title: string;
|
|
@@ -2878,14 +2905,14 @@ declare const F0AuraVoiceAnimationVariants: (props?: ({
|
|
|
2878
2905
|
className?: ClassValue;
|
|
2879
2906
|
})) | undefined) => string;
|
|
2880
2907
|
|
|
2881
|
-
export declare const F0Avatar: ({ avatar, size }: AvatarProps) => ReactNode
|
|
2908
|
+
export declare const F0Avatar: WithDataTestIdReturnType_4<({ avatar, size, dataTestId, }: AvatarProps) => ReactNode>;
|
|
2882
2909
|
|
|
2883
|
-
export declare const F0AvatarAlert: ({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }:
|
|
2910
|
+
export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps_2) => JSX_2.Element>;
|
|
2884
2911
|
|
|
2885
|
-
export declare const F0AvatarCompany: {
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
}
|
|
2912
|
+
export declare const F0AvatarCompany: WithDataTestIdReturnType_4< {
|
|
2913
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarCompanyProps_2): JSX_2.Element;
|
|
2914
|
+
displayName: string;
|
|
2915
|
+
}>;
|
|
2889
2916
|
|
|
2890
2917
|
export declare type F0AvatarCompanyProps = {
|
|
2891
2918
|
name: string;
|
|
@@ -2894,31 +2921,27 @@ export declare type F0AvatarCompanyProps = {
|
|
|
2894
2921
|
badge?: AvatarBadge;
|
|
2895
2922
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
2896
2923
|
|
|
2897
|
-
export declare const F0AvatarDate: ({ date, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarDateProps) => JSX_2.Element
|
|
2898
|
-
|
|
2899
|
-
declare type F0AvatarDateProps = {
|
|
2900
|
-
date: Date;
|
|
2901
|
-
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
2924
|
+
export declare const F0AvatarDate: WithDataTestIdReturnType_4<({ date, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarDateProps) => JSX_2.Element>;
|
|
2902
2925
|
|
|
2903
|
-
export declare const F0AvatarEmoji: {
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
}
|
|
2926
|
+
export declare const F0AvatarEmoji: WithDataTestIdReturnType_4< {
|
|
2927
|
+
({ emoji, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarEmojiProps_2): JSX_2.Element;
|
|
2928
|
+
displayName: string;
|
|
2929
|
+
}>;
|
|
2907
2930
|
|
|
2908
2931
|
export declare type F0AvatarEmojiProps = {
|
|
2909
2932
|
emoji: string;
|
|
2910
2933
|
size?: (typeof avatarEmojiSizes)[number];
|
|
2911
2934
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
2912
2935
|
|
|
2913
|
-
export declare const F0AvatarFile: ForwardRefExoticComponent<Omit<Omit<Omit<AvatarProps_2 & RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
2936
|
+
export declare const F0AvatarFile: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<Omit<Omit<AvatarProps_2 & RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
2914
2937
|
size?: internalAvatarSizes_2[number];
|
|
2915
2938
|
type?: internalAvatarTypes_2[number];
|
|
2916
2939
|
color?: internalAvatarColors_2[number];
|
|
2917
2940
|
} & RefAttributes<HTMLSpanElement>, "ref">, "type" | "size"> & {
|
|
2918
|
-
file:
|
|
2919
|
-
size?:
|
|
2920
|
-
badge?:
|
|
2921
|
-
} & Pick<
|
|
2941
|
+
file: FileDef_2;
|
|
2942
|
+
size?: AvatarFileSize_2;
|
|
2943
|
+
badge?: AvatarBadge_2;
|
|
2944
|
+
} & Pick<BaseAvatarProps_2, "aria-label" | "aria-labelledby"> & RefAttributes<HTMLSpanElement>>>;
|
|
2922
2945
|
|
|
2923
2946
|
export declare type F0AvatarFileProps = Omit<React.ComponentPropsWithoutRef<typeof Avatar>, "type" | "size"> & {
|
|
2924
2947
|
file: FileDef;
|
|
@@ -2932,20 +2955,20 @@ declare type F0AvatarFlagProps = {
|
|
|
2932
2955
|
badge?: AvatarBadge;
|
|
2933
2956
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
2934
2957
|
|
|
2935
|
-
export declare const F0AvatarIcon: {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
}
|
|
2958
|
+
export declare const F0AvatarIcon: WithDataTestIdReturnType_4< {
|
|
2959
|
+
({ icon, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: F0AvatarIconProps_2): JSX_2.Element;
|
|
2960
|
+
displayName: string;
|
|
2961
|
+
}>;
|
|
2939
2962
|
|
|
2940
2963
|
export declare type F0AvatarIconProps = {
|
|
2941
2964
|
icon: IconType;
|
|
2942
2965
|
size?: (typeof avatarIconSizes)[number];
|
|
2943
2966
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
2944
2967
|
|
|
2945
|
-
export declare const F0AvatarList: {
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
}
|
|
2968
|
+
export declare const F0AvatarList: WithDataTestIdReturnType_4< {
|
|
2969
|
+
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, }: F0AvatarListProps_2): JSX_2.Element;
|
|
2970
|
+
displayName: string;
|
|
2971
|
+
}>;
|
|
2949
2972
|
|
|
2950
2973
|
export declare type F0AvatarListProps = {
|
|
2951
2974
|
/**
|
|
@@ -2993,22 +3016,24 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
2993
3016
|
avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
2994
3017
|
};
|
|
2995
3018
|
|
|
3019
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof F0AvatarModule_2>;
|
|
3020
|
+
|
|
2996
3021
|
/**
|
|
2997
3022
|
* Module avatar
|
|
2998
3023
|
* @description A component that displays a module avatar
|
|
2999
3024
|
* @experimental
|
|
3000
3025
|
* @returns
|
|
3001
3026
|
*/
|
|
3002
|
-
|
|
3027
|
+
declare function F0AvatarModule_2({ size, module, ...props }: F0AvatarModuleProps): JSX_2.Element;
|
|
3003
3028
|
|
|
3004
3029
|
export declare type F0AvatarModuleProps = VariantProps<typeof moduleAvatarVariants> & {
|
|
3005
3030
|
module: ModuleId;
|
|
3006
3031
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
3007
3032
|
|
|
3008
|
-
export declare const F0AvatarPerson: {
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
}
|
|
3033
|
+
export declare const F0AvatarPerson: WithDataTestIdReturnType_4< {
|
|
3034
|
+
({ firstName, lastName, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, deactivated, }: F0AvatarPersonProps_2): JSX_2.Element;
|
|
3035
|
+
displayName: string;
|
|
3036
|
+
}>;
|
|
3012
3037
|
|
|
3013
3038
|
export declare type F0AvatarPersonProps = {
|
|
3014
3039
|
/**
|
|
@@ -3037,10 +3062,10 @@ export declare type F0AvatarPersonProps = {
|
|
|
3037
3062
|
deactivated?: boolean;
|
|
3038
3063
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
3039
3064
|
|
|
3040
|
-
export declare const F0AvatarTeam: {
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
}
|
|
3065
|
+
export declare const F0AvatarTeam: WithDataTestIdReturnType_4< {
|
|
3066
|
+
({ name, src, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, badge, }: F0AvatarTeamProps_2): JSX_2.Element;
|
|
3067
|
+
displayName: string;
|
|
3068
|
+
}>;
|
|
3044
3069
|
|
|
3045
3070
|
export declare type F0AvatarTeamProps = {
|
|
3046
3071
|
/**
|
|
@@ -3163,12 +3188,12 @@ declare type F0BaseFieldRenderIfFunction = (context: {
|
|
|
3163
3188
|
*/
|
|
3164
3189
|
declare type F0BaseFieldRenderIfProp = RenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
3165
3190
|
|
|
3166
|
-
export declare const F0BigNumber: {
|
|
3167
|
-
|
|
3168
|
-
|
|
3191
|
+
export declare const F0BigNumber: WithDataTestIdReturnType_3< {
|
|
3192
|
+
({ label, ...props }: BigNumberProps_2): JSX_2.Element;
|
|
3193
|
+
displayName: string;
|
|
3169
3194
|
} & {
|
|
3170
|
-
|
|
3171
|
-
}
|
|
3195
|
+
Skeleton: () => JSX_2.Element;
|
|
3196
|
+
}>;
|
|
3172
3197
|
|
|
3173
3198
|
/**
|
|
3174
3199
|
* Config for boolean fields - checkbox
|
|
@@ -3202,11 +3227,11 @@ export declare interface F0BoxProps extends Omit<React.ComponentPropsWithoutRef<
|
|
|
3202
3227
|
xl?: ResponsiveStyleProps;
|
|
3203
3228
|
}
|
|
3204
3229
|
|
|
3205
|
-
export declare const F0Button: ForwardRefExoticComponent<Omit<ButtonInternalProps, "style" | "className" | "variant" | "pressed" | "append" | "compact" | "noAutoTooltip" | "noTitle"> & {
|
|
3230
|
+
export declare const F0Button: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<ButtonInternalProps, "style" | "className" | "variant" | "pressed" | "append" | "compact" | "noAutoTooltip" | "noTitle"> & {
|
|
3206
3231
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
3207
|
-
} & RefAttributes<HTMLAnchorElement | HTMLButtonElement
|
|
3232
|
+
} & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>;
|
|
3208
3233
|
|
|
3209
|
-
export declare const F0ButtonDropdown: ({ onClick, value, ...props }: F0ButtonDropdownProps) => JSX_2.Element | undefined
|
|
3234
|
+
export declare const F0ButtonDropdown: WithDataTestIdReturnType_6<({ onClick, value, ...props }: F0ButtonDropdownProps) => JSX_2.Element | undefined>;
|
|
3210
3235
|
|
|
3211
3236
|
export declare type F0ButtonDropdownProps<T = string> = {
|
|
3212
3237
|
/**
|
|
@@ -3254,7 +3279,7 @@ export declare type F0ButtonProps = Omit<ButtonInternalProps, (typeof privatePro
|
|
|
3254
3279
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
3255
3280
|
};
|
|
3256
3281
|
|
|
3257
|
-
export declare const F0ButtonToggle: ForwardRefExoticComponent<F0ButtonToggleProps & RefAttributes<HTMLButtonElement
|
|
3282
|
+
export declare const F0ButtonToggle: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0ButtonToggleProps & RefAttributes<HTMLButtonElement>>>;
|
|
3258
3283
|
|
|
3259
3284
|
declare type F0ButtonToggleInternalProps = {
|
|
3260
3285
|
/**
|
|
@@ -3298,18 +3323,18 @@ declare type F0ButtonToggleInternalProps = {
|
|
|
3298
3323
|
|
|
3299
3324
|
export declare type F0ButtonToggleProps = Omit<F0ButtonToggleInternalProps, (typeof privateProps_2)[number]>;
|
|
3300
3325
|
|
|
3301
|
-
export declare const F0Card: ForwardRefExoticComponent<F0CardProps & RefAttributes<HTMLDivElement>> & {
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
}
|
|
3326
|
+
export declare const F0Card: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0CardProps & RefAttributes<HTMLDivElement>> & {
|
|
3327
|
+
Skeleton: ({ compact }: {
|
|
3328
|
+
compact?: boolean;
|
|
3329
|
+
}) => JSX_2.Element;
|
|
3330
|
+
}>;
|
|
3306
3331
|
|
|
3307
3332
|
export declare type F0CardProps = Omit<CardInternalProps, (typeof privateProps_3)[number]>;
|
|
3308
3333
|
|
|
3309
3334
|
/**
|
|
3310
3335
|
* @experimental This is an experimental component use it at your own risk
|
|
3311
3336
|
*/
|
|
3312
|
-
export declare const F0Checkbox: typeof _F0Checkbox
|
|
3337
|
+
export declare const F0Checkbox: WithDataTestIdReturnType_3<typeof _F0Checkbox>;
|
|
3313
3338
|
|
|
3314
3339
|
declare function _F0Checkbox({ title, onCheckedChange, id, disabled, indeterminate, checked, value, hideLabel, presentational, stopPropagation, name, required, ...rest }: CheckboxProps): JSX_2.Element;
|
|
3315
3340
|
|
|
@@ -3332,10 +3357,10 @@ export declare type F0CheckboxField = F0BaseField & {
|
|
|
3332
3357
|
/**
|
|
3333
3358
|
* @experimental This is an experimental component use it at your own risk
|
|
3334
3359
|
*/
|
|
3335
|
-
export declare const F0ChipList: {
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
}
|
|
3360
|
+
export declare const F0ChipList: WithDataTestIdReturnType_3< {
|
|
3361
|
+
({ chips, max, remainingCount: initialRemainingCount, layout, }: Props): JSX_2.Element;
|
|
3362
|
+
displayName: string;
|
|
3363
|
+
}>;
|
|
3339
3364
|
|
|
3340
3365
|
/**
|
|
3341
3366
|
* F0 config options specific to custom fields
|
|
@@ -3542,7 +3567,7 @@ declare type F0DateOrDateTimeFieldConfig = F0DateFieldConfig | F0TimeFieldConfig
|
|
|
3542
3567
|
/**
|
|
3543
3568
|
* @experimental This is an experimental component use it at your own risk
|
|
3544
3569
|
*/
|
|
3545
|
-
export declare const F0DatePicker: typeof F0DatePicker_2
|
|
3570
|
+
export declare const F0DatePicker: WithDataTestIdReturnType_3<typeof F0DatePicker_2>;
|
|
3546
3571
|
|
|
3547
3572
|
declare function F0DatePicker_2({ onChange, value, presets, granularities, minDate, maxDate, open, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
3548
3573
|
|
|
@@ -3637,7 +3662,7 @@ export declare type F0DateTimeFieldConfig = F0BaseConfig & F0DateTimeConfig & {
|
|
|
3637
3662
|
/**
|
|
3638
3663
|
* @experimental This is an experimental component use it at your own risk
|
|
3639
3664
|
*/
|
|
3640
|
-
export declare const F0Dialog: FC<F0DialogInternalProps
|
|
3665
|
+
export declare const F0Dialog: WithDataTestIdReturnType_3<FC<F0DialogInternalProps>>;
|
|
3641
3666
|
|
|
3642
3667
|
export declare type F0DialogActionsProps = {
|
|
3643
3668
|
primaryAction?: F0DialogPrimaryAction | F0DialogPrimaryActionItem[];
|
|
@@ -3724,58 +3749,9 @@ export declare type F0FieldConfig<T extends string | number = string | number, R
|
|
|
3724
3749
|
*/
|
|
3725
3750
|
export declare type F0FieldType = "text" | "number" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "richtext" | "custom";
|
|
3726
3751
|
|
|
3727
|
-
|
|
3728
|
-
* A standalone dual-pane filter picker content component.
|
|
3729
|
-
*
|
|
3730
|
-
* This component renders the filter picker interface (left panel with filter list,
|
|
3731
|
-
* right panel with filter content) without any popover wrapper, allowing it to be
|
|
3732
|
-
* embedded directly in modals, sidebars, or other containers.
|
|
3733
|
-
*
|
|
3734
|
-
* Features:
|
|
3735
|
-
* - Left panel showing filter categories with search
|
|
3736
|
-
* - Right panel showing filter options for the selected filter
|
|
3737
|
-
* - Multi-select with checkboxes for "in" type filters
|
|
3738
|
-
* - Support for search, date, number, and custom filter types
|
|
3739
|
-
* - Select All and Clear actions
|
|
3740
|
-
*
|
|
3741
|
-
* @template Filters - The type defining the structure of available filters
|
|
3742
|
-
*
|
|
3743
|
-
* @example
|
|
3744
|
-
* ```tsx
|
|
3745
|
-
* // Embed directly in a modal or page
|
|
3746
|
-
* <F0FilterPickerContent
|
|
3747
|
-
* filters={{
|
|
3748
|
-
* department: {
|
|
3749
|
-
* type: "in",
|
|
3750
|
-
* label: "Department",
|
|
3751
|
-
* options: {
|
|
3752
|
-
* options: [
|
|
3753
|
-
* { value: "engineering", label: "Engineering" },
|
|
3754
|
-
* { value: "marketing", label: "Marketing" },
|
|
3755
|
-
* ]
|
|
3756
|
-
* }
|
|
3757
|
-
* },
|
|
3758
|
-
* location: {
|
|
3759
|
-
* type: "in",
|
|
3760
|
-
* label: "Location",
|
|
3761
|
-
* options: {
|
|
3762
|
-
* options: [
|
|
3763
|
-
* { value: "nyc", label: "New York" },
|
|
3764
|
-
* { value: "sf", label: "San Francisco" },
|
|
3765
|
-
* ]
|
|
3766
|
-
* }
|
|
3767
|
-
* }
|
|
3768
|
-
* }}
|
|
3769
|
-
* value={selectedFilters}
|
|
3770
|
-
* onChange={setSelectedFilters}
|
|
3771
|
-
* />
|
|
3772
|
-
* ```
|
|
3773
|
-
*/
|
|
3774
|
-
export declare function F0FilterPickerContent<Filters extends FiltersDefinition>({ filters, value, onChange, height, width, className, showApplyButton, applyButtonLabel, }: F0FilterPickerContentProps<Filters>): JSX_2.Element | null;
|
|
3752
|
+
export declare const F0FilterPickerContent: F0FilterPickerContentGeneric;
|
|
3775
3753
|
|
|
3776
|
-
|
|
3777
|
-
var displayName: string;
|
|
3778
|
-
}
|
|
3754
|
+
declare type F0FilterPickerContentGeneric = <Filters extends FiltersDefinition>(props: F0FilterPickerContentProps<Filters> & WithDataTestIdProps) => ReactElement | null;
|
|
3779
3755
|
|
|
3780
3756
|
/**
|
|
3781
3757
|
* Props for the F0FilterPickerContent component.
|
|
@@ -3794,6 +3770,13 @@ export declare interface F0FilterPickerContentProps<Filters extends FiltersDefin
|
|
|
3794
3770
|
width?: number;
|
|
3795
3771
|
}
|
|
3796
3772
|
|
|
3773
|
+
/**
|
|
3774
|
+
* Public props for F0FilterPickerContent (includes dataTestId from withDataTestId).
|
|
3775
|
+
* Use this when typing props that include the optional dataTestId attribute.
|
|
3776
|
+
* @template Filters - The type defining the structure of available filters
|
|
3777
|
+
*/
|
|
3778
|
+
export declare type F0FilterPickerContentPublicProps<Filters extends FiltersDefinition> = F0FilterPickerContentProps<Filters> & WithDataTestIdProps;
|
|
3779
|
+
|
|
3797
3780
|
/**
|
|
3798
3781
|
* @experimental This is an experimental component, use it at your own risk
|
|
3799
3782
|
*/
|
|
@@ -4104,10 +4087,10 @@ export declare type F0FormSubmitResult = {
|
|
|
4104
4087
|
errors?: Record<string, string>;
|
|
4105
4088
|
};
|
|
4106
4089
|
|
|
4107
|
-
export declare const F0GridStack: {
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
}
|
|
4090
|
+
export declare const F0GridStack: WithDataTestIdReturnType_4< {
|
|
4091
|
+
({ options, widgets, onChange, className, }: F0GridStackProps_2): JSX_2.Element;
|
|
4092
|
+
displayName: string;
|
|
4093
|
+
}>;
|
|
4111
4094
|
|
|
4112
4095
|
export declare interface F0GridStackProps {
|
|
4113
4096
|
options: GridStackReactOptions;
|
|
@@ -4116,7 +4099,7 @@ export declare interface F0GridStackProps {
|
|
|
4116
4099
|
className?: string;
|
|
4117
4100
|
}
|
|
4118
4101
|
|
|
4119
|
-
export declare const F0Heading: ForwardRefExoticComponent<Omit<F0HeadingProps, "ref"> & RefAttributes<HTMLElement
|
|
4102
|
+
export declare const F0Heading: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<F0HeadingProps, "ref"> & RefAttributes<HTMLElement>>>;
|
|
4120
4103
|
|
|
4121
4104
|
export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "as"> & {
|
|
4122
4105
|
variant?: (typeof _allowedVariants)[number];
|
|
@@ -4151,7 +4134,7 @@ export declare type F0HILActionConfirmationProps = {
|
|
|
4151
4134
|
onCancel: () => void;
|
|
4152
4135
|
};
|
|
4153
4136
|
|
|
4154
|
-
export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
4137
|
+
export declare const F0Icon: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<Omit<F0IconProps, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
4155
4138
|
|
|
4156
4139
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
4157
4140
|
icon: IconType;
|
|
@@ -4160,11 +4143,11 @@ export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantPro
|
|
|
4160
4143
|
color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
|
|
4161
4144
|
}
|
|
4162
4145
|
|
|
4163
|
-
export declare const F0Link: ForwardRefExoticComponent<Omit<ActionLinkProps, "href" | "variant"> & {
|
|
4146
|
+
export declare const F0Link: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<ActionLinkProps, "href" | "variant"> & {
|
|
4164
4147
|
variant?: ActionLinkVariant;
|
|
4165
4148
|
stopPropagation?: boolean;
|
|
4166
4149
|
href?: string;
|
|
4167
|
-
} & RefAttributes<HTMLAnchorElement
|
|
4150
|
+
} & RefAttributes<HTMLAnchorElement>>>;
|
|
4168
4151
|
|
|
4169
4152
|
export declare type F0LinkProps = Omit<ActionLinkProps, "variant" | "href"> & {
|
|
4170
4153
|
variant?: ActionLinkVariant;
|
|
@@ -4269,12 +4252,20 @@ export declare interface F0OneIconProps extends SVGProps<SVGSVGElement> {
|
|
|
4269
4252
|
size?: "xs" | "sm" | "md" | "lg";
|
|
4270
4253
|
}
|
|
4271
4254
|
|
|
4272
|
-
export declare const F0OneSwitch: ({ className, disabled }: F0OneSwitchProps) => JSX_2.Element | null;
|
|
4255
|
+
export declare const F0OneSwitch: ({ className, disabled, tooltip, autoOpen, }: F0OneSwitchProps) => JSX_2.Element | null;
|
|
4273
4256
|
|
|
4274
4257
|
/**
|
|
4275
4258
|
* Props for the F0OneSwitch component
|
|
4276
4259
|
*/
|
|
4277
|
-
export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root
|
|
4260
|
+
export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
|
|
4261
|
+
/** Custom text shown in the tooltip when the chat is closed */
|
|
4262
|
+
tooltip?: {
|
|
4263
|
+
whenDisabled?: string;
|
|
4264
|
+
whenEnabled?: string;
|
|
4265
|
+
};
|
|
4266
|
+
/** When true, the tooltip is opened automatically for 3 seconds*/
|
|
4267
|
+
autoOpen?: boolean;
|
|
4268
|
+
};
|
|
4278
4269
|
|
|
4279
4270
|
/**
|
|
4280
4271
|
* A record mapping section IDs to their individual schemas.
|
|
@@ -4323,6 +4314,7 @@ export declare const F0Provider: React.FC<{
|
|
|
4323
4314
|
isDev?: boolean;
|
|
4324
4315
|
showExperimentalWarnings?: boolean;
|
|
4325
4316
|
dataCollectionStorageHandler?: DataCollectionStorageHandler;
|
|
4317
|
+
renderDataTestIdAttribute?: boolean;
|
|
4326
4318
|
}>;
|
|
4327
4319
|
|
|
4328
4320
|
/**
|
|
@@ -4388,9 +4380,7 @@ export declare interface F0SectionConfig {
|
|
|
4388
4380
|
/**
|
|
4389
4381
|
* @experimental This is an experimental component use it at your own risk
|
|
4390
4382
|
*/
|
|
4391
|
-
export declare const F0Select:
|
|
4392
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
4393
|
-
}) => React.ReactElement;
|
|
4383
|
+
export declare const F0Select: F0SelectGeneric;
|
|
4394
4384
|
|
|
4395
4385
|
/**
|
|
4396
4386
|
* Base props shared across all F0Select variants
|
|
@@ -4486,6 +4476,12 @@ export declare type F0SelectField = F0BaseField & F0SelectConfig & {
|
|
|
4486
4476
|
renderIf?: SelectFieldRenderIf;
|
|
4487
4477
|
};
|
|
4488
4478
|
|
|
4479
|
+
/**
|
|
4480
|
+
* Generic component type so consumers can use <F0Select<T, R> />.
|
|
4481
|
+
* Preserves dataTestId and F0SelectProps<T, R>.
|
|
4482
|
+
*/
|
|
4483
|
+
declare type F0SelectGeneric = <T extends string, R = unknown>(props: F0SelectProps<T, R> & WithDataTestIdProps) => ReactElement | null;
|
|
4484
|
+
|
|
4489
4485
|
export declare type F0SelectItemObject<T, R = unknown> = {
|
|
4490
4486
|
type?: "item";
|
|
4491
4487
|
value: T;
|
|
@@ -4636,7 +4632,7 @@ export declare type F0SwitchField = F0BaseField & {
|
|
|
4636
4632
|
/**
|
|
4637
4633
|
* @experimental This is an experimental component use it at your own risk
|
|
4638
4634
|
*/
|
|
4639
|
-
export declare const F0TableOfContentPopover: typeof F0TableOfContentPopover_2
|
|
4635
|
+
export declare const F0TableOfContentPopover: WithDataTestIdReturnType_3<typeof F0TableOfContentPopover_2>;
|
|
4640
4636
|
|
|
4641
4637
|
/**
|
|
4642
4638
|
* Internal implementation of the TableOfContentPopover component.
|
|
@@ -4659,20 +4655,20 @@ declare interface F0TableOfContentPopoverProps extends Omit<TOCProps, "sortable"
|
|
|
4659
4655
|
variant?: TableOfContentPopoverVariant;
|
|
4660
4656
|
}
|
|
4661
4657
|
|
|
4662
|
-
export declare const F0TagAlert: ForwardRefExoticComponent<
|
|
4658
|
+
export declare const F0TagAlert: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Props_2 & RefAttributes<HTMLDivElement>>>;
|
|
4663
4659
|
|
|
4664
|
-
export declare const F0TagBalance: ForwardRefExoticComponent<
|
|
4660
|
+
export declare const F0TagBalance: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagBalanceProps & RefAttributes<HTMLDivElement>>>;
|
|
4665
4661
|
|
|
4666
|
-
export declare const F0TagCompany: ForwardRefExoticComponent<
|
|
4662
|
+
export declare const F0TagCompany: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
4667
4663
|
|
|
4668
|
-
export declare const F0TagDot: ForwardRefExoticComponent<
|
|
4664
|
+
export declare const F0TagDot: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Props_2 & RefAttributes<HTMLDivElement>>>;
|
|
4669
4665
|
|
|
4670
|
-
export declare const F0TagList: {
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
}
|
|
4666
|
+
export declare const F0TagList: WithDataTestIdReturnType_4< {
|
|
4667
|
+
<T extends TagType_2>({ type, tags, max, remainingCount: initialRemainingCount, }: F0TagListProps<T>): JSX_2.Element;
|
|
4668
|
+
displayName: string;
|
|
4669
|
+
}>;
|
|
4674
4670
|
|
|
4675
|
-
export declare const F0TagPerson: ForwardRefExoticComponent<
|
|
4671
|
+
export declare const F0TagPerson: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagPersonProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
4676
4672
|
|
|
4677
4673
|
export declare type F0TagPersonProps = {
|
|
4678
4674
|
src?: string;
|
|
@@ -4680,13 +4676,13 @@ export declare type F0TagPersonProps = {
|
|
|
4680
4676
|
deactivated?: boolean;
|
|
4681
4677
|
};
|
|
4682
4678
|
|
|
4683
|
-
export declare const F0TagRaw: ForwardRefExoticComponent<
|
|
4679
|
+
export declare const F0TagRaw: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagRawProps & RefAttributes<HTMLDivElement>>>;
|
|
4684
4680
|
|
|
4685
|
-
export declare const F0TagStatus: ForwardRefExoticComponent<
|
|
4681
|
+
export declare const F0TagStatus: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagStatusProps & RefAttributes<HTMLDivElement>>>;
|
|
4686
4682
|
|
|
4687
|
-
export declare const F0TagTeam: ForwardRefExoticComponent<
|
|
4683
|
+
export declare const F0TagTeam: WithDataTestIdReturnType_4<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
4688
4684
|
|
|
4689
|
-
export declare const F0Text: ForwardRefExoticComponent<Omit<F0TextProps, "ref"> & RefAttributes<HTMLElement
|
|
4685
|
+
export declare const F0Text: WithDataTestIdReturnType_3<ForwardRefExoticComponent<Omit<F0TextProps, "ref"> & RefAttributes<HTMLElement>>>;
|
|
4690
4686
|
|
|
4691
4687
|
/**
|
|
4692
4688
|
* F0 config options specific to textarea fields
|
|
@@ -5242,10 +5238,10 @@ declare const headingTags: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
|
5242
5238
|
|
|
5243
5239
|
declare type heightType = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | "auto";
|
|
5244
5240
|
|
|
5245
|
-
export declare const HomeLayout: ForwardRefExoticComponent<Omit<{
|
|
5241
|
+
export declare const HomeLayout: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Omit<{
|
|
5246
5242
|
widgets?: ReactNode[];
|
|
5247
5243
|
children?: ReactNode;
|
|
5248
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
5244
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5249
5245
|
|
|
5250
5246
|
export declare function Hr({ ...props }: React.HTMLAttributes<HTMLHRElement>): JSX_2.Element;
|
|
5251
5247
|
|
|
@@ -5566,18 +5562,18 @@ declare type Lane<Filters extends FiltersDefinition> = {
|
|
|
5566
5562
|
};
|
|
5567
5563
|
|
|
5568
5564
|
export declare const Layout: {
|
|
5569
|
-
Page: ForwardRefExoticComponent<PageProps & RefAttributes<HTMLDivElement
|
|
5570
|
-
Block: ForwardRefExoticComponent<BlockProps & RefAttributes<HTMLDivElement
|
|
5571
|
-
BlockContent: ComponentType<BlockProps & BlockContentExtraProps> & PageLayoutBlockComponent_2
|
|
5572
|
-
Group: ForwardRefExoticComponent<GroupLinearProps & RefAttributes<HTMLDivElement
|
|
5573
|
-
GroupGrid: {
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
}
|
|
5577
|
-
GroupMasonry: {
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
}
|
|
5565
|
+
Page: WithDataTestIdReturnType_3<ForwardRefExoticComponent<PageProps & RefAttributes<HTMLDivElement>>>;
|
|
5566
|
+
Block: WithDataTestIdReturnType_3<ForwardRefExoticComponent<BlockProps & RefAttributes<HTMLDivElement>>>;
|
|
5567
|
+
BlockContent: WithDataTestIdReturnType_3<ComponentType<BlockProps & BlockContentExtraProps> & PageLayoutBlockComponent_2>;
|
|
5568
|
+
Group: WithDataTestIdReturnType_3<ForwardRefExoticComponent<GroupLinearProps & RefAttributes<HTMLDivElement>>>;
|
|
5569
|
+
GroupGrid: WithDataTestIdReturnType_3< {
|
|
5570
|
+
<Widget extends GroupGridWidget_2, Deps extends Record<string, unknown> = Record<string, unknown>>({ widgets, editMode, onChange, WidgetWrapper, main, deps: dependencyValues, }: GroupGridProps_2<Widget, Deps>): JSX_2.Element;
|
|
5571
|
+
displayName: string;
|
|
5572
|
+
}>;
|
|
5573
|
+
GroupMasonry: WithDataTestIdReturnType_3< {
|
|
5574
|
+
({ blocks, sortable: _sortable, onSort: _onSort, main, }: GroupMasonryProps): JSX_2.Element;
|
|
5575
|
+
displayName: string;
|
|
5576
|
+
}>;
|
|
5581
5577
|
};
|
|
5582
5578
|
|
|
5583
5579
|
declare interface LayoutProps {
|
|
@@ -5605,9 +5601,9 @@ declare const levels: readonly ["info", "warning", "critical", "positive"];
|
|
|
5605
5601
|
|
|
5606
5602
|
export declare function Li({ children, ...props }: React.HTMLAttributes<HTMLLIElement>): JSX_2.Element;
|
|
5607
5603
|
|
|
5608
|
-
export declare const LineChart: ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
5604
|
+
export declare const LineChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
5609
5605
|
lineType?: "natural" | "linear";
|
|
5610
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
5606
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5611
5607
|
|
|
5612
5608
|
declare type LinkContextValue = {
|
|
5613
5609
|
currentPath?: string;
|
|
@@ -5992,13 +5988,13 @@ action: BulkAction,
|
|
|
5992
5988
|
...Parameters<OnSelectItemsCallback<Record, Filters>>
|
|
5993
5989
|
]) => void;
|
|
5994
5990
|
|
|
5991
|
+
export declare const OneFilterPicker: OneFilterPickerGeneric;
|
|
5992
|
+
|
|
5995
5993
|
/**
|
|
5996
|
-
*
|
|
5994
|
+
* Generic component type so consumers can use <OneFilterPicker<Definition> />.
|
|
5995
|
+
* Preserves dataTestId and OneFilterPickerRootProps<Definition>.
|
|
5997
5996
|
*/
|
|
5998
|
-
|
|
5999
|
-
<Definition extends FiltersDefinition>(props: OneFilterPickerRootProps<Definition>): JSX_2.Element;
|
|
6000
|
-
displayName: string;
|
|
6001
|
-
};
|
|
5997
|
+
declare type OneFilterPickerGeneric = <Definition extends FiltersDefinition>(props: OneFilterPickerRootProps<Definition> & WithDataTestIdProps) => ReactElement | null;
|
|
6002
5998
|
|
|
6003
5999
|
/**
|
|
6004
6000
|
* Props for the Filters component.
|
|
@@ -6160,7 +6156,7 @@ export declare type PersonAvatarVariant = Extract<AvatarVariant, {
|
|
|
6160
6156
|
|
|
6161
6157
|
declare type PersonTagProps = ComponentProps<typeof F0TagPerson>;
|
|
6162
6158
|
|
|
6163
|
-
export declare const PieChart: ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
6159
|
+
export declare const PieChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
6164
6160
|
|
|
6165
6161
|
declare type PopupSize = "sm" | "md" | "lg";
|
|
6166
6162
|
|
|
@@ -6220,7 +6216,7 @@ declare const privateProps_2: readonly ["withBorder"];
|
|
|
6220
6216
|
|
|
6221
6217
|
declare const privateProps_3: readonly ["forceVerticalMetadata", "disableOverlayLink"];
|
|
6222
6218
|
|
|
6223
|
-
export declare const ProductBlankslate: ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement
|
|
6219
|
+
export declare const ProductBlankslate: WithDataTestIdReturnType_4<ForwardRefExoticComponent<ProductBlankslateProps & RefAttributes<HTMLDivElement>>>;
|
|
6224
6220
|
|
|
6225
6221
|
declare type ProductBlankslateProps = {
|
|
6226
6222
|
title: string;
|
|
@@ -6241,7 +6237,9 @@ declare type ProductBlankslateProps = {
|
|
|
6241
6237
|
};
|
|
6242
6238
|
};
|
|
6243
6239
|
|
|
6244
|
-
export declare
|
|
6240
|
+
export declare const ProductCard: WithDataTestIdReturnType_4<typeof _ProductCard>;
|
|
6241
|
+
|
|
6242
|
+
declare function _ProductCard({ title, description, onClick, onClose, isVisible, dismissable, trackVisibility, type, ...props }: ProductCardProps): false | JSX_2.Element;
|
|
6245
6243
|
|
|
6246
6244
|
export declare type ProductCardProps = {
|
|
6247
6245
|
title: string;
|
|
@@ -6259,7 +6257,9 @@ export declare type ProductCardProps = {
|
|
|
6259
6257
|
type?: never;
|
|
6260
6258
|
});
|
|
6261
6259
|
|
|
6262
|
-
export declare
|
|
6260
|
+
export declare const ProductModal: WithDataTestIdReturnType_4<typeof _ProductModal>;
|
|
6261
|
+
|
|
6262
|
+
declare function _ProductModal({ isOpen, onClose, title, image, benefits, errorMessage, successMessage, loadingState, nextSteps, closeLabel, primaryAction, modalTitle, modalModule, secondaryAction, portalContainer, tag, promoTag, showResponseDialog, }: ProductModalProps): JSX_2.Element;
|
|
6263
6263
|
|
|
6264
6264
|
declare type ProductModalProps = {
|
|
6265
6265
|
isOpen: boolean;
|
|
@@ -6304,7 +6304,9 @@ declare type ProductModalProps = {
|
|
|
6304
6304
|
showResponseDialog?: boolean;
|
|
6305
6305
|
};
|
|
6306
6306
|
|
|
6307
|
-
export declare
|
|
6307
|
+
export declare const ProductWidget: WithDataTestIdReturnType_4<typeof _ProductWidget>;
|
|
6308
|
+
|
|
6309
|
+
declare function _ProductWidget({ mediaUrl, title, description, onClose, dismissible, width, trackVisibility, actions, showConfirmation, }: ProductWidgetProps): JSX_2.Element;
|
|
6308
6310
|
|
|
6309
6311
|
declare type ProductWidgetProps = {
|
|
6310
6312
|
mediaUrl?: string;
|
|
@@ -6318,12 +6320,12 @@ declare type ProductWidgetProps = {
|
|
|
6318
6320
|
showConfirmation?: boolean;
|
|
6319
6321
|
};
|
|
6320
6322
|
|
|
6321
|
-
export declare const ProgressBarChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
6323
|
+
export declare const ProgressBarChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
6322
6324
|
value: number;
|
|
6323
6325
|
max?: number;
|
|
6324
6326
|
label?: string;
|
|
6325
6327
|
color?: string;
|
|
6326
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
6328
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
6327
6329
|
|
|
6328
6330
|
/**
|
|
6329
6331
|
* Utility type for handling both Promise and Observable return types.
|
|
@@ -6405,7 +6407,7 @@ declare type Props = {
|
|
|
6405
6407
|
layout?: "fill" | "compact";
|
|
6406
6408
|
};
|
|
6407
6409
|
|
|
6408
|
-
declare type
|
|
6410
|
+
declare type Props_3 = {
|
|
6409
6411
|
count: number;
|
|
6410
6412
|
list?: TagCounterItem[];
|
|
6411
6413
|
};
|
|
@@ -6737,12 +6739,18 @@ export declare type SpacingToken = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
|
6737
6739
|
|
|
6738
6740
|
declare type SrcProps = Pick<ImgHTMLAttributes<HTMLImageElement>, "src" | "srcSet" | "sizes">;
|
|
6739
6741
|
|
|
6740
|
-
export declare const StandardLayout: ForwardRefExoticComponent<Omit<StandardLayoutProps & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
6742
|
+
export declare const StandardLayout: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Omit<StandardLayoutProps & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
6741
6743
|
|
|
6742
6744
|
export declare interface StandardLayoutProps extends VariantProps<typeof layoutVariants> {
|
|
6743
6745
|
children?: default_2.ReactNode;
|
|
6744
6746
|
}
|
|
6745
6747
|
|
|
6748
|
+
/**
|
|
6749
|
+
* Keys on T that are not part of Function, so we preserve static members (Skeleton, displayName, etc.)
|
|
6750
|
+
* without bringing in a second call signature that would confuse ComponentProps<> inference.
|
|
6751
|
+
*/
|
|
6752
|
+
declare type StaticMembersOf<T> = Pick<T, Exclude<keyof T, keyof Function>>;
|
|
6753
|
+
|
|
6746
6754
|
export declare type Status = (typeof statuses_2)[number];
|
|
6747
6755
|
|
|
6748
6756
|
declare const statuses: readonly ["neutral", "info", "positive", "warning", "critical"];
|
|
@@ -6892,9 +6900,9 @@ declare type TableVisualizationSettings = {
|
|
|
6892
6900
|
hidden?: ColId[];
|
|
6893
6901
|
};
|
|
6894
6902
|
|
|
6895
|
-
export declare const Tag: ({ tag }: {
|
|
6896
|
-
|
|
6897
|
-
}) => ReactNode
|
|
6903
|
+
export declare const Tag: WithDataTestIdReturnType_4<({ tag }: {
|
|
6904
|
+
tag: TagVariant_2;
|
|
6905
|
+
}) => ReactNode>;
|
|
6898
6906
|
|
|
6899
6907
|
export declare type TagAlertProps<Text extends string = string> = {
|
|
6900
6908
|
text: Text extends "" ? never : Text;
|
|
@@ -6937,7 +6945,7 @@ export declare interface TagCompanyProps {
|
|
|
6937
6945
|
}
|
|
6938
6946
|
|
|
6939
6947
|
export declare const TagCounter: {
|
|
6940
|
-
({ count, list }:
|
|
6948
|
+
({ count, list }: Props_3): JSX_2.Element;
|
|
6941
6949
|
displayName: string;
|
|
6942
6950
|
};
|
|
6943
6951
|
|
|
@@ -7200,7 +7208,7 @@ export declare type TrendConfig = {
|
|
|
7200
7208
|
invertStatus?: boolean;
|
|
7201
7209
|
};
|
|
7202
7210
|
|
|
7203
|
-
export declare const TwoColumnLayout: ForwardRefExoticComponent<Omit<TwoColumnLayoutProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
7211
|
+
export declare const TwoColumnLayout: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Omit<TwoColumnLayoutProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
7204
7212
|
|
|
7205
7213
|
export declare interface TwoColumnLayoutProps {
|
|
7206
7214
|
children: ReactNode;
|
|
@@ -7228,12 +7236,14 @@ declare type UpsellAction = BaseAction & {
|
|
|
7228
7236
|
showConfirmation: boolean;
|
|
7229
7237
|
};
|
|
7230
7238
|
|
|
7231
|
-
export declare const UpsellingBanner: ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
|
|
7239
|
+
export declare const UpsellingBanner: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
|
|
7232
7240
|
primaryAction?: DefaultAction | PromoteAction;
|
|
7233
7241
|
secondaryAction?: DefaultAction | PromoteAction;
|
|
7234
|
-
} & RefAttributes<HTMLDivElement
|
|
7242
|
+
} & RefAttributes<HTMLDivElement>>>;
|
|
7243
|
+
|
|
7244
|
+
export declare const UpsellingButton: WithDataTestIdReturnType_4<typeof _UpsellingButton>;
|
|
7235
7245
|
|
|
7236
|
-
|
|
7246
|
+
declare function _UpsellingButton({ label, showIcon, onRequest, showConfirmation, loading: externalLoading, errorMessage, successMessage, loadingState, nextSteps, closeLabel, variant, onModalStateChange, portalContainer, ...props }: UpsellingButtonProps): JSX_2.Element;
|
|
7237
7247
|
|
|
7238
7248
|
export declare interface UpsellingButtonProps extends Omit<F0ButtonProps, "icon"> {
|
|
7239
7249
|
variant?: "promote" | "outlinePromote";
|
|
@@ -7283,7 +7293,9 @@ export declare interface UpsellingButtonProps extends Omit<F0ButtonProps, "icon"
|
|
|
7283
7293
|
portalContainer?: HTMLElement | null;
|
|
7284
7294
|
}
|
|
7285
7295
|
|
|
7286
|
-
export declare
|
|
7296
|
+
export declare const UpsellingPopover: WithDataTestIdReturnType_4<typeof _UpsellingPopover>;
|
|
7297
|
+
|
|
7298
|
+
declare function _UpsellingPopover({ isOpen, setIsOpen, label, variant, size, showIcon, side, align, icon, mediaUrl, title, description, width, trackVisibility, actions, onClick, hideLabel, }: UpsellingPopoverProps): JSX_2.Element;
|
|
7287
7299
|
|
|
7288
7300
|
declare type UpsellingPopoverProps = {
|
|
7289
7301
|
isOpen: boolean;
|
|
@@ -7305,7 +7317,7 @@ declare type UpsellingPopoverProps = {
|
|
|
7305
7317
|
hideLabel?: boolean;
|
|
7306
7318
|
};
|
|
7307
7319
|
|
|
7308
|
-
export declare const UpsellRequestResponseDialog: ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement
|
|
7320
|
+
export declare const UpsellRequestResponseDialog: WithDataTestIdReturnType_4<ForwardRefExoticComponent<UpsellRequestResponseDialogProps & RefAttributes<HTMLDivElement>>>;
|
|
7309
7321
|
|
|
7310
7322
|
declare interface UpsellRequestResponseDialogProps {
|
|
7311
7323
|
open: boolean;
|
|
@@ -7774,11 +7786,11 @@ declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string
|
|
|
7774
7786
|
|
|
7775
7787
|
export declare type Variant = (typeof statuses)[number];
|
|
7776
7788
|
|
|
7777
|
-
export declare const VerticalBarChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
7789
|
+
export declare const VerticalBarChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
7778
7790
|
label?: boolean;
|
|
7779
7791
|
showRatio?: boolean;
|
|
7780
7792
|
valueFormatter?: (value: string | number | undefined) => string | number;
|
|
7781
|
-
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement
|
|
7793
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
7782
7794
|
|
|
7783
7795
|
declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
|
|
7784
7796
|
render: (props: Props) => JSX.Element;
|
|
@@ -7821,6 +7833,25 @@ export declare type WelcomeScreenSuggestion = {
|
|
|
7821
7833
|
prompt?: string;
|
|
7822
7834
|
};
|
|
7823
7835
|
|
|
7836
|
+
export declare const withDataTestId: <T extends default_2.ComponentType<any>>(component: T) => WithDataTestIdReturnType<T>;
|
|
7837
|
+
|
|
7838
|
+
export declare type WithDataTestIdProps = {
|
|
7839
|
+
dataTestId?: string;
|
|
7840
|
+
};
|
|
7841
|
+
|
|
7842
|
+
/**
|
|
7843
|
+
* Props type of a component wrapped with withDataTestId.
|
|
7844
|
+
* Use when ComponentProps<typeof Component> inference fails (e.g. in Storybook stories).
|
|
7845
|
+
*/
|
|
7846
|
+
export declare type WithDataTestIdPropsOf<T extends default_2.ComponentType<unknown>> = default_2.ComponentProps<T> & WithDataTestIdProps;
|
|
7847
|
+
|
|
7848
|
+
/**
|
|
7849
|
+
* Return type has a single call signature with props = ComponentProps<T> & WithDataTestIdProps,
|
|
7850
|
+
* so ComponentProps<Wrapped> and Storybook's Meta/StoryObj infer correctly.
|
|
7851
|
+
* Static properties (e.g. F0Card.Skeleton) are preserved via StaticMembersOf<T>.
|
|
7852
|
+
*/
|
|
7853
|
+
export declare type WithDataTestIdReturnType<T extends default_2.ComponentType<unknown>> = default_2.ComponentType<WithDataTestIdPropsOf<T>> & StaticMembersOf<T>;
|
|
7854
|
+
|
|
7824
7855
|
export declare type WithGroupId<RecordType> = RecordType & {
|
|
7825
7856
|
[GROUP_ID_SYMBOL]: unknown | undefined;
|
|
7826
7857
|
};
|
|
@@ -7894,6 +7925,11 @@ declare module "gridstack" {
|
|
|
7894
7925
|
}
|
|
7895
7926
|
|
|
7896
7927
|
|
|
7928
|
+
declare namespace Calendar {
|
|
7929
|
+
var displayName: string;
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
|
|
7897
7933
|
declare module "@tiptap/core" {
|
|
7898
7934
|
interface Commands<ReturnType> {
|
|
7899
7935
|
aiBlock: {
|
|
@@ -7923,15 +7959,6 @@ declare module "@tiptap/core" {
|
|
|
7923
7959
|
}
|
|
7924
7960
|
|
|
7925
7961
|
|
|
7926
|
-
declare module "@tiptap/core" {
|
|
7927
|
-
interface Commands<ReturnType> {
|
|
7928
|
-
transcript: {
|
|
7929
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7930
|
-
};
|
|
7931
|
-
}
|
|
7932
|
-
}
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
7962
|
declare module "@tiptap/core" {
|
|
7936
7963
|
interface Commands<ReturnType> {
|
|
7937
7964
|
videoEmbed: {
|
|
@@ -7943,6 +7970,10 @@ declare module "@tiptap/core" {
|
|
|
7943
7970
|
}
|
|
7944
7971
|
|
|
7945
7972
|
|
|
7946
|
-
declare
|
|
7947
|
-
|
|
7973
|
+
declare module "@tiptap/core" {
|
|
7974
|
+
interface Commands<ReturnType> {
|
|
7975
|
+
transcript: {
|
|
7976
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7977
|
+
};
|
|
7978
|
+
}
|
|
7948
7979
|
}
|