@pixpilot/formily-shadcn 0.9.0 → 0.9.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.
Files changed (29) hide show
  1. package/dist/components/array-base/components/addition.cjs +2 -2
  2. package/dist/components/array-base/components/addition.d.cts +3 -2
  3. package/dist/components/array-base/components/addition.d.ts +3 -2
  4. package/dist/components/array-base/components/addition.js +2 -2
  5. package/dist/components/array-base/types.d.cts +2 -2
  6. package/dist/components/array-base/types.d.ts +2 -2
  7. package/dist/components/checkbox.d.ts +2 -2
  8. package/dist/components/column.d.ts +2 -2
  9. package/dist/components/date-picker.d.cts +2 -8
  10. package/dist/components/date-picker.d.ts +5 -11
  11. package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
  12. package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
  13. package/dist/components/file-upload/file-upload.d.cts +8 -8
  14. package/dist/components/file-upload/file-upload.d.ts +8 -8
  15. package/dist/components/form-grid.d.ts +2 -2
  16. package/dist/components/icon-picker.d.ts +3 -3
  17. package/dist/components/radio.d.cts +2 -2
  18. package/dist/components/radio.d.ts +4 -4
  19. package/dist/components/row.d.ts +2 -2
  20. package/dist/components/schema-field/schema-field-basics.d.cts +207 -267
  21. package/dist/components/schema-field/schema-field-basics.d.ts +11 -71
  22. package/dist/components/schema-field/schema-field-extended.d.cts +10 -71
  23. package/dist/components/schema-field/schema-field-extended.d.ts +10 -71
  24. package/dist/components/schema-field/schema-field.d.cts +237 -298
  25. package/dist/components/schema-field/schema-field.d.ts +31 -92
  26. package/dist/components/slider.d.ts +2 -2
  27. package/dist/components/switch.d.ts +2 -2
  28. package/package.json +2 -2
  29. package/dist/_virtual/rolldown_runtime.js +0 -24
@@ -7,11 +7,10 @@ import { Row } from "../row.js";
7
7
  import { ObjectContainerProps } from "../object-container.js";
8
8
  import * as _formily_react11 from "@formily/react";
9
9
  import * as react488 from "react";
10
- import * as _pixpilot_shadcn_ui226 from "@pixpilot/shadcn-ui";
10
+ import * as _pixpilot_shadcn_ui236 from "@pixpilot/shadcn-ui";
11
11
  import { TagsInput } from "@pixpilot/shadcn-ui";
12
12
  import * as _formily_core0 from "@formily/core";
13
13
  import * as _radix_ui_react_checkbox10 from "@radix-ui/react-checkbox";
14
- import * as react_day_picker10 from "react-day-picker";
15
14
  import * as _radix_ui_react_switch10 from "@radix-ui/react-switch";
16
15
  import * as _radix_ui_react_separator10 from "@radix-ui/react-separator";
17
16
 
