@factorialco/f0-react 1.297.0 → 1.298.1
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/experimental.d.ts +6 -1
- package/dist/experimental.js +7564 -7516
- package/dist/f0.d.ts +4 -0
- package/dist/f0.js +567 -656
- package/dist/{hooks-BspXl5nS.js → hooks-DhglcA_W.js} +19282 -19189
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ import { PersonCellValue } from './types/person';
|
|
|
63
63
|
import { PersonCellValue as PersonCellValue_2 } from '../../value-display/types/person';
|
|
64
64
|
import { PieChartProps } from '../../../components/Charts/PieChart';
|
|
65
65
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
66
|
+
import { ProgressBarCellValue } from './types/progressBar';
|
|
67
|
+
import { ProgressBarCellValue as ProgressBarCellValue_2 } from '../../value-display/types/progressBar';
|
|
66
68
|
import { PropsWithChildren } from 'react';
|
|
67
69
|
import * as React_2 from 'react';
|
|
68
70
|
import { ReactElement } from 'react';
|
|
@@ -1275,6 +1277,7 @@ declare const cardPropertyRenderers: {
|
|
|
1275
1277
|
readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
|
|
1276
1278
|
readonly file: (args: FileCellValue_2) => default_2.JSX.Element;
|
|
1277
1279
|
readonly folder: (args: FolderCellValue_2) => default_2.JSX.Element;
|
|
1280
|
+
readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => default_2.JSX.Element | null;
|
|
1278
1281
|
};
|
|
1279
1282
|
|
|
1280
1283
|
declare type CardPropertyType = keyof typeof cardPropertyRenderers;
|
|
@@ -1472,7 +1475,7 @@ declare interface ClockInGraphProps {
|
|
|
1472
1475
|
|
|
1473
1476
|
declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
|
|
1474
1477
|
|
|
1475
|
-
export declare const CoCreationForm: ({ elements, isEditMode, onChange, }: CoCreationFormProps) => JSX_2.Element;
|
|
1478
|
+
export declare const CoCreationForm: ({ elements, isEditMode, onChange, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
|
|
1476
1479
|
|
|
1477
1480
|
export declare type CoCreationFormCallbacks = {
|
|
1478
1481
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -1493,6 +1496,7 @@ export declare type CoCreationFormProps = {
|
|
|
1493
1496
|
elements: CoCreationFormElement[];
|
|
1494
1497
|
onChange: (elements: CoCreationFormElement[]) => void;
|
|
1495
1498
|
isEditMode?: boolean;
|
|
1499
|
+
allowedQuestionTypes?: QuestionType[];
|
|
1496
1500
|
};
|
|
1497
1501
|
|
|
1498
1502
|
declare type ColId = string;
|
|
@@ -6101,6 +6105,7 @@ declare const valueDisplayRenderers: {
|
|
|
6101
6105
|
readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
|
|
6102
6106
|
readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
6103
6107
|
readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
6108
|
+
readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
6104
6109
|
readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
6105
6110
|
readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
6106
6111
|
readonly tag: (args: TagCellValue) => JSX_2.Element;
|