@factorialco/f0-react 1.434.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-BCNtjNO0.js → F0AiChat-BsYN-CYp.js} +118192 -118169
- package/dist/{F0HILActionConfirmation-4KT5qQii.js → F0HILActionConfirmation-zvTnEJgf.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +185 -49
- package/dist/experimental.js +3987 -4552
- package/dist/f0.d.ts +606 -15
- package/dist/f0.js +6063 -6830
- package/dist/{index-8e9inWY-.js → index-CHmxufWS.js} +13154 -11833
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-BsYN-CYp.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-BsYN-CYp.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-zvTnEJgf.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
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
|
|
|
@@ -2974,7 +3090,7 @@ declare const defaultTranslations: {
|
|
|
2974
3090
|
/**
|
|
2975
3091
|
* @experimental This is an experimental component use it at your own risk
|
|
2976
3092
|
*/
|
|
2977
|
-
export declare const DetailsItem:
|
|
3093
|
+
export declare const DetailsItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>>;
|
|
2978
3094
|
|
|
2979
3095
|
/**
|
|
2980
3096
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -2994,7 +3110,7 @@ export declare interface DetailsItemType {
|
|
|
2994
3110
|
spacingAtTheBottom?: boolean;
|
|
2995
3111
|
}
|
|
2996
3112
|
|
|
2997
|
-
export declare const Dialog:
|
|
3113
|
+
export declare const Dialog: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<DialogProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
2998
3114
|
|
|
2999
3115
|
declare type DialogProps = {
|
|
3000
3116
|
header: {
|
|
@@ -3370,7 +3486,7 @@ export declare const F0AiBanner: ForwardRefExoticComponent<Omit<AiBannerInternal
|
|
|
3370
3486
|
|
|
3371
3487
|
export declare type F0AiBannerProps = AiBannerInternalProps;
|
|
3372
3488
|
|
|
3373
|
-
declare const F0AvatarAlert:
|
|
3489
|
+
declare const F0AvatarAlert: WithDataTestIdReturnType_5<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps_2) => JSX_2.Element>;
|
|
3374
3490
|
|
|
3375
3491
|
declare type F0AvatarCompanyProps = {
|
|
3376
3492
|
name: string;
|
|
@@ -3448,7 +3564,7 @@ declare type F0AvatarListPropsAvatars = {
|
|
|
3448
3564
|
avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3449
3565
|
};
|
|
3450
3566
|
|
|
3451
|
-
export declare const F0AvatarModule:
|
|
3567
|
+
export declare const F0AvatarModule: WithDataTestIdReturnType_5<typeof F0AvatarModule_2>;
|
|
3452
3568
|
|
|
3453
3569
|
/**
|
|
3454
3570
|
* Module avatar
|
|
@@ -3674,13 +3790,13 @@ export declare type F0SelectTagProp = string | {
|
|
|
3674
3790
|
/**
|
|
3675
3791
|
* @experimental This is an experimental component use it at your own risk
|
|
3676
3792
|
*/
|
|
3677
|
-
export declare const F0TableOfContent:
|
|
3793
|
+
export declare const F0TableOfContent: WithDataTestIdReturnType_5<typeof _F0TableOfContent>;
|
|
3678
3794
|
|
|
3679
3795
|
declare function _F0TableOfContent(props: TOCProps): JSX_2.Element;
|
|
3680
3796
|
|
|
3681
|
-
declare const F0TagAlert:
|
|
3797
|
+
declare const F0TagAlert: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_5 & RefAttributes<HTMLDivElement>>>;
|
|
3682
3798
|
|
|
3683
|
-
declare const F0TagBalance:
|
|
3799
|
+
declare const F0TagBalance: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagBalanceProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3684
3800
|
|
|
3685
3801
|
declare type F0TagBalanceProps = {
|
|
3686
3802
|
/**
|
|
@@ -3712,7 +3828,7 @@ declare type F0TagBalanceProps = {
|
|
|
3712
3828
|
formatterOptions?: undefined;
|
|
3713
3829
|
});
|
|
3714
3830
|
|
|
3715
|
-
declare const F0TagCompany:
|
|
3831
|
+
declare const F0TagCompany: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
|
|
3716
3832
|
|
|
3717
3833
|
declare type F0TagListProps<T extends TagType_2> = {
|
|
3718
3834
|
/**
|
|
@@ -3734,9 +3850,9 @@ declare type F0TagListProps<T extends TagType_2> = {
|
|
|
3734
3850
|
remainingCount?: number;
|
|
3735
3851
|
};
|
|
3736
3852
|
|
|
3737
|
-
declare const F0TagPerson:
|
|
3853
|
+
declare const F0TagPerson: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
|
|
3738
3854
|
|
|
3739
|
-
declare const F0TagRaw:
|
|
3855
|
+
declare const F0TagRaw: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagRawProps_2 & RefAttributes<HTMLDivElement>>>;
|
|
3740
3856
|
|
|
3741
3857
|
declare type F0TagRawProps = {
|
|
3742
3858
|
/**
|
|
@@ -3769,7 +3885,7 @@ declare interface F0TagStatusProps {
|
|
|
3769
3885
|
additionalAccessibleText?: string;
|
|
3770
3886
|
}
|
|
3771
3887
|
|
|
3772
|
-
declare const F0TagTeam:
|
|
3888
|
+
declare const F0TagTeam: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
|
|
3773
3889
|
|
|
3774
3890
|
/**
|
|
3775
3891
|
* @experimental This is an experimental component use it at your own risk
|
|
@@ -3836,7 +3952,7 @@ declare type FileDef = {
|
|
|
3836
3952
|
type: string;
|
|
3837
3953
|
};
|
|
3838
3954
|
|
|
3839
|
-
export declare const FileItem:
|
|
3955
|
+
export declare const FileItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>>;
|
|
3840
3956
|
|
|
3841
3957
|
declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3842
3958
|
file: File | FileDef;
|
|
@@ -4531,6 +4647,10 @@ declare type Level = (typeof levels)[number];
|
|
|
4531
4647
|
|
|
4532
4648
|
declare const levels: readonly ["info", "warning", "critical", "positive"];
|
|
4533
4649
|
|
|
4650
|
+
export declare const LineChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
4651
|
+
lineType?: "natural" | "linear";
|
|
4652
|
+
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
4653
|
+
|
|
4534
4654
|
export declare const LineChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
4535
4655
|
chart: LineChartProps;
|
|
4536
4656
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -5133,7 +5253,7 @@ action: BulkAction,
|
|
|
5133
5253
|
/**
|
|
5134
5254
|
* @experimental This is an experimental component use it at your own risk
|
|
5135
5255
|
*/
|
|
5136
|
-
export declare const OneApprovalHistory:
|
|
5256
|
+
export declare const OneApprovalHistory: WithDataTestIdReturnType_5<FC<OneApprovalHistoryProps>>;
|
|
5137
5257
|
|
|
5138
5258
|
declare type OneApprovalHistoryProps = {
|
|
5139
5259
|
steps: ApprovalStep[];
|
|
@@ -5162,13 +5282,10 @@ export declare interface OneCalendarInternalProps {
|
|
|
5162
5282
|
|
|
5163
5283
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_5)[number]>;
|
|
5164
5284
|
|
|
5165
|
-
/**
|
|
5166
|
-
* @experimental This is an experimental component use it at your own risk
|
|
5167
|
-
*/
|
|
5168
5285
|
export declare const OneDataCollection: OneDataCollectionGeneric;
|
|
5169
5286
|
|
|
5170
5287
|
/**
|
|
5171
|
-
* Generic component type so consumers can use <
|
|
5288
|
+
* Generic component type so consumers can use <OneDataCollection<T, R> />.
|
|
5172
5289
|
* Preserves dataTestId and OneDataCollection
|
|
5173
5290
|
*/
|
|
5174
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;
|
|
@@ -5367,7 +5484,7 @@ declare interface OnePaginationProps {
|
|
|
5367
5484
|
/**
|
|
5368
5485
|
* @experimental This is an experimental component use it at your own risk
|
|
5369
5486
|
*/
|
|
5370
|
-
export declare const OnePersonListItem:
|
|
5487
|
+
export declare const OnePersonListItem: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<OnePersonListItemProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
5371
5488
|
Skeleton: () => default_2.JSX.Element;
|
|
5372
5489
|
}>;
|
|
5373
5490
|
|
|
@@ -5454,7 +5571,7 @@ declare interface OverflowListProps<T> {
|
|
|
5454
5571
|
/**
|
|
5455
5572
|
* @experimental This is an experimental component use it at your own risk
|
|
5456
5573
|
*/
|
|
5457
|
-
export declare const Page:
|
|
5574
|
+
export declare const Page: WithDataTestIdReturnType_5<typeof _Page>;
|
|
5458
5575
|
|
|
5459
5576
|
declare function _Page({ children, header, embedded }: PageProps): JSX_2.Element;
|
|
5460
5577
|
|
|
@@ -5582,8 +5699,10 @@ declare type PersonProfile = {
|
|
|
5582
5699
|
|
|
5583
5700
|
declare type PersonTagProps = ComponentProps<typeof F0TagPerson>;
|
|
5584
5701
|
|
|
5702
|
+
export declare const PieChart: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<PieChartProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
5703
|
+
|
|
5585
5704
|
export declare const PieChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
5586
|
-
chart:
|
|
5705
|
+
chart: PieChartProps_2;
|
|
5587
5706
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
5588
5707
|
|
|
5589
5708
|
declare type PostDescriptionProps = {
|
|
@@ -5731,6 +5850,13 @@ declare type ProductUpdatesProp = {
|
|
|
5731
5850
|
};
|
|
5732
5851
|
};
|
|
5733
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
|
+
|
|
5734
5860
|
/**
|
|
5735
5861
|
* Utility type for handling both Promise and Observable return types.
|
|
5736
5862
|
* @template T - The type of the value being promised or observed
|
|
@@ -5860,13 +5986,17 @@ declare type Pulse = (typeof pulses)[number];
|
|
|
5860
5986
|
|
|
5861
5987
|
declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
|
|
5862
5988
|
|
|
5863
|
-
export declare const RadarChart:
|
|
5864
|
-
|
|
5865
|
-
|
|
5989
|
+
export declare const RadarChart: <K extends ChartConfig_3>(props: RadarChartProps<K> & {
|
|
5990
|
+
dataTestId?: string;
|
|
5991
|
+
} & {
|
|
5992
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
5993
|
+
}) => ReactElement | null;
|
|
5866
5994
|
|
|
5867
|
-
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;
|
|
5868
5998
|
|
|
5869
|
-
export declare type RadarChartProps<K extends
|
|
5999
|
+
export declare type RadarChartProps<K extends ChartConfig_3> = {
|
|
5870
6000
|
dataConfig: K;
|
|
5871
6001
|
data: ChartItem<K>[];
|
|
5872
6002
|
scaleMin?: number;
|
|
@@ -5949,7 +6079,7 @@ export declare type resultType = {
|
|
|
5949
6079
|
mentionIds?: number[];
|
|
5950
6080
|
};
|
|
5951
6081
|
|
|
5952
|
-
export declare const RichTextDisplay:
|
|
6082
|
+
export declare const RichTextDisplay: WithDataTestIdReturnType_5<ForwardRefExoticComponent<RichTextDisplayProps & RefAttributes<HTMLDivElement>>>;
|
|
5953
6083
|
|
|
5954
6084
|
export declare type RichTextDisplayHandle = HTMLDivElement;
|
|
5955
6085
|
|
|
@@ -6167,7 +6297,7 @@ declare const shortcutVariants: (props?: ({
|
|
|
6167
6297
|
className?: ClassValue;
|
|
6168
6298
|
})) | undefined) => string;
|
|
6169
6299
|
|
|
6170
|
-
export declare const Sidebar:
|
|
6300
|
+
export declare const Sidebar: WithDataTestIdReturnType_5<typeof _Sidebar>;
|
|
6171
6301
|
|
|
6172
6302
|
declare function _Sidebar({ header, body, footer, onFooterDropdownClick, }: SidebarProps): JSX_2.Element;
|
|
6173
6303
|
|
|
@@ -6274,8 +6404,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6274
6404
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6275
6405
|
basis?: "0" | undefined;
|
|
6276
6406
|
inline?: boolean | undefined;
|
|
6277
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6278
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6407
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6408
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6279
6409
|
grow?: boolean | undefined;
|
|
6280
6410
|
shrink?: boolean | undefined;
|
|
6281
6411
|
} & ({
|
|
@@ -6285,7 +6415,7 @@ className?: never;
|
|
|
6285
6415
|
class?: never;
|
|
6286
6416
|
className?: ClassValue;
|
|
6287
6417
|
})) | 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" | "
|
|
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;
|
|
6289
6419
|
wrap?: boolean | undefined;
|
|
6290
6420
|
} & ({
|
|
6291
6421
|
class?: ClassValue;
|
|
@@ -6304,8 +6434,8 @@ width?: "auto" | "full" | undefined;
|
|
|
6304
6434
|
paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
|
|
6305
6435
|
basis?: "0" | undefined;
|
|
6306
6436
|
inline?: boolean | undefined;
|
|
6307
|
-
justifyContent?: "center" | "end" | "start" | "
|
|
6308
|
-
alignItems?: "center" | "end" | "start" | "
|
|
6437
|
+
justifyContent?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6438
|
+
alignItems?: "center" | "end" | "start" | "space-between" | "stretch" | undefined;
|
|
6309
6439
|
grow?: boolean | undefined;
|
|
6310
6440
|
shrink?: boolean | undefined;
|
|
6311
6441
|
} & ({
|
|
@@ -6315,7 +6445,7 @@ className?: never;
|
|
|
6315
6445
|
class?: never;
|
|
6316
6446
|
className?: ClassValue;
|
|
6317
6447
|
})) | 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" | "
|
|
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;
|
|
6319
6449
|
} & ({
|
|
6320
6450
|
class?: ClassValue;
|
|
6321
6451
|
className?: never;
|
|
@@ -6570,7 +6700,7 @@ export declare type TableVisualizationType = "table" | "editableTable";
|
|
|
6570
6700
|
/**
|
|
6571
6701
|
* @experimental This is an experimental component use it at your own risk
|
|
6572
6702
|
*/
|
|
6573
|
-
export declare const Tabs:
|
|
6703
|
+
export declare const Tabs: WithDataTestIdReturnType_5<FC<TabsProps> & {
|
|
6574
6704
|
Skeleton: FC<Pick<TabsProps, "secondary">>;
|
|
6575
6705
|
}>;
|
|
6576
6706
|
|
|
@@ -6826,7 +6956,7 @@ export declare interface ToolbarProps {
|
|
|
6826
6956
|
/**
|
|
6827
6957
|
* @experimental This is an experimental component use it at your own risk
|
|
6828
6958
|
*/
|
|
6829
|
-
export declare const Tooltip:
|
|
6959
|
+
export declare const Tooltip: WithDataTestIdReturnType_5<(props: TooltipProps) => default_2.JSX.Element>;
|
|
6830
6960
|
|
|
6831
6961
|
declare type TooltipInternalProps = {
|
|
6832
6962
|
children: default_2.ReactNode;
|
|
@@ -7050,6 +7180,12 @@ export declare interface VersionAuthor {
|
|
|
7050
7180
|
src?: string;
|
|
7051
7181
|
}
|
|
7052
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
|
+
|
|
7053
7189
|
export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
7054
7190
|
chart: VerticalBarChartProps;
|
|
7055
7191
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -7176,7 +7312,7 @@ declare type WelcomeScreenSuggestion = {
|
|
|
7176
7312
|
/**
|
|
7177
7313
|
* @experimental This is an experimental component use it at your own risk
|
|
7178
7314
|
*/
|
|
7179
|
-
export declare const Widget:
|
|
7315
|
+
export declare const Widget: WithDataTestIdReturnType_5<default_2.ForwardRefExoticComponent<WidgetProps & {
|
|
7180
7316
|
children: ReactNode;
|
|
7181
7317
|
} & default_2.RefAttributes<HTMLDivElement>> & {
|
|
7182
7318
|
Skeleton: default_2.ForwardRefExoticComponent<WidgetSkeletonProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -7201,7 +7337,7 @@ export declare type WidgetAvatarsListItemProps = {
|
|
|
7201
7337
|
/**
|
|
7202
7338
|
* @experimental This is an experimental component use it at your own risk
|
|
7203
7339
|
*/
|
|
7204
|
-
export declare const WidgetEmptyState:
|
|
7340
|
+
export declare const WidgetEmptyState: WithDataTestIdReturnType_5<typeof _WidgetEmptyState>;
|
|
7205
7341
|
|
|
7206
7342
|
declare function _WidgetEmptyState({ title, description, emoji, actions, }: WidgetEmptyStateProps): JSX_2.Element;
|
|
7207
7343
|
|
|
@@ -7255,7 +7391,7 @@ export declare interface WidgetProps {
|
|
|
7255
7391
|
/**
|
|
7256
7392
|
* @experimental This is an experimental component use it at your own risk
|
|
7257
7393
|
*/
|
|
7258
|
-
export declare const WidgetSection:
|
|
7394
|
+
export declare const WidgetSection: WithDataTestIdReturnType_5<ForwardRefExoticComponent< {
|
|
7259
7395
|
children?: ReactNode | undefined;
|
|
7260
7396
|
} & {
|
|
7261
7397
|
title?: string;
|