@factorialco/f0-react 2.37.0 → 2.37.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.
@@ -37,7 +37,6 @@ import { DotTagCellValue as DotTagCellValue_2 } from './experimental';
37
37
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
38
38
  import { Editor } from '@tiptap/react';
39
39
  import { EmployeeItemProps } from './types';
40
- import { F0NumberInputProps as F0NumberInputProps_2 } from './F0NumberInput';
41
40
  import { F0SegmentedControlProps as F0SegmentedControlProps_2 } from './types';
42
41
  import { F0SelectProps as F0SelectProps_2 } from './types';
43
42
  import { F0TagBalanceProps as F0TagBalanceProps_2 } from './types';
@@ -45,8 +44,6 @@ import { F0TagCompanyProps } from './types';
45
44
  import { F0TagPersonProps } from './types';
46
45
  import { F0TagRawProps as F0TagRawProps_2 } from './types';
47
46
  import { F0TagTeamProps } from './types';
48
- import { F0TextAreaInputProps as F0TextAreaInputProps_2 } from './F0TextAreaInput';
49
- import { F0TextInputProps as F0TextInputProps_2 } from './F0TextInput';
50
47
  import { f1Colors } from '@factorialco/f0-core';
51
48
  import { FC } from 'react';
52
49
  import { FileCellValue } from './types/file';
@@ -5397,7 +5394,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
5397
5394
  *
5398
5395
  * @removeIn 2.0.0
5399
5396
  */
5400
- export declare const Input: <T extends string>(props: F0TextInputProps_2<T>) => JSX_2.Element;
5397
+ export declare const Input: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
5401
5398
 
5402
5399
  declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
5403
5400
 
@@ -5499,7 +5496,7 @@ declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof I
5499
5496
  * @deprecated Renamed to `F0TextInputProps`. See the `Input` deprecation note.
5500
5497
  * @removeIn 2.0.0
5501
5498
  */
5502
- export declare type InputProps<T extends string> = F0TextInputProps_2<T>;
5499
+ export declare type InputProps<T extends string> = F0TextInputProps<T>;
5503
5500
 
