@factorialco/f0-react 1.434.0 → 1.436.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-BCNtjNO0.js → F0AiChat-Cg05PVK9.js} +130284 -129727
- package/dist/{F0HILActionConfirmation-4KT5qQii.js → F0HILActionConfirmation-CMnMjtvP.js} +1 -1
- package/dist/ai.d.ts +102 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +199 -54
- package/dist/experimental.js +3987 -4552
- package/dist/f0.d.ts +708 -20
- package/dist/f0.js +6063 -6830
- package/dist/i18n-provider-defaults.d.ts +14 -5
- package/dist/i18n-provider-defaults.js +11 -2
- package/dist/{index-8e9inWY-.js → index-B0hDgrco.js} +13154 -11833
- 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;
|
|
@@ -654,11 +662,18 @@ declare type Approver = {
|
|
|
654
662
|
status: Status;
|
|
655
663
|
};
|
|
656
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
|
+
|
|
657
672
|
export declare const AreaChartWidget: ForwardRefExoticComponent<Omit<AreaChartWidgetProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
658
673
|
|
|
659
674
|
export declare const AutoGrid: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
660
675
|
tileSize?: "lg" | "md" | "sm" | undefined;
|
|
661
|
-
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;
|
|
662
677
|
} & ({
|
|
663
678
|
class?: ClassValue;
|
|
664
679
|
className?: never;
|
|
@@ -770,6 +785,20 @@ declare interface BannerProps {
|
|
|
770
785
|
|
|
771
786
|
declare type BannerVariant = "info" | "warning" | "critical" | "neutral" | "positive";
|
|
772
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
|
+
|
|
773
802
|
export declare const BarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
774
803
|
chart: BarChartProps;
|
|
775
804
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -842,6 +871,22 @@ export declare type BaseBannerProps = {
|
|
|
842
871
|
|
|
843
872
|
export declare const BaseCelebration: ({ link, firstName, lastName, src, onClick, canReact, lastEmojiReaction, onReactionSelect, type, typeLabel, date, }: CelebrationProps) => JSX_2.Element;
|
|
844
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
|
+
|
|
845
890
|
declare type BaseColor = keyof typeof baseColors;
|
|
846
891
|
|
|
847
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;
|
|
@@ -1449,7 +1494,7 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1449
1494
|
/**
|
|
1450
1495
|
* @experimental This is an experimental component use it at your own risk
|
|
1451
1496
|
*/
|
|
1452
|
-
export declare const Carousel:
|
|
1497
|
+
export declare const Carousel: WithDataTestIdReturnType_5<({ children, columns, showArrows, showDots, autoplay, delay, showPeek, doubleColumns, }: CarouselProps) => default_2.JSX.Element>;
|
|
1453
1498
|
|
|
1454
1499
|
declare interface CarouselBreakpoints {
|
|
1455
1500
|
default?: ColumnNumber;
|
|
@@ -1474,7 +1519,9 @@ declare interface CarouselProps {
|
|
|
1474
1519
|
}[];
|
|
1475
1520
|
}
|
|
1476
1521
|
|
|
1477
|
-
declare
|
|
1522
|
+
export declare const CategoryBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<CategoryBarProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
1523
|
+
|
|
1524
|
+
declare interface CategoryBarProps_2 {
|
|
1478
1525
|
data: {
|
|
1479
1526
|
name: string;
|
|
1480
1527
|
value: number;
|
|
@@ -1489,7 +1536,7 @@ export declare function CategoryBarSection({ title, subtitle, data, helpText, le
|
|
|
1489
1536
|
declare interface CategoryBarSectionProps {
|
|
1490
1537
|
title: string;
|
|
1491
1538
|
subtitle: string;
|
|
1492
|
-
data:
|
|
1539
|
+
data: CategoryBarProps_2["data"];
|
|
1493
1540
|
helpText?: string;
|
|
1494
1541
|
legend?: boolean;
|
|
1495
1542
|
hideTooltip?: boolean;
|
|
@@ -1515,9 +1562,9 @@ export declare type CelebrationProps = {
|
|
|
1515
1562
|
|
|
1516
1563
|
export declare const CelebrationSkeleton: () => JSX_2.Element;
|
|
1517
1564
|
|
|
1518
|
-
declare type
|
|
1565
|
+
declare type ChartConfig_3 = Record<string, ChartConfig_4[keyof ChartConfig_4]>;
|
|
1519
1566
|
|
|
1520
|
-
declare type
|
|
1567
|
+
declare type ChartConfig_4 = {
|
|
1521
1568
|
[k in string]: {
|
|
1522
1569
|
label?: React_2.ReactNode;
|
|
1523
1570
|
icon?: React_2.ComponentType;
|
|
@@ -1533,11 +1580,11 @@ declare type ChartConfig_2 = {
|
|
|
1533
1580
|
declare const ChartContainer: React_2.ForwardRefExoticComponent<Omit<ChartContainerComponentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1534
1581
|
|
|
1535
1582
|
declare interface ChartContainerComponentProps extends React_2.ComponentProps<"div">, VariantProps<typeof variants_2> {
|
|
1536
|
-
config:
|
|
1583
|
+
config: ChartConfig_4;
|
|
1537
1584
|
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
1538
1585
|
}
|
|
1539
1586
|
|
|
1540
|
-
declare type ChartItem<K extends
|
|
1587
|
+
declare type ChartItem<K extends ChartConfig_3> = {
|
|
1541
1588
|
label: string;
|
|
1542
1589
|
values: {
|
|
1543
1590
|
[key in keyof K]: number;
|
|
@@ -1547,7 +1594,7 @@ declare type ChartItem<K extends ChartConfig> = {
|
|
|
1547
1594
|
/**
|
|
1548
1595
|
* @experimental This is an experimental component use it at your own risk
|
|
1549
1596
|
*/
|
|
1550
|
-
export declare const ChartWidgetEmptyState:
|
|
1597
|
+
export declare const ChartWidgetEmptyState: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_6 & RefAttributes<HTMLDivElement>>>;
|
|
1551
1598
|
|
|
1552
1599
|
export declare type ChatWidgetEmptyStateProps = Props_6;
|
|
1553
1600
|
|
|
@@ -1561,6 +1608,11 @@ declare type ChildrenPaginationInfo = {
|
|
|
1561
1608
|
|
|
1562
1609
|
declare type ChildrenResponse<R extends RecordType> = NestedResponseWithType<R>;
|
|
1563
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
|
+
|
|
1564
1616
|
declare type ChipLabel = {
|
|
1565
1617
|
label: string;
|
|
1566
1618
|
} & ({
|
|
@@ -1574,6 +1626,37 @@ declare type ChipLabel = {
|
|
|
1574
1626
|
avatar?: never;
|
|
1575
1627
|
});
|
|
1576
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
|
+
|
|
1577
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;
|
|
1578
1661
|
|
|
1579
1662
|
export declare interface ClockInControlsProps {
|
|
@@ -1681,6 +1764,39 @@ declare const columnWidths: {
|
|
|
1681
1764
|
readonly fit: 1;
|
|
1682
1765
|
};
|
|
1683
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
|
+
|
|
1684
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) & {
|
|
1685
1801
|
Skeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
|
|
1686
1802
|
};
|
|
@@ -2252,7 +2368,7 @@ declare type DateValue = {
|
|
|
2252
2368
|
/**
|
|
2253
2369
|
* @experimental This is an experimental component use it at your own risk
|
|
2254
2370
|
*/
|
|
2255
|
-
export declare const DaytimePage:
|
|
2371
|
+
export declare const DaytimePage: WithDataTestIdReturnType_5<typeof _DaytimePage>;
|
|
2256
2372
|
|
|
2257
2373
|
declare function _DaytimePage({ children, header, period, embedded, }: DaytimePageProps): JSX_2.Element;
|
|
2258
2374
|
|
|
@@ -2733,6 +2849,15 @@ declare const defaultTranslations: {
|
|
|
2733
2849
|
};
|
|
2734
2850
|
readonly attachFile: "Attach file";
|
|
2735
2851
|
readonly removeFile: "Remove";
|
|
2852
|
+
readonly clarifyingQuestion: {
|
|
2853
|
+
readonly submit: "Submit";
|
|
2854
|
+
readonly next: "Next";
|
|
2855
|
+
readonly back: "Back";
|
|
2856
|
+
readonly typeYourAnswer: "Type your answer…";
|
|
2857
|
+
readonly stepOf: "{{current}} of {{total}}";
|
|
2858
|
+
readonly custom: "own answer";
|
|
2859
|
+
readonly skipped: "skipped";
|
|
2860
|
+
};
|
|
2736
2861
|
readonly growth: {
|
|
2737
2862
|
readonly demoCard: {
|
|
2738
2863
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -2974,7 +3099,7 @@ declare const defaultTranslations: {
|
|
|
2974
3099
|
/**
|
|
2975
3100
|
* @experimental This is an experimental component use it at your own risk
|
|
2976
3101
|
*/
|
|
2977
|
-
export declare const DetailsItem:
|
|
3102
|
+
export declare const DetailsItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>>;
|
|
2978
3103
|
|
|
2979
3104
|
/**
|
|
2980
3105
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -2994,7 +3119,7 @@ export declare interface DetailsItemType {
|
|
|
2994
3119
|
spacingAtTheBottom?: boolean;
|
|
2995
3120
|
}
|
|
2996
3121
|
|
|
2997
|
-
export declare const Dialog:
|
|
3122
|
+
export declare const Dialog: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<DialogProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
2998
3123
|
|
|
2999
3124
|
declare type DialogProps = {
|
|
3000
3125
|
header: {
|
|
@@ -3370,7 +3495,7 @@ export declare const F0AiBanner: ForwardRefExoticComponent<Omit<AiBannerInternal
|
|
|
3370
3495
|
|
|
3371
3496
|
export declare type F0AiBannerProps = AiBannerInternalProps;
|
|
3372
3497
|
|
|
3373
|
-
declare const F0AvatarAlert:
|
|
3498
|
+
declare const F0AvatarAlert: WithDataTestIdReturnType_5<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps_2) => JSX_2.Element>;
|
|
3374
3499
|
|
|
3375
3500
|
declare type F0AvatarCompanyProps = {
|
|
3376
3501
|
name: string;
|
|
@@ -3448,7 +3573,7 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
3448
3573
|
avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3449
3574
|
};
|
|
3450
3575
|
|
|
3451
|
-
export declare const F0AvatarModule:
|
|
3576
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_5<typeof F0AvatarModule_2>;
|
|
3452
3577
|
|
|
3453
3578
|
/**
|
|
3454
3579
|
* Module avatar
|
|
@@ -3674,13 +3799,13 @@ export declare type F0SelectTagProp = string | {
|
|
|
3674
3799
|
/**
|
|
3675
3800
|
* @experimental This is an experimental component use it at your own risk
|
|
3676
3801
|
*/
|
|
3677
|
-
export declare const F0TableOfContent:
|
|
3802
|
+
export declare const F0TableOfContent: WithDataTestIdReturnType_5<typeof _F0TableOfContent>;
|
|
3678
3803
|
|
|
3679
3804
|
declare function _F0TableOfContent(props: TOCProps): JSX_2.Element;
|
|
3680
3805
|
|
|
3681
|
-
declare const F0TagAlert:
|
|
3806
|
+
declare const F0TagAlert: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_5 & RefAttributes<HTMLDivElement>>>;
|
|
3682
3807
|
|
|
3683
|
-
declare const F0TagBalance:
|
|
3808
|
+
declare const F0TagBalance: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagBalanceProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3684
3809
|
|
|
3685
3810
|
declare type F0TagBalanceProps = {
|
|
3686
3811
|
/**
|
|
@@ -3712,7 +3837,7 @@ declare type F0TagBalanceProps = {
|
|
|
3712
3837
|
formatterOptions?: undefined;
|
|
3713
3838
|
});
|
|
3714
3839
|
|
|
3715
|
-
declare const F0TagCompany:
|
|
3840
|
+
declare const F0TagCompany: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
3716
3841
|
|
|
3717
3842
|
declare type F0TagListProps<T extends TagType_2> = {
|
|
3718
3843
|
/**
|
|
@@ -3734,9 +3859,9 @@ declare type F0TagListProps<T extends TagType_2> = {
|
|
|
3734
3859
|
remainingCount?: number;
|
|
3735
3860
|
};
|
|
3736
3861
|
|
|
3737
|
-
declare const F0TagPerson:
|
|
3862
|
+
declare const F0TagPerson: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
|
|
3738
3863
|
|
|
3739
|
-
declare const F0TagRaw:
|
|
3864
|
+
declare const F0TagRaw: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagRawProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3740
3865
|
|
|
3741
3866
|
declare type F0TagRawProps = {
|
|
3742
3867
|
/**
|
|
@@ -3769,7 +3894,7 @@ declare interface F0TagStatusProps {
|
|
|
3769
3894
|
additionalAccessibleText?: string;
|
|
3770
3895
|
}
|
|
3771
3896
|
|
|
3772
|
-
declare const F0TagTeam:
|
|
3897
|
+
declare const F0TagTeam: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
3773
3898
|
|
|
3774
3899
|
/**
|
|
3775
3900
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -3836,7 +3961,7 @@ declare type FileDef = {
|
|
|
3836
3961
|
type: string;
|
|
3837
3962
|
};
|
|
3838
3963
|
|
|
3839
|
-
export declare const FileItem:
|
|
3964
|
+
export declare const FileItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
3840
3965
|
|
|
3841
3966
|
declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3842
3967
|
file: File | FileDef;
|
|
@@ -4531,6 +4656,10 @@ declare type Level = (typeof levels)[number];
|
|
|
4531
4656
|
|
|
4532
4657
|
declare const levels: readonly ["info", "warning", "critical", "positive"];
|
|
4533
4658
|
|
|
4659
|
+
export declare const LineChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
4660
|
+
lineType?: "natural" | "linear";
|
|
4661
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
4662
|
+
|
|
4534
4663
|
export declare const LineChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
4535
4664
|
chart: LineChartProps;
|
|
4536
4665
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -5133,7 +5262,7 @@ action: BulkAction,
|
|
|
5133
5262
|
/**
|
|
5134
5263
|
* @experimental This is an experimental component use it at your own risk
|
|
5135
5264
|
*/
|
|
5136
|
-
export declare const OneApprovalHistory:
|
|
5265
|
+
export declare const OneApprovalHistory: WithDataTestIdReturnType_5<FC<OneApprovalHistoryProps>>;
|
|
5137
5266
|
|
|
5138
5267
|
declare type OneApprovalHistoryProps = {
|
|
5139
5268
|
steps: ApprovalStep[];
|
|
@@ -5162,13 +5291,10 @@ export declare interface OneCalendarInternalProps {
|
|
|
5162
5291
|
|
|
5163
5292
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_5)[number]>;
|
|
5164
5293
|
|
|
5165
|
-
/**
|
|
5166
|
-
* @experimental This is an experimental component use it at your own risk
|
|
5167
|
-
*/
|
|
5168
5294
|
export declare const OneDataCollection: OneDataCollectionGeneric;
|
|
5169
5295
|
|
|
5170
5296
|
/**
|
|
5171
|
-
* Generic component type so consumers can use <
|
|
5297
|
+
* Generic component type so consumers can use <OneDataCollection<T, R> />.
|
|
5172
5298
|
* Preserves dataTestId and OneDataCollection
|
|
5173
5299
|
*/
|
|
5174
5300
|
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;
|
|
@@ -5367,7 +5493,7 @@ declare interface OnePaginationProps {
|
|
|
5367
5493
|
/**
|
|
5368
5494
|
* @experimental This is an experimental component use it at your own risk
|
|
5369
5495
|
*/
|
|
5370
|
-
export declare const OnePersonListItem:
|
|
5496
|
+
export declare const OnePersonListItem: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<OnePersonListItemProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
5371
5497
|
Skeleton: () => default_2.JSX.Element;
|
|
5372
5498
|
}>;
|
|
5373
5499
|
|
|
@@ -5454,7 +5580,7 @@ declare interface OverflowListProps<T> {
|
|
|
5454
5580
|
/**
|
|
5455
5581
|
* @experimental This is an experimental component use it at your own risk
|
|
5456
5582
|
*/
|
|
5457
|
-
export declare const Page:
|
|
5583
|
+
export declare const Page: WithDataTestIdReturnType_5<typeof _Page>;
|
|
5458
5584
|
|
|
5459
5585
|
declare function _Page({ children, header, embedded }: PageProps): JSX_2.Element;
|
|
5460
5586
|
|
|
@@ -5582,8 +5708,10 @@ declare type PersonProfile = {
|
|
|
5582
5708
|
|
|
5583
5709
|
declare type PersonTagProps = ComponentProps<typeof F0TagPerson>;
|
|
5584
5710
|
|
|
5711
|
+
export declare const PieChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5712
|
+
|
|
5585
5713
|
export declare const PieChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
5586
|
-
chart:
|
|
5714
|
+
chart: PieChartProps_2;
|
|
5587
5715
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
5588
5716
|
|
|
5589
5717
|
declare type PostDescriptionProps = {
|
|
@@ -5731,6 +5859,13 @@ declare type ProductUpdatesProp = {
|
|
|
5731
5859
|
};
|
|
5732
5860
|
};
|
|
5733
5861
|
|
|
5862
|
+
export declare const ProgressBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
5863
|
+
value: number;
|
|
5864
|
+
max?: number;
|
|
5865
|
+
label?: string;
|
|
5866
|
+
color?: string;
|
|
5867
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5868
|
+
|
|
5734
5869
|
/**
|
|
5735
5870
|
* Utility type for handling both Promise and Observable return types.
|
|
5736
5871
|
* @template T - The type of the value being promised or observed
|
|
@@ -5860,13 +5995,17 @@ declare type Pulse = (typeof pulses)[number];
|
|
|
5860
5995
|
|
|
5861
5996
|
declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
|
|
5862
5997
|
|
|
5863
|
-
export declare const RadarChart:
|
|
5864
|
-
|
|
5865
|
-
|
|
5998
|
+
export declare const RadarChart: <K extends ChartConfig_3>(props: RadarChartProps<K> & {
|
|
5999
|
+
dataTestId?: string;
|
|
6000
|
+
} & {
|
|
6001
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
6002
|
+
}) => ReactElement | null;
|
|
5866
6003
|
|
|
5867
|
-
declare
|
|
6004
|
+
export declare const _RadarChart: <K extends ChartConfig_3>({ data, dataConfig, scaleMin, scaleMax, aspect, dataTestId, }: RadarChartProps<K> & {
|
|
6005
|
+
dataTestId?: string;
|
|
6006
|
+
}, ref: ForwardedRef<HTMLDivElement>) => JSX_2.Element;
|
|
5868
6007
|
|
|
5869
|
-
export declare type RadarChartProps<K extends
|
|
6008
|
+
export declare type RadarChartProps<K extends ChartConfig_3> = {
|
|
5870
6009
|
dataConfig: K;
|
|
5871
6010
|
data: ChartItem<K>[];
|
|
5872
6011
|
scaleMin?: number;
|
|
@@ -5949,7 +6088,7 @@ export declare type resultType = {
|
|
|
5949
6088
|
mentionIds?: number[];
|
|
5950
6089
|
};
|
|
5951
6090
|
|
|
5952
|
-
export declare const RichTextDisplay:
|
|
6091
|
+
export declare const RichTextDisplay: WithDataTestIdReturnType_5<ForwardRefExoticComponent<RichTextDisplayProps & RefAttributes<HTMLDivElement>>>;
|
|
5953
6092
|
|
|
5954
6093
|
export declare type RichTextDisplayHandle = HTMLDivElement;
|
|
5955
6094
|
|
|
@@ -6167,7 +6306,7 @@ declare const shortcutVariants: (props?: ({
|
|
|
6167
6306
|
className?: ClassValue;
|
|
6168
6307
|
})) | undefined) => string;
|
|
6169
6308
|
|
|
6170
|
-
export declare const Sidebar:
|
|
6309
|
+
export declare const Sidebar: WithDataTestIdReturnType_5<typeof _Sidebar>;
|
|
6171
6310
|
|
|
6172
6311
|
declare function _Sidebar({ header, body, footer, onFooterDropdownClick, }: SidebarProps): JSX_2.Element;
|
|
6173
6312
|
|
|
@@ -6274,8 +6413,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6274
6413
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6275
6414
|
basis?: "0" | undefined;
|
|
6276
6415
|
inline?: boolean | undefined;
|
|
6277
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6278
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6416
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6417
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6279
6418
|
grow?: boolean | undefined;
|
|
6280
6419
|
shrink?: boolean | undefined;
|
|
6281
6420
|
} & ({
|
|
@@ -6285,7 +6424,7 @@ className?: never;
|
|
|
6285
6424
|
class?: never;
|
|
6286
6425
|
className?: ClassValue;
|
|
6287
6426
|
})) | undefined) => string> & VariantProps<(props?: ({
|
|
6288
|
-
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "
|
|
6427
|
+
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;
|
|
6289
6428
|
wrap?: boolean | undefined;
|
|
6290
6429
|
} & ({
|
|
6291
6430
|
class?: ClassValue;
|
|
@@ -6304,8 +6443,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6304
6443
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6305
6444
|
basis?: "0" | undefined;
|
|
6306
6445
|
inline?: boolean | undefined;
|
|
6307
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6308
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6446
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6447
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6309
6448
|
grow?: boolean | undefined;
|
|
6310
6449
|
shrink?: boolean | undefined;
|
|
6311
6450
|
} & ({
|
|
@@ -6315,7 +6454,7 @@ className?: never;
|
|
|
6315
6454
|
class?: never;
|
|
6316
6455
|
className?: ClassValue;
|
|
6317
6456
|
})) | undefined) => string> & VariantProps<(props?: ({
|
|
6318
|
-
gap?: "0" | "1" | "2" | "3" | "4" | "lg" | "md" | "sm" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "px" | "xl" | "
|
|
6457
|
+
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;
|
|
6319
6458
|
} & ({
|
|
6320
6459
|
class?: ClassValue;
|
|
6321
6460
|
className?: never;
|
|
@@ -6570,7 +6709,7 @@ export declare type TableVisualizationType = "table" | "editableTable";
|
|
|
6570
6709
|
/**
|
|
6571
6710
|
* @experimental This is an experimental component use it at your own risk
|
|
6572
6711
|
*/
|
|
6573
|
-
export declare const Tabs:
|
|
6712
|
+
export declare const Tabs: WithDataTestIdReturnType_5<FC<TabsProps> & {
|
|
6574
6713
|
Skeleton: FC<Pick<TabsProps, "secondary">>;
|
|
6575
6714
|
}>;
|
|
6576
6715
|
|
|
@@ -6826,7 +6965,7 @@ export declare interface ToolbarProps {
|
|
|
6826
6965
|
/**
|
|
6827
6966
|
* @experimental This is an experimental component use it at your own risk
|
|
6828
6967
|
*/
|
|
6829
|
-
export declare const Tooltip:
|
|
6968
|
+
export declare const Tooltip: WithDataTestIdReturnType_5<(props: TooltipProps) => default_2.JSX.Element>;
|
|
6830
6969
|
|
|
6831
6970
|
declare type TooltipInternalProps = {
|
|
6832
6971
|
children: default_2.ReactNode;
|
|
@@ -7050,6 +7189,12 @@ export declare interface VersionAuthor {
|
|
|
7050
7189
|
src?: string;
|
|
7051
7190
|
}
|
|
7052
7191
|
|
|
7192
|
+
export declare const VerticalBarChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
7193
|
+
label?: boolean;
|
|
7194
|
+
showRatio?: boolean;
|
|
7195
|
+
valueFormatter?: (value: string | number | undefined) => string | number;
|
|
7196
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
7197
|
+
|
|
7053
7198
|
export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
7054
7199
|
chart: VerticalBarChartProps;
|
|
7055
7200
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -7176,7 +7321,7 @@ declare type WelcomeScreenSuggestion = {
|
|
|
7176
7321
|
/**
|
|
7177
7322
|
* @experimental This is an experimental component use it at your own risk
|
|
7178
7323
|
*/
|
|
7179
|
-
export declare const Widget:
|
|
7324
|
+
export declare const Widget: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<WidgetProps & {
|
|
7180
7325
|
children: ReactNode;
|
|
7181
7326
|
} & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7182
7327
|
Skeleton: default_2.ForwardRefExoticComponent<WidgetSkeletonProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -7201,7 +7346,7 @@ export declare type WidgetAvatarsListItemProps = {
|
|
|
7201
7346
|
/**
|
|
7202
7347
|
* @experimental This is an experimental component use it at your own risk
|
|
7203
7348
|
*/
|
|
7204
|
-
export declare const WidgetEmptyState:
|
|
7349
|
+
export declare const WidgetEmptyState: WithDataTestIdReturnType_5<typeof _WidgetEmptyState>;
|
|
7205
7350
|
|
|
7206
7351
|
declare function _WidgetEmptyState({ title, description, emoji, actions, }: WidgetEmptyStateProps): JSX_2.Element;
|
|
7207
7352
|
|
|
@@ -7255,7 +7400,7 @@ export declare interface WidgetProps {
|
|
|
7255
7400
|
/**
|
|
7256
7401
|
* @experimental This is an experimental component use it at your own risk
|
|
7257
7402
|
*/
|
|
7258
|
-
export declare const WidgetSection:
|
|
7403
|
+
export declare const WidgetSection: WithDataTestIdReturnType_5<ForwardRefExoticComponent< {
|
|
7259
7404
|
children?: ReactNode | undefined;
|
|
7260
7405
|
} & {
|
|
7261
7406
|
title?: string;
|
|
@@ -7370,6 +7515,11 @@ declare module "gridstack" {
|
|
|
7370
7515
|
}
|
|
7371
7516
|
|
|
7372
7517
|
|
|
7518
|
+
declare namespace Calendar {
|
|
7519
|
+
var displayName: string;
|
|
7520
|
+
}
|
|
7521
|
+
|
|
7522
|
+
|
|
7373
7523
|
declare module "@tiptap/core" {
|
|
7374
7524
|
interface Commands<ReturnType> {
|
|
7375
7525
|
aiBlock: {
|
|
@@ -7417,8 +7567,3 @@ declare module "@tiptap/core" {
|
|
|
7417
7567
|
};
|
|
7418
7568
|
}
|
|
7419
7569
|
}
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
declare namespace Calendar {
|
|
7423
|
-
var displayName: string;
|
|
7424
|
-
}
|