@pixpilot/formily-shadcn 0.13.1 → 0.13.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/date-picker.d.cts +1 -1
- package/dist/components/date-picker.d.ts +3 -3
- package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
- package/dist/components/file-upload/file-upload.d.ts +8 -8
- package/dist/components/form-grid.cjs +1 -1
- package/dist/components/form-grid.d.cts +2 -2
- package/dist/components/form-grid.js +1 -1
- package/dist/components/form.d.cts +2 -2
- package/dist/components/icon-picker.d.ts +3 -3
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/row.d.ts +2 -2
- package/dist/components/schema-field/schema-field-basics.d.cts +226 -226
- package/dist/components/schema-field/schema-field-basics.d.ts +226 -226
- package/dist/components/schema-field/schema-field-extended.d.cts +11 -11
- package/dist/components/schema-field/schema-field-extended.d.ts +479 -479
- package/dist/components/schema-field/schema-field.d.cts +259 -259
- package/dist/components/schema-field/schema-field.d.ts +11 -11
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/slider.d.cts +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.cts +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/tags-input-inline.d.cts +2 -2
- package/dist/components/textarea.d.cts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/package.json +2 -2
|
@@ -77,7 +77,7 @@ declare const defaultComponentRegistry: {
|
|
|
77
77
|
value?: Date;
|
|
78
78
|
onChange?: (date: Date | undefined) => void;
|
|
79
79
|
placeholder?: string;
|
|
80
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
80
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
81
81
|
decorator: string;
|
|
82
82
|
};
|
|
83
83
|
Row: {
|
|
@@ -139,7 +139,7 @@ declare const defaultComponents: {
|
|
|
139
139
|
value?: Date;
|
|
140
140
|
onChange?: (date: Date | undefined) => void;
|
|
141
141
|
placeholder?: string;
|
|
142
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
142
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
143
143
|
Row: typeof Row;
|
|
144
144
|
Column: typeof Column;
|
|
145
145
|
FormGrid: typeof FormGrid;
|
|
@@ -180,7 +180,7 @@ declare const SchemaField: {
|
|
|
180
180
|
value?: Date;
|
|
181
181
|
onChange?: (date: Date | undefined) => void;
|
|
182
182
|
placeholder?: string;
|
|
183
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
183
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
184
184
|
Row: typeof Row;
|
|
185
185
|
Column: typeof Column;
|
|
186
186
|
FormGrid: typeof FormGrid;
|
|
@@ -220,7 +220,7 @@ declare const SchemaField: {
|
|
|
220
220
|
value?: Date;
|
|
221
221
|
onChange?: (date: Date | undefined) => void;
|
|
222
222
|
placeholder?: string;
|
|
223
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
223
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
224
224
|
Row: typeof Row;
|
|
225
225
|
Column: typeof Column;
|
|
226
226
|
FormGrid: typeof FormGrid;
|
|
@@ -260,7 +260,7 @@ declare const SchemaField: {
|
|
|
260
260
|
value?: Date;
|
|
261
261
|
onChange?: (date: Date | undefined) => void;
|
|
262
262
|
placeholder?: string;
|
|
263
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
263
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
264
264
|
Row: typeof Row;
|
|
265
265
|
Column: typeof Column;
|
|
266
266
|
FormGrid: typeof FormGrid;
|
|
@@ -300,7 +300,7 @@ declare const SchemaField: {
|
|
|
300
300
|
value?: Date;
|
|
301
301
|
onChange?: (date: Date | undefined) => void;
|
|
302
302
|
placeholder?: string;
|
|
303
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
303
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
304
304
|
Row: typeof Row;
|
|
305
305
|
Column: typeof Column;
|
|
306
306
|
FormGrid: typeof FormGrid;
|
|
@@ -340,7 +340,7 @@ declare const SchemaField: {
|
|
|
340
340
|
value?: Date;
|
|
341
341
|
onChange?: (date: Date | undefined) => void;
|
|
342
342
|
placeholder?: string;
|
|
343
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
343
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
344
344
|
Row: typeof Row;
|
|
345
345
|
Column: typeof Column;
|
|
346
346
|
FormGrid: typeof FormGrid;
|
|
@@ -380,7 +380,7 @@ declare const SchemaField: {
|
|
|
380
380
|
value?: Date;
|
|
381
381
|
onChange?: (date: Date | undefined) => void;
|
|
382
382
|
placeholder?: string;
|
|
383
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
383
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
384
384
|
Row: typeof Row;
|
|
385
385
|
Column: typeof Column;
|
|
386
386
|
FormGrid: typeof FormGrid;
|
|
@@ -420,7 +420,7 @@ declare const SchemaField: {
|
|
|
420
420
|
value?: Date;
|
|
421
421
|
onChange?: (date: Date | undefined) => void;
|
|
422
422
|
placeholder?: string;
|
|
423
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
423
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
424
424
|
Row: typeof Row;
|
|
425
425
|
Column: typeof Column;
|
|
426
426
|
FormGrid: typeof FormGrid;
|
|
@@ -460,7 +460,7 @@ declare const SchemaField: {
|
|
|
460
460
|
value?: Date;
|
|
461
461
|
onChange?: (date: Date | undefined) => void;
|
|
462
462
|
placeholder?: string;
|
|
463
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
463
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
464
464
|
Row: typeof Row;
|
|
465
465
|
Column: typeof Column;
|
|
466
466
|
FormGrid: typeof FormGrid;
|
|
@@ -500,7 +500,7 @@ declare const SchemaField: {
|
|
|
500
500
|
value?: Date;
|
|
501
501
|
onChange?: (date: Date | undefined) => void;
|
|
502
502
|
placeholder?: string;
|
|
503
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
503
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "onSelect" | "selected" | "mode">> & react30.RefAttributes<unknown>>;
|
|
504
504
|
Row: typeof Row;
|
|
505
505
|
Column: typeof Column;
|
|
506
506
|
FormGrid: typeof FormGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react23 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: react23.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react23.RefAttributes<HTMLDivElement>>, "ref"> & react23.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react17 from "react";
|
|
2
2
|
import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -7,6 +7,6 @@ import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected Slider component
|
|
8
8
|
* Range input for selecting numeric values
|
|
9
9
|
*/
|
|
10
|
-
declare const Slider:
|
|
10
|
+
declare const Slider: react17.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react17.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react18 from "react";
|
|
2
2
|
import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -7,6 +7,6 @@ import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected Slider component
|
|
8
8
|
* Range input for selecting numeric values
|
|
9
9
|
*/
|
|
10
|
-
declare const Slider$1:
|
|
10
|
+
declare const Slider$1: react18.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react18.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider$1 as Slider };
|
|
@@ -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 react20 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: react20.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react20.RefAttributes<HTMLButtonElement>>, "ref"> & react20.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_ui0 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tags-input-inline.d.ts
|
|
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui0 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_ui0.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,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react14 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: react14.ForwardRefExoticComponent<Omit<Partial<react14.ClassAttributes<HTMLTextAreaElement> & react14.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react14.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Textarea };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/formily-shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.2",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"tsdown": "^0.15.12",
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
57
|
"@internal/eslint-config": "0.3.0",
|
|
58
|
-
"@internal/prettier-config": "0.0.1",
|
|
59
58
|
"@internal/tsconfig": "0.1.0",
|
|
60
59
|
"@internal/tsdown-config": "0.1.0",
|
|
60
|
+
"@internal/prettier-config": "0.0.1",
|
|
61
61
|
"@internal/vitest-config": "0.1.0"
|
|
62
62
|
},
|
|
63
63
|
"prettier": "@internal/prettier-config",
|