@@ -19,8 +18,8 @@ import * as _radix_ui_react_separator10 from "@radix-ui/react-separator";
19
18
  declare const schemaFieldComponents: {
20
19
  Combobox: react488.FC;
21
20
  TagsInput: typeof TagsInput;
22
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
23
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
21
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
22
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
24
23
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
25
24
  children?: react488.ReactNode | undefined;
26
25
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -39,13 +38,7 @@ declare const schemaFieldComponents: {
39
38
  value?: Date;
40
39
  onChange?: (date: Date | undefined) => void;
41
40
  placeholder?: string;
42
- } & Omit<{
43
- value?: Date;
44
- onChange?: (date: Date | undefined) => void;
45
- placeholder?: string;
46
- } & Omit<react_day_picker10.DayPickerProps & {
47
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
48
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
41
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
49
42
  Row: typeof Row;
50
43
  Column: typeof Column;
51
44
  FormGrid: typeof FormGrid;
@@ -66,8 +59,8 @@ declare const SchemaField: {
66
59
  <Decorator_1 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_1 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaMarkupFieldProps<{
67
60
  Combobox: react488.FC;
68
61
  TagsInput: typeof TagsInput;
69
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
70
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
62
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
63
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
71
64
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
72
65
  children?: react488.ReactNode | undefined;
73
66
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -86,13 +79,7 @@ declare const SchemaField: {
86
79
  value?: Date;
87
80
  onChange?: (date: Date | undefined) => void;
88
81
  placeholder?: string;
89
- } & Omit<{
90
- value?: Date;
91
- onChange?: (date: Date | undefined) => void;
92
- placeholder?: string;
93
- } & Omit<react_day_picker10.DayPickerProps & {
94
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
95
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
82
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
96
83
  Row: typeof Row;
97
84
  Column: typeof Column;
98
85
  FormGrid: typeof FormGrid;
@@ -112,8 +99,8 @@ declare const SchemaField: {
112
99
  <Decorator_2 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_2 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
113
100
  Combobox: react488.FC;
114
101
  TagsInput: typeof TagsInput;
115
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
116
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
102
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
103
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
117
104
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
118
105
  children?: react488.ReactNode | undefined;
119
106
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -132,13 +119,7 @@ declare const SchemaField: {
132
119
  value?: Date;
133
120
  onChange?: (date: Date | undefined) => void;
134
121
  placeholder?: string;
135
- } & Omit<{
136
- value?: Date;
137
- onChange?: (date: Date | undefined) => void;
138
- placeholder?: string;
139
- } & Omit<react_day_picker10.DayPickerProps & {
140
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
141
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
122
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
142
123
  Row: typeof Row;
143
124
  Column: typeof Column;
144
125
  FormGrid: typeof FormGrid;
@@ -158,8 +139,8 @@ declare const SchemaField: {
158
139
  <Decorator_3 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_3 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
159
140
  Combobox: react488.FC;
160
141
  TagsInput: typeof TagsInput;
161
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
162
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
142
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
143
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
163
144
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
164
145
  children?: react488.ReactNode | undefined;
165
146
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -178,13 +159,7 @@ declare const SchemaField: {
178
159
  value?: Date;
179
160
  onChange?: (date: Date | undefined) => void;
180
161
  placeholder?: string;
181
- } & Omit<{
182
- value?: Date;
183
- onChange?: (date: Date | undefined) => void;
184
- placeholder?: string;
185
- } & Omit<react_day_picker10.DayPickerProps & {
186
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
187
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
162
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
188
163
  Row: typeof Row;
189
164
  Column: typeof Column;
190
165
  FormGrid: typeof FormGrid;
@@ -204,8 +179,8 @@ declare const SchemaField: {
204
179
  <Decorator_4 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_4 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
205
180
  Combobox: react488.FC;
206
181
  TagsInput: typeof TagsInput;
207
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
208
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
182
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
183
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
209
184
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
210
185
  children?: react488.ReactNode | undefined;
211
186
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -224,13 +199,7 @@ declare const SchemaField: {
224
199
  value?: Date;
225
200
  onChange?: (date: Date | undefined) => void;
226
201
  placeholder?: string;
227
- } & Omit<{
228
- value?: Date;
229
- onChange?: (date: Date | undefined) => void;
230
- placeholder?: string;
231
- } & Omit<react_day_picker10.DayPickerProps & {
232
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
233
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
202
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
234
203
  Row: typeof Row;
235
204
  Column: typeof Column;
236
205
  FormGrid: typeof FormGrid;
@@ -250,8 +219,8 @@ declare const SchemaField: {
250
219
  <Decorator_5 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_5 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
251
220
  Combobox: react488.FC;
252
221
  TagsInput: typeof TagsInput;
253
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
254
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
222
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
223
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
255
224
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
256
225
  children?: react488.ReactNode | undefined;
257
226
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -270,13 +239,7 @@ declare const SchemaField: {
270
239
  value?: Date;
271
240
  onChange?: (date: Date | undefined) => void;
272
241
  placeholder?: string;
273
- } & Omit<{
274
- value?: Date;
275
- onChange?: (date: Date | undefined) => void;
276
- placeholder?: string;
277
- } & Omit<react_day_picker10.DayPickerProps & {
278
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
279
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
242
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
280
243
  Row: typeof Row;
281
244
  Column: typeof Column;
282
245
  FormGrid: typeof FormGrid;
@@ -296,8 +259,8 @@ declare const SchemaField: {
296
259
  <Decorator_6 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_6 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
297
260
  Combobox: react488.FC;
298
261
  TagsInput: typeof TagsInput;
299
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
300
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
262
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
263
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
301
264
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
302
265
  children?: react488.ReactNode | undefined;
303
266
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -316,13 +279,7 @@ declare const SchemaField: {
316
279
  value?: Date;
317
280
  onChange?: (date: Date | undefined) => void;
318
281
  placeholder?: string;
319
- } & Omit<{
320
- value?: Date;
321
- onChange?: (date: Date | undefined) => void;
322
- placeholder?: string;
323
- } & Omit<react_day_picker10.DayPickerProps & {
324
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
325
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
282
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
326
283
  Row: typeof Row;
327
284
  Column: typeof Column;
328
285
  FormGrid: typeof FormGrid;
@@ -342,8 +299,8 @@ declare const SchemaField: {
342
299
  <Decorator_7 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_7 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
343
300
  Combobox: react488.FC;
344
301
  TagsInput: typeof TagsInput;
345
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
346
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
302
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
303
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
347
304
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
348
305
  children?: react488.ReactNode | undefined;
349
306
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -362,13 +319,7 @@ declare const SchemaField: {
362
319
  value?: Date;
363
320
  onChange?: (date: Date | undefined) => void;
364
321
  placeholder?: string;
365
- } & Omit<{
366
- value?: Date;
367
- onChange?: (date: Date | undefined) => void;
368
- placeholder?: string;
369
- } & Omit<react_day_picker10.DayPickerProps & {
370
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
371
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
322
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
372
323
  Row: typeof Row;
373
324
  Column: typeof Column;
374
325
  FormGrid: typeof FormGrid;
@@ -388,8 +339,8 @@ declare const SchemaField: {
388
339
  <Decorator_8 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_8 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
389
340
  Combobox: react488.FC;
390
341
  TagsInput: typeof TagsInput;
391
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
392
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
342
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
343
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
393
344
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
394
345
  children?: react488.ReactNode | undefined;
395
346
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -408,13 +359,7 @@ declare const SchemaField: {
408
359
  value?: Date;
409
360
  onChange?: (date: Date | undefined) => void;
410
361
  placeholder?: string;
411
- } & Omit<{
412
- value?: Date;
413
- onChange?: (date: Date | undefined) => void;
414
- placeholder?: string;
415
- } & Omit<react_day_picker10.DayPickerProps & {
416
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
417
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
362
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
418
363
  Row: typeof Row;
419
364
  Column: typeof Column;
420
365
  FormGrid: typeof FormGrid;
@@ -434,8 +379,8 @@ declare const SchemaField: {
434
379
  <Decorator_9 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_9 extends "Radio" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "TagsInputInLine.$$typeof" | "Slider.$$typeof" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react11.ISchemaTypeFieldProps<{
435
380
  Combobox: react488.FC;
436
381
  TagsInput: typeof TagsInput;
437
- TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui226.TagsInputProps> & react488.RefAttributes<unknown>>;
438
- Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui226.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
382
+ TagsInputInLine: react488.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui236.TagsInputProps> & react488.RefAttributes<unknown>>;
383
+ Slider: react488.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui236.SliderProps>, "ref"> & react488.RefAttributes<unknown>>;
439
384
  FormItem: react488.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
440
385
  children?: react488.ReactNode | undefined;
441
386
  }>, "ref"> & react488.RefAttributes<unknown>>;
@@ -454,13 +399,7 @@ declare const SchemaField: {
454
399
  value?: Date;
455
400
  onChange?: (date: Date | undefined) => void;
456
401
  placeholder?: string;
457
- } & Omit<{
458
- value?: Date;
459
- onChange?: (date: Date | undefined) => void;
460
- placeholder?: string;
461
- } & Omit<react_day_picker10.DayPickerProps & {
462
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
463
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
402
+ } & Omit<_pixpilot_shadcn_ui236.DatePickerProps, "onSelect" | "selected" | "mode">> & react488.RefAttributes<unknown>>;
464
403
  Row: typeof Row;
465
404
  Column: typeof Column;
466
405
  FormGrid: typeof FormGrid;
@@ -1,4 +1,4 @@
1
- import * as react21 from "react";
1
+ import * as react24 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: react21.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
10
+ declare const Slider$1: react24.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react24.RefAttributes<unknown>>;
11
11
  //#endregion
12
12
  export { Slider$1 as Slider };
@@ -1,4 +1,4 @@
1
- import * as react23 from "react";
1
+ import * as react21 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: react23.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react23.RefAttributes<HTMLButtonElement>>, "ref"> & react23.RefAttributes<unknown>>;
9
+ declare const Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { Switch };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/formily-shadcn",
3
3
  "type": "module",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "Formily integration for shadcn/ui components",
6
6
  "author": "m.doaie <m.doaie@hotmail.com>",
7
7
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "lucide-react": "^0.554.0",
41
41
  "pretty-bytes": "^7.1.0",
42
42
  "@pixpilot/shadcn": "0.4.0",
43
- "@pixpilot/shadcn-ui": "0.5.0"
43
+ "@pixpilot/shadcn-ui": "0.5.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@storybook/react": "^10.1.8",
@@ -1,24 +0,0 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
- value: mod,
20
- enumerable: true
21
- }) : target, mod));
22
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
-
24
- //#endregion