@pixpilot/formily-shadcn 0.16.2 → 0.16.3
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.cts +8 -8
- package/dist/components/file-upload/file-upload.d.cts +8 -8
- package/dist/components/form-grid.d.cts +2 -2
- package/dist/components/form.d.cts +2 -2
- package/dist/components/icon-picker.d.cts +3 -3
- package/dist/components/icon-picker.d.ts +3 -3
- package/dist/components/input.d.cts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/number-input.d.cts +2 -2
- package/dist/components/number-input.d.ts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/schema-field/schema-field-basics.d.cts +226 -226
- package/dist/components/schema-field/schema-field-basics.d.ts +11 -11
- 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 +270 -270
- package/dist/components/schema-field/schema-field.d.ts +11 -11
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/tags-input-inline.d.ts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/package.json +3 -3
|
@@ -84,7 +84,7 @@ declare const defaultComponentRegistry: {
|
|
|
84
84
|
value?: Date;
|
|
85
85
|
onChange?: (date: Date | undefined) => void;
|
|
86
86
|
placeholder?: string;
|
|
87
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
87
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
88
88
|
decorator: string;
|
|
89
89
|
};
|
|
90
90
|
Row: {
|
|
@@ -147,7 +147,7 @@ declare const defaultComponents: {
|
|
|
147
147
|
value?: Date;
|
|
148
148
|
onChange?: (date: Date | undefined) => void;
|
|
149
149
|
placeholder?: string;
|
|
150
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
150
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
151
151
|
Row: typeof Row;
|
|
152
152
|
Column: typeof Column;
|
|
153
153
|
FormGrid: typeof FormGrid;
|
|
@@ -189,7 +189,7 @@ declare const SchemaField: {
|
|
|
189
189
|
value?: Date;
|
|
190
190
|
onChange?: (date: Date | undefined) => void;
|
|
191
191
|
placeholder?: string;
|
|
192
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
192
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
193
193
|
Row: typeof Row;
|
|
194
194
|
Column: typeof Column;
|
|
195
195
|
FormGrid: typeof FormGrid;
|
|
@@ -230,7 +230,7 @@ declare const SchemaField: {
|
|
|
230
230
|
value?: Date;
|
|
231
231
|
onChange?: (date: Date | undefined) => void;
|
|
232
232
|
placeholder?: string;
|
|
233
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
233
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
234
234
|
Row: typeof Row;
|
|
235
235
|
Column: typeof Column;
|
|
236
236
|
FormGrid: typeof FormGrid;
|
|
@@ -271,7 +271,7 @@ declare const SchemaField: {
|
|
|
271
271
|
value?: Date;
|
|
272
272
|
onChange?: (date: Date | undefined) => void;
|
|
273
273
|
placeholder?: string;
|
|
274
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
274
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
275
275
|
Row: typeof Row;
|
|
276
276
|
Column: typeof Column;
|
|
277
277
|
FormGrid: typeof FormGrid;
|
|
@@ -312,7 +312,7 @@ declare const SchemaField: {
|
|
|
312
312
|
value?: Date;
|
|
313
313
|
onChange?: (date: Date | undefined) => void;
|
|
314
314
|
placeholder?: string;
|
|
315
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
315
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
316
316
|
Row: typeof Row;
|
|
317
317
|
Column: typeof Column;
|
|
318
318
|
FormGrid: typeof FormGrid;
|
|
@@ -353,7 +353,7 @@ declare const SchemaField: {
|
|
|
353
353
|
value?: Date;
|
|
354
354
|
onChange?: (date: Date | undefined) => void;
|
|
355
355
|
placeholder?: string;
|
|
356
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
356
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
357
357
|
Row: typeof Row;
|
|
358
358
|
Column: typeof Column;
|
|
359
359
|
FormGrid: typeof FormGrid;
|
|
@@ -394,7 +394,7 @@ declare const SchemaField: {
|
|
|
394
394
|
value?: Date;
|
|
395
395
|
onChange?: (date: Date | undefined) => void;
|
|
396
396
|
placeholder?: string;
|
|
397
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
397
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
398
398
|
Row: typeof Row;
|
|
399
399
|
Column: typeof Column;
|
|
400
400
|
FormGrid: typeof FormGrid;
|
|
@@ -435,7 +435,7 @@ declare const SchemaField: {
|
|
|
435
435
|
value?: Date;
|
|
436
436
|
onChange?: (date: Date | undefined) => void;
|
|
437
437
|
placeholder?: string;
|
|
438
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
438
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
439
439
|
Row: typeof Row;
|
|
440
440
|
Column: typeof Column;
|
|
441
441
|
FormGrid: typeof FormGrid;
|
|
@@ -476,7 +476,7 @@ declare const SchemaField: {
|
|
|
476
476
|
value?: Date;
|
|
477
477
|
onChange?: (date: Date | undefined) => void;
|
|
478
478
|
placeholder?: string;
|
|
479
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
479
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
480
480
|
Row: typeof Row;
|
|
481
481
|
Column: typeof Column;
|
|
482
482
|
FormGrid: typeof FormGrid;
|
|
@@ -517,7 +517,7 @@ declare const SchemaField: {
|
|
|
517
517
|
value?: Date;
|
|
518
518
|
onChange?: (date: Date | undefined) => void;
|
|
519
519
|
placeholder?: string;
|
|
520
|
-
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "
|
|
520
|
+
} & Omit<_pixpilot_shadcn_ui280.DatePickerProps, "onSelect" | "selected" | "mode">> & react580.RefAttributes<unknown>>;
|
|
521
521
|
Row: typeof Row;
|
|
522
522
|
Column: typeof Column;
|
|
523
523
|
FormGrid: typeof FormGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react14 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: react14.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react14.RefAttributes<HTMLDivElement>>, "ref"> & react14.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$1:
|
|
10
|
+
declare const Slider$1: react17.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react17.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 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 };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/formily-shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.3",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"json-schema-traverse": "^1.0.0",
|
|
41
41
|
"lucide-react": "^0.562.0",
|
|
42
42
|
"pretty-bytes": "^7.1.0",
|
|
43
|
-
"@pixpilot/shadcn": "0.6.
|
|
44
|
-
"@pixpilot/shadcn-ui": "0.15.
|
|
43
|
+
"@pixpilot/shadcn": "0.6.1",
|
|
44
|
+
"@pixpilot/shadcn-ui": "0.15.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@storybook/react": "^8.6.14",
|