5504
5501
  declare interface InsertAfterNotesTextEditorPageDocumentPatch {
5505
5502
  type: "insert_after";
@@ -6096,7 +6093,7 @@ declare type NumberFilterValue = {
6096
6093
  *
6097
6094
  * @removeIn 2.0.0
6098
6095
  */
6099
- export declare const NumberInput: (props: F0NumberInputProps_2) => JSX_2.Element;
6096
+ export declare const NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
6100
6097
 
6101
6098
  declare type NumberInputInternalProps = Omit<InputInternalProps<string>, "value" | "type" | "onChange"> & {
6102
6099
  locale: string;
@@ -6132,7 +6129,7 @@ export declare interface NumberInputPopoverConfig {
6132
6129
  * deprecation note.
6133
6130
  * @removeIn 2.0.0
6134
6131
  */
6135
- export declare type NumberInputProps = F0NumberInputProps_2;
6132
+ export declare type NumberInputProps = F0NumberInputProps;
6136
6133
 
6137
6134
  declare type Numeric = NumericValue | number | undefined | null;
6138
6135
 
@@ -7936,7 +7933,7 @@ declare type TeamTagProps = ComponentProps<typeof F0TagTeam>;
7936
7933
  *
7937
7934
  * @removeIn 2.0.0
7938
7935
  */
7939
- export declare const Textarea: FC<F0TextAreaInputProps_2>;
7936
+ export declare const Textarea: FC<F0TextAreaInputProps>;
7940
7937
 
7941
7938
  declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
7942
7939
  value?: string;
@@ -7949,7 +7946,7 @@ maxHeight?: number;
7949
7946
  * deprecation note.
7950
7947
  * @removeIn 2.0.0
7951
7948
  */
7952
- export declare type TextareaProps = F0TextAreaInputProps_2;
7949
+ export declare type TextareaProps = F0TextAreaInputProps;
7953
7950
 
7954
7951
  export declare type TOCItem<Depth extends 1 | 2 | 3 | 4 = 1> = BaseTOCItem & {
7955
7952
  children?: NextDepth<Depth> extends never ? never : TOCItem<NextDepth<Depth>>[];
package/dist/f0.d.ts CHANGED
@@ -59,7 +59,6 @@ import { F0FormDefinition as F0FormDefinition_2 } from './f0';
59
59
  import { F0FormDefinitionPerSection as F0FormDefinitionPerSection_2 } from './f0';
60
60
  import { F0FormDefinitionSingleSchema as F0FormDefinitionSingleSchema_2 } from './f0';
61
61
  import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
62
- import { F0NumberInputProps as F0NumberInputProps_2 } from './F0NumberInput';
63
62
  import { F0SelectProps as F0SelectProps_2 } from './types';
64
63
  import { F0TagBalanceProps } from './types';
65
64
  import { F0TagCompanyProps } from './types';
@@ -68,8 +67,6 @@ import { F0TagPersonProps as F0TagPersonProps_2 } from './types';
68
67
  import { F0TagRawProps } from './types';
69
68
  import { F0TagStatusProps } from './types';
70
69
  import { F0TagTeamProps } from './types';
71
- import { F0TextAreaInputProps as F0TextAreaInputProps_2 } from './F0TextAreaInput';
72
- import { F0TextInputProps as F0TextInputProps_2 } from './F0TextInput';
73
70
  import { F0TimelineRowProps as F0TimelineRowProps_2 } from './types';
74
71
  import { f1Colors } from '@factorialco/f0-core';
75
72
  import { FC } from 'react';
@@ -11076,7 +11073,7 @@ export declare function injectSectionEnds(items: FlatFormItem[], inSectionQuesti
11076
11073
  *
11077
11074
  * @removeIn 2.0.0
11078
11075
  */
11079
- export declare const Input: <T extends string>(props: F0TextInputProps_2<T>) => JSX_2.Element;
11076
+ export declare const Input: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
11080
11077
 
11081
11078
  declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
11082
11079
 
@@ -11182,7 +11179,7 @@ declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof I
11182
11179
  * @deprecated Renamed to `F0TextInputProps`. See the `Input` deprecation note.
11183
11180
  * @removeIn 2.0.0
11184
11181
  */
11185
- export declare type InputProps<T extends string> = F0TextInputProps_2<T>;
11182
+ export declare type InputProps<T extends string> = F0TextInputProps<T>;
11186
11183
 
11187
11184
  declare interface InsertAfterNotesTextEditorPageDocumentPatch {
11188
11185
  type: "insert_after";
@@ -11957,7 +11954,7 @@ declare type NumberFilterValue = {
11957
11954
  *
11958
11955
  * @removeIn 2.0.0
11959
11956
  */
11960
- export declare const NumberInput: (props: F0NumberInputProps_2) => JSX_2.Element;
11957
+ export declare const NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
11961
11958
 
11962
11959
  declare type NumberInputInternalProps = Omit<InputInternalProps<string>, "value" | "type" | "onChange"> & {
11963
11960
  locale: string;
@@ -11993,7 +11990,7 @@ export declare interface NumberInputPopoverConfig {
11993
11990
  * deprecation note.
11994
11991
  * @removeIn 2.0.0
11995
11992
  */
11996
- export declare type NumberInputProps = F0NumberInputProps_2;
11993
+ export declare type NumberInputProps = F0NumberInputProps;
11997
11994
 
11998
11995
  /**
11999
11996
  * Base for number-specific conditions
@@ -14196,7 +14193,7 @@ declare type TeamTagProps = ComponentProps<typeof F0TagTeam>;
14196
14193
  *
14197
14194
  * @removeIn 2.0.0
14198
14195
  */
14199
- export declare const Textarea: FC<F0TextAreaInputProps_2>;
14196
+ export declare const Textarea: FC<F0TextAreaInputProps>;
14200
14197
 
14201
14198
  declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
14202
14199
  value?: string;
@@ -14214,7 +14211,7 @@ declare type TextareaFieldRenderIf = TextRenderIfCondition | CommonRenderIfCondi
14214
14211
  * deprecation note.
14215
14212
  * @removeIn 2.0.0
14216
14213
  */
14217
- export declare type TextareaProps = F0TextAreaInputProps_2;
14214
+ export declare type TextareaProps = F0TextAreaInputProps;
14218
14215
 
14219
14216
  /**
14220
14217
  * All valid renderIf conditions for text fields
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "2.37.0",
3
+ "version": "2.37.1",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",