@factorialco/f0-react 1.433.0 → 1.435.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/{F0AiChat-C6Swk3kV.js → F0AiChat-BsYN-CYp.js} +125861 -125603
- package/dist/{F0HILActionConfirmation-K5ZONLkv.js → F0HILActionConfirmation-zvTnEJgf.js} +1 -1
- package/dist/ai.d.ts +30 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +225 -53
- package/dist/experimental.js +3987 -4552
- package/dist/f0.d.ts +638 -21
- package/dist/f0.js +6063 -6830
- package/dist/i18n-provider-defaults.d.ts +2 -0
- package/dist/i18n-provider-defaults.js +2 -0
- package/dist/{index-DNRZaDau.js → index-CHmxufWS.js} +13182 -11901
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ import { BarChartProps } from './experimental';
|
|
|
15
15
|
import { BarSeriesCellValue } from './types/barSeries';
|
|
16
16
|
import { baseColors } from '@factorialco/f0-core';
|
|
17
17
|
import { ButtonHTMLAttributes } from 'react';
|
|
18
|
+
import { CategoryBarProps } from './CategoryBarChart';
|
|
19
|
+
import { ChartConfig } from './experimental';
|
|
20
|
+
import { ChartConfig as ChartConfig_2 } from './utils/types';
|
|
21
|
+
import { ChartPropsBase } from './utils/types';
|
|
18
22
|
import { ClassValue } from 'cva';
|
|
19
23
|
import { CompanyCellValue } from './types/company';
|
|
20
24
|
import { CompanyCellValue as CompanyCellValue_2 } from './experimental';
|
|
@@ -58,7 +62,9 @@ import { ItemProps } from './types';
|
|
|
58
62
|
import { JSONContent } from '@tiptap/react';
|
|
59
63
|
import { JSONContent as JSONContent_2 } from '@tiptap/core';
|
|
60
64
|
import { JSX as JSX_2 } from 'react';
|
|
65
|
+
import { LineChartConfig } from './experimental';
|
|
61
66
|
import { LineChartProps } from './experimental';
|
|
67
|
+
import { LineChartPropsBase } from './utils/types';
|
|
62
68
|
import { LongTextCellValue } from './types/longText';
|
|
63
69
|
import { Message as Message_2 } from '@copilotkit/shared';
|
|
64
70
|
import { NumberCellValue } from './types/number';
|
|
@@ -68,7 +74,8 @@ import { Observable } from 'zen-observable-ts';
|
|
|
68
74
|
import { PercentageCellValue } from './types/percentage';
|
|
69
75
|
import { PersonCellValue } from './types/person';
|
|
70
76
|
import { PersonCellValue as PersonCellValue_2 } from './experimental';
|
|
71
|
-
import { PieChartProps } from './
|
|
77
|
+
import { PieChartProps } from './PieChart';
|
|
78
|
+
import { PieChartProps as PieChartProps_2 } from './experimental';
|
|
72
79
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
73
80
|
import { ProgressBarCellValue } from './types/progressBar';
|
|
74
81
|
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './experimental';
|
|
@@ -112,6 +119,7 @@ import { WithDataTestIdReturnType } from './experimental';
|
|
|
112
119
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from './experimental';
|
|
113
120
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from './experimental';
|
|
114
121
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_4 } from './experimental';
|
|
122
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_5 } from './experimental';
|
|
115
123
|
|
|
116
124
|
declare type Action = {
|
|
117
125
|
label: string;
|
|
@@ -431,6 +439,16 @@ declare type AiChatDisclaimer = {
|
|
|
431
439
|
linkText?: string;
|
|
432
440
|
};
|
|
433
441
|
|
|
442
|
+
declare type AiChatFileAttachmentConfig = {
|
|
443
|
+
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
444
|
+
allowedMimeTypes?: string | string[];
|
|
445
|
+
/**
|
|
446
|
+
* Maximum number of files that can be attached at once.
|
|
447
|
+
* Omit or pass undefined for no limit.
|
|
448
|
+
*/
|
|
449
|
+
maxFiles?: number;
|
|
450
|
+
};
|
|
451
|
+
|
|
434
452
|
/**
|
|
435
453
|
* Props for the AiChatProvider component
|
|
436
454
|
*/
|
|
@@ -488,6 +506,10 @@ declare type AiChatProviderProps = {
|
|
|
488
506
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
489
507
|
*/
|
|
490
508
|
credits?: AiChatCredits;
|
|
509
|
+
/**
|
|
510
|
+
* File attachment configuration. When provided, enables file uploads in the chat.
|
|
511
|
+
*/
|
|
512
|
+
fileAttachments?: AiChatFileAttachmentConfig;
|
|
491
513
|
onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
|
|
492
514
|
threadId: string;
|
|
493
515
|
feedback: string;
|
|
@@ -521,9 +543,6 @@ declare type AiChatToolHint = {
|
|
|
521
543
|
prompt: string;
|
|
522
544
|
};
|
|
523
545
|
|
|
524
|
-
/**
|
|
525
|
-
* Tracking options for the AI chat
|
|
526
|
-
*/
|
|
527
546
|
declare type AiChatTrackingOptions = {
|
|
528
547
|
onVisibility?: () => void;
|
|
529
548
|
onClose?: () => void;
|
|
@@ -643,11 +662,18 @@ declare type Approver = {
|
|
|
643
662
|
status: Status;
|
|
644
663
|
};
|
|
645
664
|
|
|
665
|
+
export declare const AreaChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
666
|
+
lineType?: "step" | "linear" | "natural" | "monotoneX";
|
|
667
|
+
marginTop?: number;
|
|
668
|
+
canBeBlurred?: boolean;
|
|
669
|
+
blurArea?: "l" | "r" | "lr";
|
|
670
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
671
|
+
|
|
646
672
|
export declare const AreaChartWidget: ForwardRefExoticComponent<Omit<AreaChartWidgetProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
647
673
|
|
|
648
674
|
export declare const AutoGrid: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
649
675
|
tileSize?: "lg" | "md" | "sm" | undefined;
|
|
650
|
-
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "
|
|
676
|
+
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "1.5" | "0.5" | "2.5" | undefined;
|
|
651
677
|
} & ({
|
|
652
678
|
class?: ClassValue;
|
|
653
679
|
className?: never;
|
|
@@ -759,6 +785,20 @@ declare interface BannerProps {
|
|
|
759
785
|
|
|
760
786
|
declare type BannerVariant = "info" | "warning" | "critical" | "neutral" | "positive";
|
|
761
787
|
|
|
788
|
+
export declare const BarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
789
|
+
type?: "simple" | "stacked" | "stacked-by-sign";
|
|
790
|
+
label?: boolean;
|
|
791
|
+
legend?: boolean;
|
|
792
|
+
showValueUnderLabel?: boolean;
|
|
793
|
+
highlightLastBar?: boolean;
|
|
794
|
+
onClick?: ((data: {
|
|
795
|
+
label: string;
|
|
796
|
+
values: {
|
|
797
|
+
[x: string]: number;
|
|
798
|
+
};
|
|
799
|
+
}) => void) | undefined;
|
|
800
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
801
|
+
|
|
762
802
|
export declare const BarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
763
803
|
chart: BarChartProps;
|
|
764
804
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -831,6 +871,22 @@ export declare type BaseBannerProps = {
|
|
|
831
871
|
|
|
832
872
|
export declare const BaseCelebration: ({ link, firstName, lastName, src, onClick, canReact, lastEmojiReaction, onReactionSelect, type, typeLabel, date, }: CelebrationProps) => JSX_2.Element;
|
|
833
873
|
|
|
874
|
+
declare interface BaseChipProps extends VariantProps<typeof chipVariants> {
|
|
875
|
+
/**
|
|
876
|
+
* The label of the chip
|
|
877
|
+
* */
|
|
878
|
+
label: string;
|
|
879
|
+
/**
|
|
880
|
+
* If defined, the chip will be clickable
|
|
881
|
+
* */
|
|
882
|
+
onClick?: () => void;
|
|
883
|
+
/**
|
|
884
|
+
* If defined, the close icon will be displayed and the chip will be clickable
|
|
885
|
+
* */
|
|
886
|
+
onClose?: () => void;
|
|
887
|
+
deactivated?: boolean;
|
|
888
|
+
}
|
|
889
|
+
|
|
834
890
|
declare type BaseColor = keyof typeof baseColors;
|
|
835
891
|
|
|
836
892
|
export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, }: CommunityPostProps) => JSX_2.Element;
|
|
@@ -1438,7 +1494,7 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1438
1494
|
/**
|
|
1439
1495
|
* @experimental This is an experimental component use it at your own risk
|
|
1440
1496
|
*/
|
|
1441
|
-
export declare const Carousel:
|
|
1497
|
+
export declare const Carousel: WithDataTestIdReturnType_5<({ children, columns, showArrows, showDots, autoplay, delay, showPeek, doubleColumns, }: CarouselProps) => default_2.JSX.Element>;
|
|
1442
1498
|
|
|
1443
1499
|
declare interface CarouselBreakpoints {
|
|
1444
1500
|
default?: ColumnNumber;
|
|
@@ -1463,7 +1519,9 @@ declare interface CarouselProps {
|
|
|
1463
1519
|
}[];
|
|
1464
1520
|
}
|
|
1465
1521
|
|
|
1466
|
-
declare
|
|
1522
|
+
export declare const CategoryBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<CategoryBarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
1523
|
+
|
|
1524
|
+
declare interface CategoryBarProps_2 {
|
|
1467
1525
|
data: {
|
|
1468
1526
|
name: string;
|
|
1469
1527
|
value: number;
|
|
@@ -1478,7 +1536,7 @@ export declare function CategoryBarSection({ title, subtitle, data, helpText, le
|
|
|
1478
1536
|
declare interface CategoryBarSectionProps {
|
|
1479
1537
|
title: string;
|
|
1480
1538
|
subtitle: string;
|
|
1481
|
-
data:
|
|
1539
|
+
data: CategoryBarProps_2["data"];
|
|
1482
1540
|
helpText?: string;
|
|
1483
1541
|
legend?: boolean;
|
|
1484
1542
|
hideTooltip?: boolean;
|
|
@@ -1504,9 +1562,9 @@ export declare type CelebrationProps = {
|
|
|
1504
1562
|
|
|
1505
1563
|
export declare const CelebrationSkeleton: () => JSX_2.Element;
|
|
1506
1564
|
|
|
1507
|
-
declare type
|
|
1565
|
+
declare type ChartConfig_3 = Record<string, ChartConfig_4[keyof ChartConfig_4]>;
|
|
1508
1566
|
|
|
1509
|
-
declare type
|
|
1567
|
+
declare type ChartConfig_4 = {
|
|
1510
1568
|
[k in string]: {
|
|
1511
1569
|
label?: React_2.ReactNode;
|
|
1512
1570
|
icon?: React_2.ComponentType;
|
|
@@ -1522,11 +1580,11 @@ declare type ChartConfig_2 = {
|
|
|
1522
1580
|
declare const ChartContainer: React_2.ForwardRefExoticComponent<Omit<ChartContainerComponentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1523
1581
|
|
|
1524
1582
|
declare interface ChartContainerComponentProps extends React_2.ComponentProps<"div">, VariantProps<typeof variants_2> {
|
|
1525
|
-
config:
|
|
1583
|
+
config: ChartConfig_4;
|
|
1526
1584
|
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
1527
1585
|
}
|
|
1528
1586
|
|
|
1529
|
-
declare type ChartItem<K extends
|
|
1587
|
+
declare type ChartItem<K extends ChartConfig_3> = {
|
|
1530
1588
|
label: string;
|
|
1531
1589
|
values: {
|
|
1532
1590
|
[key in keyof K]: number;
|
|
@@ -1536,7 +1594,7 @@ declare type ChartItem<K extends ChartConfig> = {
|
|
|
1536
1594
|
/**
|
|
1537
1595
|
* @experimental This is an experimental component use it at your own risk
|
|
1538
1596
|
*/
|
|
1539
|
-
export declare const ChartWidgetEmptyState:
|
|
1597
|
+
export declare const ChartWidgetEmptyState: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_6 & RefAttributes<HTMLDivElement>>>;
|
|
1540
1598
|
|
|
1541
1599
|
export declare type ChatWidgetEmptyStateProps = Props_6;
|
|
1542
1600
|
|
|
@@ -1550,6 +1608,11 @@ declare type ChildrenPaginationInfo = {
|
|
|
1550
1608
|
|
|
1551
1609
|
declare type ChildrenResponse<R extends RecordType> = NestedResponseWithType<R>;
|
|
1552
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* @experimental This is an experimental component use it at your own risk
|
|
1613
|
+
*/
|
|
1614
|
+
export declare const Chip: ({ deactivated, label, variant, onClick, onClose, avatar, icon, }: ChipProps) => JSX_2.Element;
|
|
1615
|
+
|
|
1553
1616
|
declare type ChipLabel = {
|
|
1554
1617
|
label: string;
|
|
1555
1618
|
} & ({
|
|
@@ -1563,6 +1626,37 @@ declare type ChipLabel = {
|
|
|
1563
1626
|
avatar?: never;
|
|
1564
1627
|
});
|
|
1565
1628
|
|
|
1629
|
+
export declare type ChipProps = BaseChipProps & ChipVariants & {
|
|
1630
|
+
variant?: "default" | "selected";
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
declare type ChipVariants = {
|
|
1634
|
+
/**
|
|
1635
|
+
* If defined, an avatar will be displayed in the chip
|
|
1636
|
+
* */
|
|
1637
|
+
avatar: AvatarVariant;
|
|
1638
|
+
icon?: undefined;
|
|
1639
|
+
} | {
|
|
1640
|
+
/**
|
|
1641
|
+
* If defined, an icon will be displayed in the chip
|
|
1642
|
+
* */
|
|
1643
|
+
icon: IconType;
|
|
1644
|
+
avatar?: undefined;
|
|
1645
|
+
} | {
|
|
1646
|
+
avatar?: undefined;
|
|
1647
|
+
icon?: undefined;
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
export declare const chipVariants: (props?: ({
|
|
1651
|
+
variant?: "default" | "selected" | undefined;
|
|
1652
|
+
} & ({
|
|
1653
|
+
class?: ClassValue;
|
|
1654
|
+
className?: never;
|
|
1655
|
+
} | {
|
|
1656
|
+
class?: never;
|
|
1657
|
+
className?: ClassValue;
|
|
1658
|
+
})) | undefined) => string;
|
|
1659
|
+
|
|
1566
1660
|
export declare function ClockInControls({ trackedMinutes, remainingMinutes, data, labels, locationId, locations, canShowLocation, locationSelectorDisabled, onClockIn, onClockOut, onBreak, breakTypes, onChangeBreakTypeId, canShowBreakButton, canSeeGraph, canSeeRemainingTime, onChangeLocationId, canShowProject, projectSelectorElement, breakTypeName, }: ClockInControlsProps): JSX_2.Element;
|
|
1567
1661
|
|
|
1568
1662
|
export declare interface ClockInControlsProps {
|
|
@@ -1670,6 +1764,39 @@ declare const columnWidths: {
|
|
|
1670
1764
|
readonly fit: 1;
|
|
1671
1765
|
};
|
|
1672
1766
|
|
|
1767
|
+
export declare const ComboChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
|
|
1768
|
+
label?: boolean;
|
|
1769
|
+
legend?: boolean;
|
|
1770
|
+
showValueUnderLabel?: boolean;
|
|
1771
|
+
bar?: {
|
|
1772
|
+
categories: string | string[];
|
|
1773
|
+
axisLabel?: string;
|
|
1774
|
+
hideAxis?: boolean;
|
|
1775
|
+
axisPosition?: "left" | "right";
|
|
1776
|
+
} | undefined;
|
|
1777
|
+
line?: ({
|
|
1778
|
+
categories: string | string[];
|
|
1779
|
+
axisLabel?: string;
|
|
1780
|
+
hideAxis?: boolean;
|
|
1781
|
+
axisPosition?: "left" | "right";
|
|
1782
|
+
} & {
|
|
1783
|
+
dot?: boolean;
|
|
1784
|
+
lineType?: "natural" | "linear";
|
|
1785
|
+
}) | undefined;
|
|
1786
|
+
scatter?: {
|
|
1787
|
+
categories: string | string[];
|
|
1788
|
+
axisLabel?: string;
|
|
1789
|
+
hideAxis?: boolean;
|
|
1790
|
+
axisPosition?: "left" | "right";
|
|
1791
|
+
} | undefined;
|
|
1792
|
+
onClick?: ((data: {
|
|
1793
|
+
label: string;
|
|
1794
|
+
values: {
|
|
1795
|
+
[x: string]: number;
|
|
1796
|
+
};
|
|
1797
|
+
}) => void) | undefined;
|
|
1798
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
1799
|
+
|
|
1673
1800
|
export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, }: CommunityPostProps) => JSX_2.Element) & {
|
|
1674
1801
|
Skeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
|
|
1675
1802
|
};
|
|
@@ -2241,7 +2368,7 @@ declare type DateValue = {
|
|
|
2241
2368
|
/**
|
|
2242
2369
|
* @experimental This is an experimental component use it at your own risk
|
|
2243
2370
|
*/
|
|
2244
|
-
export declare const DaytimePage:
|
|
2371
|
+
export declare const DaytimePage: WithDataTestIdReturnType_5<typeof _DaytimePage>;
|
|
2245
2372
|
|
|
2246
2373
|
declare function _DaytimePage({ children, header, period, embedded, }: DaytimePageProps): JSX_2.Element;
|
|
2247
2374
|
|
|
@@ -2720,6 +2847,8 @@ declare const defaultTranslations: {
|
|
|
2720
2847
|
readonly actionLabel: "Get credits";
|
|
2721
2848
|
};
|
|
2722
2849
|
};
|
|
2850
|
+
readonly attachFile: "Attach file";
|
|
2851
|
+
readonly removeFile: "Remove";
|
|
2723
2852
|
readonly growth: {
|
|
2724
2853
|
readonly demoCard: {
|
|
2725
2854
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -2961,7 +3090,7 @@ declare const defaultTranslations: {
|
|
|
2961
3090
|
/**
|
|
2962
3091
|
* @experimental This is an experimental component use it at your own risk
|
|
2963
3092
|
*/
|
|
2964
|
-
export declare const DetailsItem:
|
|
3093
|
+
export declare const DetailsItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>>;
|
|
2965
3094
|
|
|
2966
3095
|
/**
|
|
2967
3096
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -2981,7 +3110,7 @@ export declare interface DetailsItemType {
|
|
|
2981
3110
|
spacingAtTheBottom?: boolean;
|
|
2982
3111
|
}
|
|
2983
3112
|
|
|
2984
|
-
export declare const Dialog:
|
|
3113
|
+
export declare const Dialog: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<DialogProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
2985
3114
|
|
|
2986
3115
|
declare type DialogProps = {
|
|
2987
3116
|
header: {
|
|
@@ -3357,7 +3486,7 @@ export declare const F0AiBanner: ForwardRefExoticComponent<Omit<AiBannerInternal
|
|
|
3357
3486
|
|
|
3358
3487
|
export declare type F0AiBannerProps = AiBannerInternalProps;
|
|
3359
3488
|
|
|
3360
|
-
declare const F0AvatarAlert:
|
|
3489
|
+
declare const F0AvatarAlert: WithDataTestIdReturnType_5<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps_2) => JSX_2.Element>;
|
|
3361
3490
|
|
|
3362
3491
|
declare type F0AvatarCompanyProps = {
|
|
3363
3492
|
name: string;
|
|
@@ -3386,6 +3515,7 @@ declare type F0AvatarFlagProps = {
|
|
|
3386
3515
|
declare type F0AvatarIconProps = {
|
|
3387
3516
|
icon: IconType;
|
|
3388
3517
|
size?: (typeof avatarIconSizes)[number];
|
|
3518
|
+
state?: F0IconProps["state"];
|
|
3389
3519
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
3390
3520
|
|
|
3391
3521
|
declare type F0AvatarListProps = {
|
|
@@ -3434,7 +3564,7 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
3434
3564
|
avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3435
3565
|
};
|
|
3436
3566
|
|
|
3437
|
-
export declare const F0AvatarModule:
|
|
3567
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_5<typeof F0AvatarModule_2>;
|
|
3438
3568
|
|
|
3439
3569
|
/**
|
|
3440
3570
|
* Module avatar
|
|
@@ -3660,13 +3790,13 @@ export declare type F0SelectTagProp = string | {
|
|
|
3660
3790
|
/**
|
|
3661
3791
|
* @experimental This is an experimental component use it at your own risk
|
|
3662
3792
|
*/
|
|
3663
|
-
export declare const F0TableOfContent:
|
|
3793
|
+
export declare const F0TableOfContent: WithDataTestIdReturnType_5<typeof _F0TableOfContent>;
|
|
3664
3794
|
|
|
3665
3795
|
declare function _F0TableOfContent(props: TOCProps): JSX_2.Element;
|
|
3666
3796
|
|
|
3667
|
-
declare const F0TagAlert:
|
|
3797
|
+
declare const F0TagAlert: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_5 & RefAttributes<HTMLDivElement>>>;
|
|
3668
3798
|
|
|
3669
|
-
declare const F0TagBalance:
|
|
3799
|
+
declare const F0TagBalance: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagBalanceProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3670
3800
|
|
|
3671
3801
|
declare type F0TagBalanceProps = {
|
|
3672
3802
|
/**
|
|
@@ -3698,7 +3828,7 @@ declare type F0TagBalanceProps = {
|
|
|
3698
3828
|
formatterOptions?: undefined;
|
|
3699
3829
|
});
|
|
3700
3830
|
|
|
3701
|
-
declare const F0TagCompany:
|
|
3831
|
+
declare const F0TagCompany: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
3702
3832
|
|
|
3703
3833
|
declare type F0TagListProps<T extends TagType_2> = {
|
|
3704
3834
|
/**
|
|
@@ -3720,9 +3850,9 @@ declare type F0TagListProps<T extends TagType_2> = {
|
|
|
3720
3850
|
remainingCount?: number;
|
|
3721
3851
|
};
|
|
3722
3852
|
|
|
3723
|
-
declare const F0TagPerson:
|
|
3853
|
+
declare const F0TagPerson: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
|
|
3724
3854
|
|
|
3725
|
-
declare const F0TagRaw:
|
|
3855
|
+
declare const F0TagRaw: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagRawProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3726
3856
|
|
|
3727
3857
|
declare type F0TagRawProps = {
|
|
3728
3858
|
/**
|
|
@@ -3755,7 +3885,7 @@ declare interface F0TagStatusProps {
|
|
|
3755
3885
|
additionalAccessibleText?: string;
|
|
3756
3886
|
}
|
|
3757
3887
|
|
|
3758
|
-
declare const F0TagTeam:
|
|
3888
|
+
declare const F0TagTeam: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
3759
3889
|
|
|
3760
3890
|
/**
|
|
3761
3891
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -3822,14 +3952,27 @@ declare type FileDef = {
|
|
|
3822
3952
|
type: string;
|
|
3823
3953
|
};
|
|
3824
3954
|
|
|
3825
|
-
export declare const FileItem:
|
|
3955
|
+
export declare const FileItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
3826
3956
|
|
|
3827
3957
|
declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3828
|
-
file: File;
|
|
3958
|
+
file: File | FileDef;
|
|
3829
3959
|
actions?: FileAction[];
|
|
3830
3960
|
disabled?: boolean;
|
|
3961
|
+
size?: FileItemSize;
|
|
3831
3962
|
}
|
|
3832
3963
|
|
|
3964
|
+
export declare type FileItemSize = NonNullable<VariantProps<typeof fileItemVariants>["size"]>;
|
|
3965
|
+
|
|
3966
|
+
declare const fileItemVariants: (props?: ({
|
|
3967
|
+
size?: "lg" | "md" | undefined;
|
|
3968
|
+
} & ({
|
|
3969
|
+
class?: ClassValue;
|
|
3970
|
+
className?: never;
|
|
3971
|
+
} | {
|
|
3972
|
+
class?: never;
|
|
3973
|
+
className?: ClassValue;
|
|
3974
|
+
})) | undefined) => string;
|
|
3975
|
+
|
|
3833
3976
|
export declare type filesConfig = {
|
|
3834
3977
|
onFiles: (files: File[]) => void;
|
|
3835
3978
|
multipleFiles: boolean;
|
|
@@ -4504,6 +4647,10 @@ declare type Level = (typeof levels)[number];
|
|
|
4504
4647
|
|
|
4505
4648
|
declare const levels: readonly ["info", "warning", "critical", "positive"];
|
|
4506
4649
|
|
|
4650
|
+
export declare const LineChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
4651
|
+
lineType?: "natural" | "linear";
|
|
4652
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
4653
|
+
|
|
4507
4654
|
export declare const LineChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
4508
4655
|
chart: LineChartProps;
|
|
4509
4656
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -5106,7 +5253,7 @@ action: BulkAction,
|
|
|
5106
5253
|
/**
|
|
5107
5254
|
* @experimental This is an experimental component use it at your own risk
|
|
5108
5255
|
*/
|
|
5109
|
-
export declare const OneApprovalHistory:
|
|
5256
|
+
export declare const OneApprovalHistory: WithDataTestIdReturnType_5<FC<OneApprovalHistoryProps>>;
|
|
5110
5257
|
|
|
5111
5258
|
declare type OneApprovalHistoryProps = {
|
|
5112
5259
|
steps: ApprovalStep[];
|
|
@@ -5135,13 +5282,10 @@ export declare interface OneCalendarInternalProps {
|
|
|
5135
5282
|
|
|
5136
5283
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_5)[number]>;
|
|
5137
5284
|
|
|
5138
|
-
/**
|
|
5139
|
-
* @experimental This is an experimental component use it at your own risk
|
|
5140
|
-
*/
|
|
5141
5285
|
export declare const OneDataCollection: OneDataCollectionGeneric;
|
|
5142
5286
|
|
|
5143
5287
|
/**
|
|
5144
|
-
* Generic component type so consumers can use <
|
|
5288
|
+
* Generic component type so consumers can use <OneDataCollection<T, R> />.
|
|
5145
5289
|
* Preserves dataTestId and OneDataCollection
|
|
5146
5290
|
*/
|
|
5147
5291
|
declare type OneDataCollectionGeneric = <R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>>(props: OneDataCollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping> & WithDataTestIdProps) => ReactElement | null;
|
|
@@ -5340,7 +5484,7 @@ declare interface OnePaginationProps {
|
|
|
5340
5484
|
/**
|
|
5341
5485
|
* @experimental This is an experimental component use it at your own risk
|
|
5342
5486
|
*/
|
|
5343
|
-
export declare const OnePersonListItem:
|
|
5487
|
+
export declare const OnePersonListItem: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<OnePersonListItemProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
5344
5488
|
Skeleton: () => default_2.JSX.Element;
|
|
5345
5489
|
}>;
|
|
5346
5490
|
|
|
@@ -5427,7 +5571,7 @@ declare interface OverflowListProps<T> {
|
|
|
5427
5571
|
/**
|
|
5428
5572
|
* @experimental This is an experimental component use it at your own risk
|
|
5429
5573
|
*/
|
|
5430
|
-
export declare const Page:
|
|
5574
|
+
export declare const Page: WithDataTestIdReturnType_5<typeof _Page>;
|
|
5431
5575
|
|
|
5432
5576
|
declare function _Page({ children, header, embedded }: PageProps): JSX_2.Element;
|
|
5433
5577
|
|
|
@@ -5555,8 +5699,10 @@ declare type PersonProfile = {
|
|
|
5555
5699
|
|
|
5556
5700
|
declare type PersonTagProps = ComponentProps<typeof F0TagPerson>;
|
|
5557
5701
|
|
|
5702
|
+
export declare const PieChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5703
|
+
|
|
5558
5704
|
export declare const PieChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
5559
|
-
chart:
|
|
5705
|
+
chart: PieChartProps_2;
|
|
5560
5706
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
5561
5707
|
|
|
5562
5708
|
declare type PostDescriptionProps = {
|
|
@@ -5704,6 +5850,13 @@ declare type ProductUpdatesProp = {
|
|
|
5704
5850
|
};
|
|
5705
5851
|
};
|
|
5706
5852
|
|
|
5853
|
+
export declare const ProgressBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
5854
|
+
value: number;
|
|
5855
|
+
max?: number;
|
|
5856
|
+
label?: string;
|
|
5857
|
+
color?: string;
|
|
5858
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5859
|
+
|
|
5707
5860
|
/**
|
|
5708
5861
|
* Utility type for handling both Promise and Observable return types.
|
|
5709
5862
|
* @template T - The type of the value being promised or observed
|
|
@@ -5833,13 +5986,17 @@ declare type Pulse = (typeof pulses)[number];
|
|
|
5833
5986
|
|
|
5834
5987
|
declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
|
|
5835
5988
|
|
|
5836
|
-
export declare const RadarChart:
|
|
5837
|
-
|
|
5838
|
-
|
|
5989
|
+
export declare const RadarChart: <K extends ChartConfig_3>(props: RadarChartProps<K> & {
|
|
5990
|
+
dataTestId?: string;
|
|
5991
|
+
} & {
|
|
5992
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
5993
|
+
}) => ReactElement | null;
|
|
5839
5994
|
|
|
5840
|
-
declare
|
|
5995
|
+
export declare const _RadarChart: <K extends ChartConfig_3>({ data, dataConfig, scaleMin, scaleMax, aspect, dataTestId, }: RadarChartProps<K> & {
|
|
5996
|
+
dataTestId?: string;
|
|
5997
|
+
}, ref: ForwardedRef<HTMLDivElement>) => JSX_2.Element;
|
|
5841
5998
|
|
|
5842
|
-
export declare type RadarChartProps<K extends
|
|
5999
|
+
export declare type RadarChartProps<K extends ChartConfig_3> = {
|
|
5843
6000
|
dataConfig: K;
|
|
5844
6001
|
data: ChartItem<K>[];
|
|
5845
6002
|
scaleMin?: number;
|
|
@@ -5922,7 +6079,7 @@ export declare type resultType = {
|
|
|
5922
6079
|
mentionIds?: number[];
|
|
5923
6080
|
};
|
|
5924
6081
|
|
|
5925
|
-
export declare const RichTextDisplay:
|
|
6082
|
+
export declare const RichTextDisplay: WithDataTestIdReturnType_5<ForwardRefExoticComponent<RichTextDisplayProps & RefAttributes<HTMLDivElement>>>;
|
|
5926
6083
|
|
|
5927
6084
|
export declare type RichTextDisplayHandle = HTMLDivElement;
|
|
5928
6085
|
|
|
@@ -6140,7 +6297,7 @@ declare const shortcutVariants: (props?: ({
|
|
|
6140
6297
|
className?: ClassValue;
|
|
6141
6298
|
})) | undefined) => string;
|
|
6142
6299
|
|
|
6143
|
-
export declare const Sidebar:
|
|
6300
|
+
export declare const Sidebar: WithDataTestIdReturnType_5<typeof _Sidebar>;
|
|
6144
6301
|
|
|
6145
6302
|
declare function _Sidebar({ header, body, footer, onFooterDropdownClick, }: SidebarProps): JSX_2.Element;
|
|
6146
6303
|
|
|
@@ -6247,8 +6404,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6247
6404
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6248
6405
|
basis?: "0" | undefined;
|
|
6249
6406
|
inline?: boolean | undefined;
|
|
6250
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6251
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6407
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6408
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6252
6409
|
grow?: boolean | undefined;
|
|
6253
6410
|
shrink?: boolean | undefined;
|
|
6254
6411
|
} & ({
|
|
@@ -6258,7 +6415,7 @@ className?: never;
|
|
|
6258
6415
|
class?: never;
|
|
6259
6416
|
className?: ClassValue;
|
|
6260
6417
|
})) | undefined) => string> & VariantProps<(props?: ({
|
|
6261
|
-
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "
|
|
6418
|
+
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "1.5" | "0.5" | "2.5" | undefined;
|
|
6262
6419
|
wrap?: boolean | undefined;
|
|
6263
6420
|
} & ({
|
|
6264
6421
|
class?: ClassValue;
|
|
@@ -6277,8 +6434,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6277
6434
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6278
6435
|
basis?: "0" | undefined;
|
|
6279
6436
|
inline?: boolean | undefined;
|
|
6280
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6281
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6437
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6438
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6282
6439
|
grow?: boolean | undefined;
|
|
6283
6440
|
shrink?: boolean | undefined;
|
|
6284
6441
|
} & ({
|
|
@@ -6288,7 +6445,7 @@ className?: never;
|
|
|
6288
6445
|
class?: never;
|
|
6289
6446
|
className?: ClassValue;
|
|
6290
6447
|
})) | undefined) => string> & VariantProps<(props?: ({
|
|
6291
|
-
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "
|
|
6448
|
+
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "1.5" | "0.5" | "2.5" | undefined;
|
|
6292
6449
|
} & ({
|
|
6293
6450
|
class?: ClassValue;
|
|
6294
6451
|
className?: never;
|
|
@@ -6543,7 +6700,7 @@ export declare type TableVisualizationType = "table" | "editableTable";
|
|
|
6543
6700
|
/**
|
|
6544
6701
|
* @experimental This is an experimental component use it at your own risk
|
|
6545
6702
|
*/
|
|
6546
|
-
export declare const Tabs:
|
|
6703
|
+
export declare const Tabs: WithDataTestIdReturnType_5<FC<TabsProps> & {
|
|
6547
6704
|
Skeleton: FC<Pick<TabsProps, "secondary">>;
|
|
6548
6705
|
}>;
|
|
6549
6706
|
|
|
@@ -6799,7 +6956,7 @@ export declare interface ToolbarProps {
|
|
|
6799
6956
|
/**
|
|
6800
6957
|
* @experimental This is an experimental component use it at your own risk
|
|
6801
6958
|
*/
|
|
6802
|
-
export declare const Tooltip:
|
|
6959
|
+
export declare const Tooltip: WithDataTestIdReturnType_5<(props: TooltipProps) => default_2.JSX.Element>;
|
|
6803
6960
|
|
|
6804
6961
|
declare type TooltipInternalProps = {
|
|
6805
6962
|
children: default_2.ReactNode;
|
|
@@ -6850,6 +7007,15 @@ declare namespace Types {
|
|
|
6850
7007
|
}
|
|
6851
7008
|
}
|
|
6852
7009
|
|
|
7010
|
+
/**
|
|
7011
|
+
* Tracking options for the AI chat
|
|
7012
|
+
*/
|
|
7013
|
+
declare type UploadedFile = {
|
|
7014
|
+
url: string;
|
|
7015
|
+
filename: string;
|
|
7016
|
+
mimetype: string;
|
|
7017
|
+
};
|
|
7018
|
+
|
|
6853
7019
|
export declare function useAiPromotionChat(): AiPromotionChatProviderReturnValue;
|
|
6854
7020
|
|
|
6855
7021
|
export declare type UseDataCollectionData<R extends RecordType> = UseDataCollectionDataReturn<R> & {
|
|
@@ -7014,6 +7180,12 @@ export declare interface VersionAuthor {
|
|
|
7014
7180
|
src?: string;
|
|
7015
7181
|
}
|
|
7016
7182
|
|
|
7183
|
+
export declare const VerticalBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
7184
|
+
label?: boolean;
|
|
7185
|
+
showRatio?: boolean;
|
|
7186
|
+
valueFormatter?: (value: string | number | undefined) => string | number;
|
|
7187
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
7188
|
+
|
|
7017
7189
|
export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
7018
7190
|
chart: VerticalBarChartProps;
|
|
7019
7191
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -7140,7 +7312,7 @@ declare type WelcomeScreenSuggestion = {
|
|
|
7140
7312
|
/**
|
|
7141
7313
|
* @experimental This is an experimental component use it at your own risk
|
|
7142
7314
|
*/
|
|
7143
|
-
export declare const Widget:
|
|
7315
|
+
export declare const Widget: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<WidgetProps & {
|
|
7144
7316
|
children: ReactNode;
|
|
7145
7317
|
} & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7146
7318
|
Skeleton: default_2.ForwardRefExoticComponent<WidgetSkeletonProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -7165,7 +7337,7 @@ export declare type WidgetAvatarsListItemProps = {
|
|
|
7165
7337
|
/**
|
|
7166
7338
|
* @experimental This is an experimental component use it at your own risk
|
|
7167
7339
|
*/
|
|
7168
|
-
export declare const WidgetEmptyState:
|
|
7340
|
+
export declare const WidgetEmptyState: WithDataTestIdReturnType_5<typeof _WidgetEmptyState>;
|
|
7169
7341
|
|
|
7170
7342
|
declare function _WidgetEmptyState({ title, description, emoji, actions, }: WidgetEmptyStateProps): JSX_2.Element;
|
|
7171
7343
|
|
|
@@ -7219,7 +7391,7 @@ export declare interface WidgetProps {
|
|
|
7219
7391
|
/**
|
|
7220
7392
|
* @experimental This is an experimental component use it at your own risk
|
|
7221
7393
|
*/
|
|
7222
|
-
export declare const WidgetSection:
|
|
7394
|
+
export declare const WidgetSection: WithDataTestIdReturnType_5<ForwardRefExoticComponent< {
|
|
7223
7395
|
children?: ReactNode | undefined;
|
|
7224
7396
|
} & {
|
|
7225
7397
|
title?: string;
|