@factorialco/f0-react 1.353.0 → 1.355.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DataCollectionStorageProvider-C4xNeWzA.js → DataCollectionStorageProvider-DtYiihLe.js} +3279 -3273
- package/dist/{F0AiChat-CV7nDRrI.js → F0AiChat-Dh2BXfQX.js} +7855 -7839
- package/dist/{F0HILActionConfirmation-DFgT-7fx.js → F0HILActionConfirmation-Cnf4j-kO.js} +1 -1
- package/dist/ai.d.ts +5 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +36 -26
- package/dist/experimental.js +4922 -4916
- package/dist/f0.d.ts +270 -22
- package/dist/f0.js +3222 -2286
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AgentState } from '@livekit/components-react';
|
|
2
2
|
import { AIMessage } from '@copilotkit/shared';
|
|
3
|
-
import { AlertTagCellValue } from '
|
|
3
|
+
import { AlertTagCellValue } from '../../../ui/value-display/types/alertTag';
|
|
4
4
|
import { AlertTagCellValue as AlertTagCellValue_2 } from './types/alertTag';
|
|
5
|
-
import { AmountCellValue } from '
|
|
5
|
+
import { AmountCellValue } from '../../../ui/value-display/types/amount';
|
|
6
6
|
import { AmountCellValue as AmountCellValue_2 } from './types/amount';
|
|
7
7
|
import { AnchorHTMLAttributes } from 'react';
|
|
8
8
|
import { AriaAttributes } from 'react';
|
|
9
9
|
import { AssistantMessageProps } from '@copilotkit/react-ui';
|
|
10
10
|
import { AutoFill as AutoFill_2 } from 'react';
|
|
11
|
-
import { AvatarListCellValue } from '
|
|
11
|
+
import { AvatarListCellValue } from '../../../ui/value-display/types/avatarList';
|
|
12
12
|
import { AvatarListCellValue as AvatarListCellValue_2 } from './types/avatarList';
|
|
13
13
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
14
14
|
import { AvatarProps as AvatarProps_2 } from '@radix-ui/react-avatar';
|
|
@@ -21,7 +21,7 @@ import { ChartConfig } from '../../ui/chart';
|
|
|
21
21
|
import { ChartConfig as ChartConfig_2 } from './utils/types';
|
|
22
22
|
import { ChartPropsBase } from './utils/types';
|
|
23
23
|
import { ClassValue } from 'cva';
|
|
24
|
-
import { CompanyCellValue } from '
|
|
24
|
+
import { CompanyCellValue } from '../../../ui/value-display/types/company';
|
|
25
25
|
import { CompanyCellValue as CompanyCellValue_2 } from './types/company';
|
|
26
26
|
import { ComponentProps } from 'react';
|
|
27
27
|
import { ComponentType } from 'react';
|
|
@@ -29,20 +29,20 @@ import { Context } from 'react';
|
|
|
29
29
|
import { CopilotKitProps } from '@copilotkit/react-core';
|
|
30
30
|
import { CountryCellValue } from './types/country';
|
|
31
31
|
import { DashboardProps as DashboardProps_2 } from './Dashboard';
|
|
32
|
-
import { DateCellValue } from '
|
|
32
|
+
import { DateCellValue } from '../../../ui/value-display/types/date';
|
|
33
33
|
import { DateCellValue as DateCellValue_2 } from './types/date';
|
|
34
34
|
import { DateFilterOptions } from './DateFilter/DateFilter';
|
|
35
35
|
import { default as default_2 } from 'react';
|
|
36
|
-
import { DotTagCellValue } from '
|
|
36
|
+
import { DotTagCellValue } from '../../../ui/value-display/types/dotTag';
|
|
37
37
|
import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
|
|
38
38
|
import { F0DialogInternalProps } from './internal-types';
|
|
39
39
|
import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
|
|
40
40
|
import { F0SelectProps as F0SelectProps_2 } from './types';
|
|
41
41
|
import { f1Colors } from '@factorialco/f0-core';
|
|
42
42
|
import { FC } from 'react';
|
|
43
|
-
import { FileCellValue } from '
|
|
43
|
+
import { FileCellValue } from '../../../ui/value-display/types/file';
|
|
44
44
|
import { FileCellValue as FileCellValue_2 } from './types/file';
|
|
45
|
-
import { FolderCellValue } from '
|
|
45
|
+
import { FolderCellValue } from '../../../ui/value-display/types/folder';
|
|
46
46
|
import { FolderCellValue as FolderCellValue_2 } from './types/folder';
|
|
47
47
|
import { ForwardedRef } from 'react';
|
|
48
48
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -67,7 +67,7 @@ import { LocalAudioTrack } from 'livekit-client';
|
|
|
67
67
|
import { LongTextCellValue } from './types/longText';
|
|
68
68
|
import { Message } from '@copilotkit/shared';
|
|
69
69
|
import { MessagesProps } from '@copilotkit/react-ui';
|
|
70
|
-
import { NumberCellValue } from '
|
|
70
|
+
import { NumberCellValue } from '../../../ui/value-display/types/number';
|
|
71
71
|
import { NumberCellValue as NumberCellValue_2 } from './types/number';
|
|
72
72
|
import { NumberFilterOptions } from './NumberFilter/NumberFilter';
|
|
73
73
|
import { Observable } from 'zen-observable-ts';
|
|
@@ -75,11 +75,11 @@ import { PageLayoutBlockComponent as PageLayoutBlockComponent_2 } from './types'
|
|
|
75
75
|
import { PageLayoutGroupComponent as PageLayoutGroupComponent_2 } from '../Layout';
|
|
76
76
|
import { PageProps } from './pages/Page';
|
|
77
77
|
import { PercentageCellValue } from './types/percentage';
|
|
78
|
-
import { PersonCellValue } from '
|
|
78
|
+
import { PersonCellValue } from '../../../ui/value-display/types/person';
|
|
79
79
|
import { PersonCellValue as PersonCellValue_2 } from './types/person';
|
|
80
80
|
import { PieChartProps } from './PieChart';
|
|
81
81
|
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
82
|
-
import { ProgressBarCellValue } from '
|
|
82
|
+
import { ProgressBarCellValue } from '../../../ui/value-display/types/progressBar';
|
|
83
83
|
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
|
|
84
84
|
import * as React_2 from 'react';
|
|
85
85
|
import { ReactElement } from 'react';
|
|
@@ -88,21 +88,22 @@ import { RefAttributes } from 'react';
|
|
|
88
88
|
import { RefObject } from 'react';
|
|
89
89
|
import { RemoteAudioTrack } from 'livekit-client';
|
|
90
90
|
import { SearchFilterOptions } from './SearchFilter/SearchFilter';
|
|
91
|
-
import {
|
|
91
|
+
import { SizeToken as SizeToken_2 } from './types';
|
|
92
|
+
import { StatusCellValue } from '../../../ui/value-display/types/status';
|
|
92
93
|
import { StatusCellValue as StatusCellValue_2 } from './types/status';
|
|
93
94
|
import { SVGProps } from 'react';
|
|
94
95
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
95
96
|
import { SyncStatusCellValue } from './types/syncStatus';
|
|
96
|
-
import { TagCellValue } from '
|
|
97
|
+
import { TagCellValue } from '../../../ui/value-display/types/tag';
|
|
97
98
|
import { TagCellValue as TagCellValue_2 } from './types/tag';
|
|
98
|
-
import { TagListCellValue } from '
|
|
99
|
+
import { TagListCellValue } from '../../../ui/value-display/types/tagList';
|
|
99
100
|
import { TagListCellValue as TagListCellValue_2 } from './types/tagList';
|
|
100
|
-
import { TeamCellValue } from '
|
|
101
|
+
import { TeamCellValue } from '../../../ui/value-display/types/team';
|
|
101
102
|
import { TeamCellValue as TeamCellValue_2 } from './types/team';
|
|
102
|
-
import { TextCellValue } from '
|
|
103
|
+
import { TextCellValue } from '../../../ui/value-display/types/text';
|
|
103
104
|
import { TextCellValue as TextCellValue_2 } from './types/text';
|
|
104
105
|
import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
|
|
105
|
-
import { ValueDisplayRendererContext } from '
|
|
106
|
+
import { ValueDisplayRendererContext } from '../../../ui/value-display';
|
|
106
107
|
import { VariantProps } from 'cva';
|
|
107
108
|
import { z } from 'zod';
|
|
108
109
|
import { ZodRawShape } from 'zod';
|
|
@@ -452,6 +453,9 @@ declare type AlertTagProps = ComponentProps<typeof F0TagAlert>;
|
|
|
452
453
|
|
|
453
454
|
export declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
|
|
454
455
|
|
|
456
|
+
/** Flex align items */
|
|
457
|
+
export declare type AlignItemsToken = "start" | "center" | "end" | "stretch" | "baseline";
|
|
458
|
+
|
|
455
459
|
declare const _allowedVariants: readonly ["heading", "heading-large"];
|
|
456
460
|
|
|
457
461
|
declare const _allowedVariants_2: readonly ["body", "description", "small", "inverse", "code", "label"];
|
|
@@ -563,6 +567,9 @@ declare type AwaitProps<T> = {
|
|
|
563
567
|
children: (value: T) => ReactNode;
|
|
564
568
|
};
|
|
565
569
|
|
|
570
|
+
/** Background tokens mapped to the f1 theme */
|
|
571
|
+
export declare type BackgroundToken = "transparent" | "primary" | "secondary" | "tertiary" | "inverse" | "inverse-secondary" | "bold" | "accent" | "accent-bold" | "promote" | "critical" | "critical-bold" | "info" | "info-bold" | "warning" | "warning-bold" | "positive" | "positive-bold" | "selected" | "selected-secondary" | "selected-bold" | "overlay";
|
|
572
|
+
|
|
566
573
|
declare interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
567
574
|
icon: IconType;
|
|
568
575
|
type?: VariantProps<typeof badgeVariants>["type"];
|
|
@@ -791,6 +798,84 @@ export declare type BooleanRenderIfCondition = BooleanRenderIfBase & ({
|
|
|
791
798
|
isEmpty: boolean;
|
|
792
799
|
});
|
|
793
800
|
|
|
801
|
+
/** Border color tokens mapped to the f1 theme */
|
|
802
|
+
export declare type BorderColorToken = "default" | "secondary" | "bold" | "selected" | "selected-bold" | "critical" | "critical-bold" | "warning" | "warning-bold" | "info" | "info-bold" | "positive" | "positive-bold" | "promote";
|
|
803
|
+
|
|
804
|
+
/** Border radius tokens from core */
|
|
805
|
+
export declare type BorderRadiusToken = "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
806
|
+
|
|
807
|
+
/** Border style */
|
|
808
|
+
export declare type BorderStyleToken = "solid" | "dashed" | "dotted" | "double" | "none";
|
|
809
|
+
|
|
810
|
+
/** Border width tokens */
|
|
811
|
+
export declare type BorderWidthToken = "none" | "default" | "thick";
|
|
812
|
+
|
|
813
|
+
declare type BoxVariantProps = VariantProps<typeof boxVariants>;
|
|
814
|
+
|
|
815
|
+
declare const boxVariants: (props?: ({
|
|
816
|
+
divider?: "x" | "y" | undefined;
|
|
817
|
+
dividerColor?: "info" | "bold" | "default" | "secondary" | "critical" | "warning" | "positive" | "promote" | "selected" | "critical-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-bold" | undefined;
|
|
818
|
+
overflow?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
819
|
+
overflowX?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
820
|
+
overflowY?: "hidden" | "auto" | "scroll" | "visible" | undefined;
|
|
821
|
+
borderColor?: "info" | "bold" | "default" | "secondary" | "critical" | "warning" | "positive" | "promote" | "selected" | "critical-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-bold" | undefined;
|
|
822
|
+
border?: "default" | "none" | "thick" | undefined;
|
|
823
|
+
borderTop?: "default" | "none" | "thick" | undefined;
|
|
824
|
+
borderBottom?: "default" | "none" | "thick" | undefined;
|
|
825
|
+
borderLeft?: "default" | "none" | "thick" | undefined;
|
|
826
|
+
borderRight?: "default" | "none" | "thick" | undefined;
|
|
827
|
+
borderRadius?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
828
|
+
borderRadiusTopLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
829
|
+
borderRadiusTopRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
830
|
+
borderRadiusBottomLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
831
|
+
borderRadiusBottomRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "full" | "2xs" | undefined;
|
|
832
|
+
borderStyle?: "none" | "dashed" | "dotted" | "double" | "solid" | undefined;
|
|
833
|
+
background?: "info" | "bold" | "secondary" | "inverse" | "critical" | "accent" | "warning" | "positive" | "promote" | "selected" | "critical-bold" | "transparent" | "overlay" | "primary" | "tertiary" | "inverse-secondary" | "accent-bold" | "info-bold" | "warning-bold" | "positive-bold" | "selected-secondary" | "selected-bold" | undefined;
|
|
834
|
+
width?: SizeToken_2 | undefined;
|
|
835
|
+
height?: SizeToken_2 | undefined;
|
|
836
|
+
minWidth?: SizeToken_2 | undefined;
|
|
837
|
+
minHeight?: SizeToken_2 | undefined;
|
|
838
|
+
maxWidth?: SizeToken_2 | undefined;
|
|
839
|
+
maxHeight?: SizeToken_2 | undefined;
|
|
840
|
+
columns?: "1" | "2" | "3" | "4" | "none" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
841
|
+
rows?: "1" | "2" | "3" | "4" | "none" | "5" | "6" | undefined;
|
|
842
|
+
colSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "full" | undefined;
|
|
843
|
+
colStart?: "1" | "2" | "3" | "4" | "auto" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | undefined;
|
|
844
|
+
rowSpan?: "1" | "2" | "3" | "4" | "5" | "6" | "full" | undefined;
|
|
845
|
+
gap?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
846
|
+
alignItems?: "center" | "end" | "baseline" | "start" | "stretch" | undefined;
|
|
847
|
+
justifyContent?: "center" | "end" | "start" | "between" | "stretch" | "around" | "evenly" | undefined;
|
|
848
|
+
flexDirection?: "row" | "column" | "column-reverse" | "row-reverse" | undefined;
|
|
849
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
850
|
+
grow?: boolean | undefined;
|
|
851
|
+
shrink?: boolean | undefined;
|
|
852
|
+
margin?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
853
|
+
marginX?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
854
|
+
marginY?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
855
|
+
marginTop?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
856
|
+
marginBottom?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
857
|
+
marginLeft?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
858
|
+
marginRight?: "lg" | "md" | "sm" | "xs" | "none" | "auto" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
859
|
+
padding?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
860
|
+
paddingX?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
861
|
+
paddingY?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
862
|
+
paddingTop?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
863
|
+
paddingBottom?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
864
|
+
paddingLeft?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
865
|
+
paddingRight?: "lg" | "md" | "sm" | "xs" | "none" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | undefined;
|
|
866
|
+
display?: "block" | "grid" | "none" | "inline" | "flex" | "inline-flex" | undefined;
|
|
867
|
+
position?: "fixed" | "sticky" | "absolute" | "relative" | "static" | undefined;
|
|
868
|
+
} & ({
|
|
869
|
+
class?: ClassValue;
|
|
870
|
+
className?: never;
|
|
871
|
+
} | {
|
|
872
|
+
class?: never;
|
|
873
|
+
className?: ClassValue;
|
|
874
|
+
})) | undefined) => string;
|
|
875
|
+
|
|
876
|
+
/** Supported breakpoints */
|
|
877
|
+
export declare type Breakpoint = "sm" | "md" | "lg" | "xl";
|
|
878
|
+
|
|
794
879
|
export declare const buildTranslations: (translations: TranslationsType) => TranslationsType;
|
|
795
880
|
|
|
796
881
|
/**
|
|
@@ -1325,6 +1410,15 @@ declare type CollectionVisualizations<Record extends RecordType, Filters extends
|
|
|
1325
1410
|
|
|
1326
1411
|
declare const collectionVisualizations: CollectionVisualizations<RecordType, FiltersDefinition, SortingsDefinition, SummariesDefinition, ItemActionsDefinition<RecordType>, NavigationFiltersDefinition, GroupingDefinition<RecordType>>;
|
|
1327
1412
|
|
|
1413
|
+
/** Grid column span for children (1–12 + full) */
|
|
1414
|
+
export declare type ColSpanToken = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "full";
|
|
1415
|
+
|
|
1416
|
+
/** Grid column start position (1–13 + auto) */
|
|
1417
|
+
export declare type ColStartToken = "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13";
|
|
1418
|
+
|
|
1419
|
+
/** Grid column count (1–12) */
|
|
1420
|
+
export declare type ColumnsToken = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "none";
|
|
1421
|
+
|
|
1328
1422
|
declare type ColumnWidth = keyof typeof columnWidths | number;
|
|
1329
1423
|
|
|
1330
1424
|
declare const columnWidths: {
|
|
@@ -2424,6 +2518,9 @@ export declare type DialogWidth = (typeof dialogWidths)[number];
|
|
|
2424
2518
|
|
|
2425
2519
|
declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
|
|
2426
2520
|
|
|
2521
|
+
/** Display modes */
|
|
2522
|
+
export declare type DisplayToken = "block" | "flex" | "inline" | "inline-flex" | "grid" | "none";
|
|
2523
|
+
|
|
2427
2524
|
/**
|
|
2428
2525
|
* Remove a property from a union of objects.
|
|
2429
2526
|
* @example
|
|
@@ -2440,6 +2537,9 @@ declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
|
|
|
2440
2537
|
*/
|
|
2441
2538
|
declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
2442
2539
|
|
|
2540
|
+
/** Divider direction */
|
|
2541
|
+
export declare type DividerToken = "x" | "y";
|
|
2542
|
+
|
|
2443
2543
|
export declare interface DndDriver<T = unknown> {
|
|
2444
2544
|
registerDraggable: (el: HTMLElement, options: {
|
|
2445
2545
|
payload: DragPayload<T>;
|
|
@@ -2953,6 +3053,19 @@ declare type F0BooleanSwitchConfig = F0BaseConfig & F0SwitchConfig & {
|
|
|
2953
3053
|
fieldType?: "switch";
|
|
2954
3054
|
};
|
|
2955
3055
|
|
|
3056
|
+
export declare const F0Box: ForwardRefExoticComponent<Omit<F0BoxProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
3057
|
+
|
|
3058
|
+
export declare interface F0BoxProps extends Omit<React.ComponentPropsWithoutRef<"div">, "display" | "width" | "height" | "border" | "className" | "style">, BoxVariantProps {
|
|
3059
|
+
/** Responsive overrides applied from the `sm` breakpoint (≥640px) */
|
|
3060
|
+
sm?: ResponsiveStyleProps;
|
|
3061
|
+
/** Responsive overrides applied from the `md` breakpoint (≥768px) */
|
|
3062
|
+
md?: ResponsiveStyleProps;
|
|
3063
|
+
/** Responsive overrides applied from the `lg` breakpoint (≥1024px) */
|
|
3064
|
+
lg?: ResponsiveStyleProps;
|
|
3065
|
+
/** Responsive overrides applied from the `xl` breakpoint (≥1280px) */
|
|
3066
|
+
xl?: ResponsiveStyleProps;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
2956
3069
|
export declare const F0Button: ForwardRefExoticComponent<Omit<ButtonInternalProps, "style" | "className" | "variant" | "pressed" | "append" | "compact" | "noAutoTooltip" | "noTitle"> & {
|
|
2957
3070
|
variant?: Exclude<ButtonInternalProps["variant"], "ai">;
|
|
2958
3071
|
} & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
@@ -4451,12 +4564,21 @@ export declare type FlagAvatarVariant = Extract<AvatarVariant, {
|
|
|
4451
4564
|
type: "flag";
|
|
4452
4565
|
}>;
|
|
4453
4566
|
|
|
4567
|
+
/** Flex direction */
|
|
4568
|
+
export declare type FlexDirectionToken = "row" | "column" | "row-reverse" | "column-reverse";
|
|
4569
|
+
|
|
4570
|
+
/** Flex wrap */
|
|
4571
|
+
export declare type FlexWrapToken = "nowrap" | "wrap" | "wrap-reverse";
|
|
4572
|
+
|
|
4454
4573
|
declare type FontSize = (typeof fontSizes)[number];
|
|
4455
4574
|
|
|
4456
4575
|
declare const fontSizes: readonly ["sm", "md", "lg"];
|
|
4457
4576
|
|
|
4458
4577
|
/* Excluded from this release type: FormDefinitionItem */
|
|
4459
4578
|
|
|
4579
|
+
/** Fraction tokens for proportional widths */
|
|
4580
|
+
export declare type FractionToken = "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "5/6";
|
|
4581
|
+
|
|
4460
4582
|
export declare const FullscreenChatContext: Context<FullscreenChatContextType>;
|
|
4461
4583
|
|
|
4462
4584
|
/**
|
|
@@ -4467,6 +4589,25 @@ declare type FullscreenChatContextType = {
|
|
|
4467
4589
|
setInProgress: (value: boolean) => void;
|
|
4468
4590
|
};
|
|
4469
4591
|
|
|
4592
|
+
/**
|
|
4593
|
+
* Gap tokens for spacing between flex/grid children.
|
|
4594
|
+
* Uses betweenSpacing (rem) for sm–xl, absoluteSpacing (px) for extended sizes.
|
|
4595
|
+
*
|
|
4596
|
+
* | Token | Tailwind | Value |
|
|
4597
|
+
* |-------|----------|--------|
|
|
4598
|
+
* | none | gap-0 | 0px |
|
|
4599
|
+
* | xs | gap-0.5 | 2px |
|
|
4600
|
+
* | sm | gap-sm | ~4px | (0.25rem)
|
|
4601
|
+
* | md | gap-md | ~8px | (0.5rem)
|
|
4602
|
+
* | lg | gap-lg | ~12px | (0.75rem)
|
|
4603
|
+
* | xl | gap-xl | ~16px | (1rem)
|
|
4604
|
+
* | 2xl | gap-6 | 24px |
|
|
4605
|
+
* | 3xl | gap-8 | 32px |
|
|
4606
|
+
* | 4xl | gap-10 | 40px |
|
|
4607
|
+
* | 5xl | gap-12 | 48px |
|
|
4608
|
+
*/
|
|
4609
|
+
export declare type GapToken = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl";
|
|
4610
|
+
|
|
4470
4611
|
/**
|
|
4471
4612
|
* Generates an anchor ID for a form element
|
|
4472
4613
|
* Format: forms.[formName].[sectionId].[fieldId]
|
|
@@ -4929,6 +5070,9 @@ declare type ItemDefinition = {
|
|
|
4929
5070
|
|
|
4930
5071
|
declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
|
|
4931
5072
|
|
|
5073
|
+
/** Flex justify content */
|
|
5074
|
+
export declare type JustifyContentToken = "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch";
|
|
5075
|
+
|
|
4932
5076
|
declare type KanbanCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, KanbanVisualizationOptions<Record, Filters, Sortings>>;
|
|
4933
5077
|
|
|
4934
5078
|
declare type KanbanLaneDefinition = {
|
|
@@ -5050,6 +5194,9 @@ export declare interface LoadingStateProps {
|
|
|
5050
5194
|
label: string;
|
|
5051
5195
|
}
|
|
5052
5196
|
|
|
5197
|
+
/** Margin tokens (spacing + auto for centering) */
|
|
5198
|
+
export declare type MarginToken = SpacingToken | "auto";
|
|
5199
|
+
|
|
5053
5200
|
declare const MAX_EXPANDED_ACTIONS = 2;
|
|
5054
5201
|
|
|
5055
5202
|
declare type MentionedUser = {
|
|
@@ -5092,6 +5239,7 @@ export declare const modules: {
|
|
|
5092
5239
|
readonly company_trainings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5093
5240
|
readonly compensations: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5094
5241
|
readonly complaints: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5242
|
+
readonly device_catalog: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5095
5243
|
readonly discover: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5096
5244
|
readonly documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
5097
5245
|
readonly employee_attendance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
@@ -5328,6 +5476,12 @@ declare type NumericFormatterOptions = {
|
|
|
5328
5476
|
useGrouping?: boolean;
|
|
5329
5477
|
};
|
|
5330
5478
|
|
|
5479
|
+
/**
|
|
5480
|
+
* Numeric size scale matching core spacing (relativeSpacing).
|
|
5481
|
+
* Maps 1:1 to Tailwind classes like w-0, w-4, w-8, w-16, etc.
|
|
5482
|
+
*/
|
|
5483
|
+
export declare type NumericSizeToken = "0" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "18" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96";
|
|
5484
|
+
|
|
5331
5485
|
/**
|
|
5332
5486
|
* Represents a numeric value that can be formatted with optional units.
|
|
5333
5487
|
*
|
|
@@ -5448,6 +5602,9 @@ export declare type OnSelectItemsCallback<R extends RecordType, Filters extends
|
|
|
5448
5602
|
|
|
5449
5603
|
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
5450
5604
|
|
|
5605
|
+
/** Overflow values */
|
|
5606
|
+
export declare type OverflowToken = "visible" | "hidden" | "auto" | "scroll";
|
|
5607
|
+
|
|
5451
5608
|
export declare function P({ children, ...props }: React.HTMLAttributes<HTMLParagraphElement>): JSX_2.Element;
|
|
5452
5609
|
|
|
5453
5610
|
/**
|
|
@@ -5546,6 +5703,9 @@ export declare const PieChart: ForwardRefExoticComponent<Omit<PieChartProps & Re
|
|
|
5546
5703
|
|
|
5547
5704
|
declare type PopupSize = "sm" | "md" | "lg";
|
|
5548
5705
|
|
|
5706
|
+
/** CSS position */
|
|
5707
|
+
export declare type PositionToken = "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
5708
|
+
|
|
5549
5709
|
export declare function Pre({ children, ...props }: React.HTMLAttributes<HTMLPreElement>): JSX_2.Element;
|
|
5550
5710
|
|
|
5551
5711
|
export declare const predefinedPresets: Record<string, DatePreset>;
|
|
@@ -5840,6 +6000,62 @@ export declare type RenderIfCondition = CommonRenderIfCondition | TextRenderIfCo
|
|
|
5840
6000
|
|
|
5841
6001
|
export declare type ResolvedRecordType<R> = R extends RecordType ? R : RecordType;
|
|
5842
6002
|
|
|
6003
|
+
/** All styling props that can be overridden per breakpoint */
|
|
6004
|
+
export declare interface ResponsiveStyleProps {
|
|
6005
|
+
display?: DisplayToken;
|
|
6006
|
+
position?: PositionToken;
|
|
6007
|
+
padding?: SpacingToken;
|
|
6008
|
+
paddingX?: SpacingToken;
|
|
6009
|
+
paddingY?: SpacingToken;
|
|
6010
|
+
paddingTop?: SpacingToken;
|
|
6011
|
+
paddingBottom?: SpacingToken;
|
|
6012
|
+
paddingLeft?: SpacingToken;
|
|
6013
|
+
paddingRight?: SpacingToken;
|
|
6014
|
+
margin?: MarginToken;
|
|
6015
|
+
marginX?: MarginToken;
|
|
6016
|
+
marginY?: MarginToken;
|
|
6017
|
+
marginTop?: MarginToken;
|
|
6018
|
+
marginBottom?: MarginToken;
|
|
6019
|
+
marginLeft?: MarginToken;
|
|
6020
|
+
marginRight?: MarginToken;
|
|
6021
|
+
gap?: GapToken;
|
|
6022
|
+
columns?: ColumnsToken;
|
|
6023
|
+
rows?: RowsToken;
|
|
6024
|
+
colSpan?: ColSpanToken;
|
|
6025
|
+
colStart?: ColStartToken;
|
|
6026
|
+
rowSpan?: RowSpanToken;
|
|
6027
|
+
width?: SizeToken;
|
|
6028
|
+
height?: SizeToken;
|
|
6029
|
+
minWidth?: SizeToken;
|
|
6030
|
+
minHeight?: SizeToken;
|
|
6031
|
+
maxWidth?: SizeToken;
|
|
6032
|
+
maxHeight?: SizeToken;
|
|
6033
|
+
background?: BackgroundToken;
|
|
6034
|
+
borderColor?: BorderColorToken;
|
|
6035
|
+
border?: BorderWidthToken;
|
|
6036
|
+
borderTop?: BorderWidthToken;
|
|
6037
|
+
borderBottom?: BorderWidthToken;
|
|
6038
|
+
borderLeft?: BorderWidthToken;
|
|
6039
|
+
borderRight?: BorderWidthToken;
|
|
6040
|
+
borderRadius?: BorderRadiusToken;
|
|
6041
|
+
borderRadiusTopLeft?: BorderRadiusToken;
|
|
6042
|
+
borderRadiusTopRight?: BorderRadiusToken;
|
|
6043
|
+
borderRadiusBottomLeft?: BorderRadiusToken;
|
|
6044
|
+
borderRadiusBottomRight?: BorderRadiusToken;
|
|
6045
|
+
borderStyle?: BorderStyleToken;
|
|
6046
|
+
overflow?: OverflowToken;
|
|
6047
|
+
overflowX?: OverflowToken;
|
|
6048
|
+
overflowY?: OverflowToken;
|
|
6049
|
+
divider?: DividerToken;
|
|
6050
|
+
dividerColor?: BorderColorToken;
|
|
6051
|
+
alignItems?: AlignItemsToken;
|
|
6052
|
+
justifyContent?: JustifyContentToken;
|
|
6053
|
+
flexDirection?: FlexDirectionToken;
|
|
6054
|
+
flexWrap?: FlexWrapToken;
|
|
6055
|
+
grow?: boolean;
|
|
6056
|
+
shrink?: boolean;
|
|
6057
|
+
}
|
|
6058
|
+
|
|
5843
6059
|
/**
|
|
5844
6060
|
* All valid renderIf conditions for richtext fields
|
|
5845
6061
|
*/
|
|
@@ -5857,6 +6073,12 @@ export declare interface RichTextValue {
|
|
|
5857
6073
|
|
|
5858
6074
|
/* Excluded from this release type: RowDefinition */
|
|
5859
6075
|
|
|
6076
|
+
/** Grid row span for children (1–6 + full) */
|
|
6077
|
+
export declare type RowSpanToken = "1" | "2" | "3" | "4" | "5" | "6" | "full";
|
|
6078
|
+
|
|
6079
|
+
/** Grid row count (1–6 + none) */
|
|
6080
|
+
export declare type RowsToken = "1" | "2" | "3" | "4" | "5" | "6" | "none";
|
|
6081
|
+
|
|
5860
6082
|
export declare type SearchFilterDefinition = BaseFilterDefinition<"search">;
|
|
5861
6083
|
|
|
5862
6084
|
declare type SearchOptions = {
|
|
@@ -6002,6 +6224,9 @@ declare type SelectValueType = string | number;
|
|
|
6002
6224
|
*/
|
|
6003
6225
|
declare type SimpleResult<T> = T[];
|
|
6004
6226
|
|
|
6227
|
+
/** Size tokens for width/height/min/max dimensions */
|
|
6228
|
+
export declare type SizeToken = "auto" | "full" | "screen" | "min" | "max" | "fit" | NumericSizeToken | FractionToken;
|
|
6229
|
+
|
|
6005
6230
|
/**
|
|
6006
6231
|
* Type helper to extract keys from a SortingsDefinition
|
|
6007
6232
|
*/
|
|
@@ -6026,6 +6251,29 @@ export declare type SortingsStateMultiple = {
|
|
|
6026
6251
|
|
|
6027
6252
|
export declare type SortOrder = "asc" | "desc";
|
|
6028
6253
|
|
|
6254
|
+
/**
|
|
6255
|
+
* Token types for F0Box props.
|
|
6256
|
+
* These map to the design tokens defined in @factorialco/f0-core.
|
|
6257
|
+
*/
|
|
6258
|
+
/**
|
|
6259
|
+
* Spacing tokens for padding and margin.
|
|
6260
|
+
* Maps to the project's absoluteSpacing scale (px values).
|
|
6261
|
+
*
|
|
6262
|
+
* | Token | Tailwind | Value |
|
|
6263
|
+
* |-------|----------|-------|
|
|
6264
|
+
* | none | p-0 | 0px |
|
|
6265
|
+
* | xs | p-1 | 4px |
|
|
6266
|
+
* | sm | p-2 | 8px |
|
|
6267
|
+
* | md | p-3 | 12px |
|
|
6268
|
+
* | lg | p-4 | 16px |
|
|
6269
|
+
* | xl | p-6 | 24px |
|
|
6270
|
+
* | 2xl | p-8 | 32px |
|
|
6271
|
+
* | 3xl | p-10 | 40px |
|
|
6272
|
+
* | 4xl | p-12 | 48px |
|
|
6273
|
+
* | 5xl | p-16 | 64px |
|
|
6274
|
+
*/
|
|
6275
|
+
export declare type SpacingToken = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl";
|
|
6276
|
+
|
|
6029
6277
|
declare type SrcProps = Pick<ImgHTMLAttributes<HTMLImageElement>, "src" | "srcSet" | "sizes">;
|
|
6030
6278
|
|
|
6031
6279
|
export declare const StandardLayout: ForwardRefExoticComponent<Omit<StandardLayoutProps & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
@@ -7081,6 +7329,11 @@ declare module "gridstack" {
|
|
|
7081
7329
|
}
|
|
7082
7330
|
|
|
7083
7331
|
|
|
7332
|
+
declare namespace Calendar {
|
|
7333
|
+
var displayName: string;
|
|
7334
|
+
}
|
|
7335
|
+
|
|
7336
|
+
|
|
7084
7337
|
declare module "@tiptap/core" {
|
|
7085
7338
|
interface Commands<ReturnType> {
|
|
7086
7339
|
aiBlock: {
|
|
@@ -7117,8 +7370,3 @@ declare module "@tiptap/core" {
|
|
|
7117
7370
|
};
|
|
7118
7371
|
}
|
|
7119
7372
|
}
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
declare namespace Calendar {
|
|
7123
|
-
var displayName: string;
|
|
7124
|
-
}
|