@factorialco/f0-react 1.235.0 → 1.235.2
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 +24 -22
- package/dist/experimental.js +5203 -5177
- package/dist/f0.d.ts +20 -20
- package/dist/f0.js +2 -2
- package/dist/{hooks-BEC6GuxY.js → hooks-CV8UudN7.js} +8838 -8859
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -912,16 +912,16 @@ declare type CardPropertyDefinition<T> = PropertyDefinition_2<T> & {
|
|
|
912
912
|
};
|
|
913
913
|
|
|
914
914
|
declare const cardPropertyRenderers: {
|
|
915
|
-
readonly text: (args: TextCellValue_2) => default_2.JSX.Element;
|
|
915
|
+
readonly text: (args: TextCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
916
916
|
readonly number: (args: NumberCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
917
|
-
readonly date: (args: DateCellValue_2) => default_2.JSX.Element;
|
|
917
|
+
readonly date: (args: DateCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
918
918
|
readonly amount: (args: AmountCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
919
|
-
readonly person: (args: PersonCellValue_2) => default_2.JSX.Element;
|
|
920
|
-
readonly company: (args: CompanyCellValue_2) => default_2.JSX.Element;
|
|
921
|
-
readonly team: (args: TeamCellValue_2) => default_2.JSX.Element;
|
|
919
|
+
readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
920
|
+
readonly company: (args: CompanyCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
921
|
+
readonly team: (args: TeamCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
922
922
|
readonly status: (args: StatusCellValue_2) => default_2.JSX.Element;
|
|
923
923
|
readonly tag: (args: TagCellValue_2) => default_2.JSX.Element;
|
|
924
|
-
readonly avatarList: (args: AvatarListCellValue_2) => default_2.JSX.Element;
|
|
924
|
+
readonly avatarList: (args: AvatarListCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
925
925
|
readonly tagList: (args: TagListCellValue_2) => default_2.JSX.Element;
|
|
926
926
|
readonly alertTag: (args: AlertTagCellValue_2) => default_2.JSX.Element;
|
|
927
927
|
readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
|
|
@@ -2695,7 +2695,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
|
|
|
2695
2695
|
|
|
2696
2696
|
declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
|
|
2697
2697
|
|
|
2698
|
-
export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint"> & {
|
|
2698
|
+
export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint"> & {
|
|
2699
2699
|
type?: Exclude<HTMLInputTypeAttribute, "number">;
|
|
2700
2700
|
};
|
|
2701
2701
|
|
|
@@ -4223,7 +4223,9 @@ export declare type SelectProps<T extends string, R = unknown> = {
|
|
|
4223
4223
|
mapOptions?: never;
|
|
4224
4224
|
searchFn?: (option: SelectItemProps<T, unknown>, search?: string) => boolean | undefined;
|
|
4225
4225
|
options: SelectItemProps<T, unknown>[];
|
|
4226
|
-
}) & Pick<InputFieldProps<T>, "loading" | "hideLabel" | "clearable" | "labelIcon" | "size" | "label" | "icon" | "placeholder" | "disabled" | "name" | "error" | "status" | "hint">;
|
|
4226
|
+
}) & Pick<InputFieldProps<T>, "required" | "loading" | "hideLabel" | "clearable" | "labelIcon" | "size" | "label" | "icon" | "placeholder" | "disabled" | "name" | "error" | "status" | "hint">;
|
|
4227
|
+
|
|
4228
|
+
export declare const selectSizes: readonly ["sm", "md"];
|
|
4227
4229
|
|
|
4228
4230
|
export declare function Shortcut({ keys, variant }: ShortcutProps): JSX_2.Element | null;
|
|
4229
4231
|
|
|
@@ -4899,22 +4901,22 @@ declare type ValueDisplayRendererDefinition = {
|
|
|
4899
4901
|
}[keyof typeof valueDisplayRenderers];
|
|
4900
4902
|
|
|
4901
4903
|
declare const valueDisplayRenderers: {
|
|
4902
|
-
readonly text: (args: TextCellValue) => JSX_2.Element;
|
|
4903
|
-
readonly longText: (args: LongTextCellValue) => JSX_2.Element;
|
|
4904
|
+
readonly text: (args: TextCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4905
|
+
readonly longText: (args: LongTextCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4904
4906
|
readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4905
|
-
readonly date: (args: DateCellValue) => JSX_2.Element;
|
|
4907
|
+
readonly date: (args: DateCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4906
4908
|
readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4907
|
-
readonly avatarList: (args: AvatarListCellValue) => JSX_2.Element;
|
|
4909
|
+
readonly avatarList: (args: AvatarListCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4908
4910
|
readonly status: (args: StatusCellValue) => JSX_2.Element;
|
|
4909
4911
|
readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
|
|
4910
|
-
readonly person: (args: PersonCellValue) => JSX_2.Element;
|
|
4911
|
-
readonly percentage: (args: PercentageCellValue) => JSX_2.Element | null;
|
|
4912
|
-
readonly company: (args: CompanyCellValue) => JSX_2.Element;
|
|
4913
|
-
readonly team: (args: TeamCellValue) => JSX_2.Element;
|
|
4912
|
+
readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4913
|
+
readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
4914
|
+
readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4915
|
+
readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4914
4916
|
readonly tag: (args: TagCellValue) => JSX_2.Element;
|
|
4915
4917
|
readonly dotTag: (args: DotTagCellValue) => JSX_2.Element;
|
|
4916
4918
|
readonly tagList: (args: TagListCellValue) => JSX_2.Element;
|
|
4917
|
-
readonly icon: (args: IconCellValue) => JSX_2.Element;
|
|
4919
|
+
readonly icon: (args: IconCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
4918
4920
|
readonly file: (args: FileCellValue) => JSX_2.Element;
|
|
4919
4921
|
readonly folder: (args: FolderCellValue) => JSX_2.Element;
|
|
4920
4922
|
};
|
|
@@ -5179,11 +5181,6 @@ declare module "@tiptap/core" {
|
|
|
5179
5181
|
}
|
|
5180
5182
|
|
|
5181
5183
|
|
|
5182
|
-
declare namespace Calendar {
|
|
5183
|
-
var displayName: string;
|
|
5184
|
-
}
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
5184
|
declare module "@tiptap/core" {
|
|
5188
5185
|
interface Commands<ReturnType> {
|
|
5189
5186
|
moodTracker: {
|
|
@@ -5191,3 +5188,8 @@ declare module "@tiptap/core" {
|
|
|
5191
5188
|
};
|
|
5192
5189
|
}
|
|
5193
5190
|
}
|
|
5191
|
+
|
|
5192
|
+
|
|
5193
|
+
declare namespace Calendar {
|
|
5194
|
+
var displayName: string;
|
|
5195
|
+
}
|