@pixpilot/formily-shadcn 1.10.1 → 1.10.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/components/Checkbox.d.ts +2 -2
- package/dist/components/DatePicker.d.cts +3 -3
- package/dist/components/DatePicker.d.ts +3 -3
- package/dist/components/IconPicker.d.cts +3 -3
- package/dist/components/IconToggle.d.cts +2 -2
- package/dist/components/Input.d.cts +3 -3
- package/dist/components/Radio.d.ts +2 -2
- package/dist/components/Row.d.ts +2 -2
- package/dist/components/Separator.d.ts +2 -2
- package/dist/components/Switch.d.ts +2 -2
- package/dist/components/TagsInputInline.d.ts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/ToggleButton.d.ts +2 -2
- package/dist/components/form-item/ConnectedFormItem.d.cts +4 -4
- package/dist/components/schema-field/schema-field-basics.d.cts +11 -11
- package/dist/components/schema-field/schema-field-basics.d.ts +303 -303
- package/dist/components/schema-field/schema-field-extended.d.cts +11 -11
- package/dist/components/schema-field/schema-field-extended.d.ts +11 -11
- package/dist/components/schema-field/schema-field.d.cts +11 -11
- package/dist/components/schema-field/schema-field.d.ts +413 -413
- package/dist/components/slider/Slider.d.cts +3 -3
- package/dist/components/slider/SliderSelect.d.cts +3 -3
- package/dist/components/slider/SliderSelect.d.ts +3 -3
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Checkbox.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
|
6
6
|
* Formily-connected Checkbox component
|
|
7
7
|
* Maps Formily field checked state to shadcn Checkbox
|
|
8
8
|
*/
|
|
9
|
-
declare const Checkbox:
|
|
9
|
+
declare const Checkbox: react0.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react0.RefAttributes<HTMLButtonElement>>, "ref"> & react0.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react2 from "react";
|
|
2
2
|
import { DatePickerProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DatePicker.d.ts
|
|
5
|
-
declare const DatePicker:
|
|
5
|
+
declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
} & Omit<DatePickerProps, "
|
|
9
|
+
} & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DatePicker };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react2 from "react";
|
|
2
2
|
import { DatePickerProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DatePicker.d.ts
|
|
5
|
-
declare const DatePicker$1:
|
|
5
|
+
declare const DatePicker$1: react2.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
} & Omit<DatePickerProps, "
|
|
9
|
+
} & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DatePicker$1 as DatePicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react4 from "react";
|
|
2
2
|
import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/IconPicker.d.ts
|
|
@@ -8,8 +8,8 @@ import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
|
|
|
8
8
|
* Automatically connects to Formily field state
|
|
9
9
|
* Supports both static and async icon providers
|
|
10
10
|
*/
|
|
11
|
-
declare const IconPicker:
|
|
11
|
+
declare const IconPicker: react4.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
|
|
12
12
|
providers?: IconProviderProps[];
|
|
13
|
-
}> &
|
|
13
|
+
}> & react4.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { IconPicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react6 from "react";
|
|
2
2
|
import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/IconToggle.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
|
6
6
|
* Formily-connected IconToggle component
|
|
7
7
|
* Toggle button with customizable icons for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const IconToggle:
|
|
9
|
+
declare const IconToggle: react6.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react6.RefAttributes<HTMLButtonElement>>, "ref"> & react6.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { IconToggle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Input.d.ts
|
|
4
4
|
|
|
@@ -6,12 +6,12 @@ import * as react7 from "react";
|
|
|
6
6
|
* Formily-connected Input component
|
|
7
7
|
* Automatically connects shadcn Input to Formily field state
|
|
8
8
|
*/
|
|
9
|
-
declare const Input:
|
|
9
|
+
declare const Input: react9.ForwardRefExoticComponent<Omit<Partial<react9.ClassAttributes<HTMLInputElement> & react9.InputHTMLAttributes<HTMLInputElement> & {
|
|
10
10
|
prefix?: React.ReactNode;
|
|
11
11
|
suffix?: React.ReactNode;
|
|
12
12
|
groupClassName?: string;
|
|
13
13
|
prefixClassName?: string;
|
|
14
14
|
suffixClassName?: string;
|
|
15
|
-
}>, "ref"> &
|
|
15
|
+
}>, "ref"> & react9.RefAttributes<unknown>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Input };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import { RadioGroup } from "@pixpilot/shadcn";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Radio.d.ts
|
|
@@ -15,7 +15,7 @@ type RadioProps = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Radio component with options rendering
|
|
17
17
|
*/
|
|
18
|
-
declare function Radio(props: RadioProps):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime2.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
package/dist/components/Row.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Row.d.ts
|
|
5
5
|
interface IRowProps {
|
|
@@ -36,6 +36,6 @@ interface IRowProps {
|
|
|
36
36
|
declare function Row({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IRowProps):
|
|
39
|
+
}: IRowProps): react_jsx_runtime3.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react16 from "react";
|
|
2
2
|
import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Separator.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
|
6
6
|
* Formily-connected Separator component
|
|
7
7
|
* A visual divider for content sections
|
|
8
8
|
*/
|
|
9
|
-
declare const Separator:
|
|
9
|
+
declare const Separator: react16.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react16.RefAttributes<HTMLDivElement>>, "ref"> & react16.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react19 from "react";
|
|
2
2
|
import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Switch.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
|
6
6
|
* Formily-connected Switch component
|
|
7
7
|
* Toggle switch for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const Switch:
|
|
9
|
+
declare const Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react22 from "react";
|
|
2
2
|
import * as _pixpilot_shadcn_ui1 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TagsInputInline.d.ts
|
|
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui1 from "@pixpilot/shadcn-ui";
|
|
|
10
10
|
* Based on DiceUI's tags-input for inline tag editing with keyboard navigation
|
|
11
11
|
* and validation support.
|
|
12
12
|
*/
|
|
13
|
-
declare const TagsInputInLine:
|
|
13
|
+
declare const TagsInputInLine: react22.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui1.TagsInputProps> & react22.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TagsInputInLine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react24 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Textarea.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Textarea component
|
|
6
6
|
*/
|
|
7
|
-
declare const Textarea:
|
|
7
|
+
declare const Textarea: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLTextAreaElement> & react24.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react24.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Textarea };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react28 from "react";
|
|
2
2
|
import * as _pixpilot_shadcn_ui2 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ToggleButton.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _pixpilot_shadcn_ui2 from "@pixpilot/shadcn-ui";
|
|
|
6
6
|
* Formily-connected IconToggle component
|
|
7
7
|
* Toggle button with customizable icons for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const ToggleButton$1:
|
|
9
|
+
declare const ToggleButton$1: react28.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui2.ToggleButtonProps, "ref"> & react28.RefAttributes<HTMLButtonElement>>, "ref"> & react28.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ToggleButton$1 as ToggleButton };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FormItemProps } from "./form-item-types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react1891 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-item/ConnectedFormItem.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FormItem component connected to Formily field state.
|
|
7
7
|
* Automatically maps field validation state to component props.
|
|
8
8
|
*/
|
|
9
|
-
declare const FormItem:
|
|
10
|
-
children?:
|
|
11
|
-
}>, "ref"> &
|
|
9
|
+
declare const FormItem: react1891.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
10
|
+
children?: react1891.ReactNode | undefined;
|
|
11
|
+
}>, "ref"> & react1891.RefAttributes<unknown>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { FormItem };
|
|
@@ -76,7 +76,7 @@ declare const basicComponentRegistry: {
|
|
|
76
76
|
value?: Date;
|
|
77
77
|
onChange?: (date: Date | undefined) => void;
|
|
78
78
|
placeholder?: string;
|
|
79
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
79
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
80
80
|
decorator: string;
|
|
81
81
|
};
|
|
82
82
|
FormGrid: {
|
|
@@ -171,7 +171,7 @@ declare const basicComponents: {
|
|
|
171
171
|
value?: Date;
|
|
172
172
|
onChange?: (date: Date | undefined) => void;
|
|
173
173
|
placeholder?: string;
|
|
174
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
174
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
175
175
|
FormGrid: typeof FormGrid;
|
|
176
176
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
177
177
|
children?: react684.ReactNode | undefined;
|
|
@@ -231,7 +231,7 @@ declare const SchemaFieldBasics: {
|
|
|
231
231
|
value?: Date;
|
|
232
232
|
onChange?: (date: Date | undefined) => void;
|
|
233
233
|
placeholder?: string;
|
|
234
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
234
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
235
235
|
FormGrid: typeof FormGrid;
|
|
236
236
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
237
237
|
children?: react684.ReactNode | undefined;
|
|
@@ -290,7 +290,7 @@ declare const SchemaFieldBasics: {
|
|
|
290
290
|
value?: Date;
|
|
291
291
|
onChange?: (date: Date | undefined) => void;
|
|
292
292
|
placeholder?: string;
|
|
293
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
293
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
294
294
|
FormGrid: typeof FormGrid;
|
|
295
295
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
296
296
|
children?: react684.ReactNode | undefined;
|
|
@@ -349,7 +349,7 @@ declare const SchemaFieldBasics: {
|
|
|
349
349
|
value?: Date;
|
|
350
350
|
onChange?: (date: Date | undefined) => void;
|
|
351
351
|
placeholder?: string;
|
|
352
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
352
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
353
353
|
FormGrid: typeof FormGrid;
|
|
354
354
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
355
355
|
children?: react684.ReactNode | undefined;
|
|
@@ -408,7 +408,7 @@ declare const SchemaFieldBasics: {
|
|
|
408
408
|
value?: Date;
|
|
409
409
|
onChange?: (date: Date | undefined) => void;
|
|
410
410
|
placeholder?: string;
|
|
411
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
411
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
412
412
|
FormGrid: typeof FormGrid;
|
|
413
413
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
414
414
|
children?: react684.ReactNode | undefined;
|
|
@@ -467,7 +467,7 @@ declare const SchemaFieldBasics: {
|
|
|
467
467
|
value?: Date;
|
|
468
468
|
onChange?: (date: Date | undefined) => void;
|
|
469
469
|
placeholder?: string;
|
|
470
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
470
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
471
471
|
FormGrid: typeof FormGrid;
|
|
472
472
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
473
473
|
children?: react684.ReactNode | undefined;
|
|
@@ -526,7 +526,7 @@ declare const SchemaFieldBasics: {
|
|
|
526
526
|
value?: Date;
|
|
527
527
|
onChange?: (date: Date | undefined) => void;
|
|
528
528
|
placeholder?: string;
|
|
529
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
529
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
530
530
|
FormGrid: typeof FormGrid;
|
|
531
531
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
532
532
|
children?: react684.ReactNode | undefined;
|
|
@@ -585,7 +585,7 @@ declare const SchemaFieldBasics: {
|
|
|
585
585
|
value?: Date;
|
|
586
586
|
onChange?: (date: Date | undefined) => void;
|
|
587
587
|
placeholder?: string;
|
|
588
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
588
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
589
589
|
FormGrid: typeof FormGrid;
|
|
590
590
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
591
591
|
children?: react684.ReactNode | undefined;
|
|
@@ -644,7 +644,7 @@ declare const SchemaFieldBasics: {
|
|
|
644
644
|
value?: Date;
|
|
645
645
|
onChange?: (date: Date | undefined) => void;
|
|
646
646
|
placeholder?: string;
|
|
647
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
647
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
648
648
|
FormGrid: typeof FormGrid;
|
|
649
649
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
650
650
|
children?: react684.ReactNode | undefined;
|
|
@@ -703,7 +703,7 @@ declare const SchemaFieldBasics: {
|
|
|
703
703
|
value?: Date;
|
|
704
704
|
onChange?: (date: Date | undefined) => void;
|
|
705
705
|
placeholder?: string;
|
|
706
|
-
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "
|
|
706
|
+
} & Omit<_pixpilot_shadcn_ui102.DatePickerProps, "onSelect" | "selected" | "mode">> & react684.RefAttributes<unknown>>;
|
|
707
707
|
FormGrid: typeof FormGrid;
|
|
708
708
|
FormItem: react684.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
709
709
|
children?: react684.ReactNode | undefined;
|