@pixpilot/formily-shadcn 0.21.2 → 0.21.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.
@@ -1,4 +1,4 @@
1
- import * as react1 from "react";
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: react1.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react1.RefAttributes<HTMLButtonElement>>, "ref"> & react1.RefAttributes<unknown>>;
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,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/column.d.ts
5
5
  interface IColumnProps {
@@ -36,6 +36,6 @@ interface IColumnProps {
36
36
  declare function Column({
37
37
  className,
38
38
  children
39
- }: IColumnProps): react_jsx_runtime0.JSX.Element;
39
+ }: IColumnProps): react_jsx_runtime1.JSX.Element;
40
40
  //#endregion
41
41
  export { Column };
@@ -1,11 +1,11 @@
1
- import * as react4 from "react";
1
+ import * as react2 from "react";
2
2
  import { DatePickerProps } from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/date-picker.d.ts
5
- declare const DatePicker$1: react4.ForwardRefExoticComponent<Partial<{
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, "onSelect" | "selected" | "mode">> & react4.RefAttributes<unknown>>;
9
+ } & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { DatePicker$1 as DatePicker };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/file-upload-inline.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
7
7
  * Formily-connected FileUploadInline component
8
8
  * Automatically connects shadcn FileUploadInline to Formily field state
9
9
  */
10
- declare const FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
10
+ declare const FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui8.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui8.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui0.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui0.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui8.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui8.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui0.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui0.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUploadInline$1 as FileUploadInline };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui294 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/file-upload.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui294 from "@pixpilot/shadcn-ui";
7
7
  * Formily-connected FileUploadInline component
8
8
  * Automatically connects shadcn FileUploadInline to Formily field state
9
9
  */
10
- declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui294.FileUploadInlineBaseProps & {
10
+ declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui294.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui294.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui294.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui294.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui8.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui8.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui294.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui294.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui294.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui8.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui8.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUpload };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/file-upload.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
7
7
  * Formily-connected FileUploadInline component
8
8
  * Automatically connects shadcn FileUploadInline to Formily field state
9
9
  */
10
- declare const FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
10
+ declare const FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui0.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui0.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui8.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui8.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui0.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui0.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui8.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui8.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUpload$1 as FileUpload };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/form-grid.d.ts
5
5
  interface IFormGridProps extends React.HTMLAttributes<HTMLDivElement> {}
@@ -7,6 +7,6 @@ declare function FormGrid({
7
7
  className,
8
8
  children,
9
9
  ...rest
10
- }: IFormGridProps): react_jsx_runtime1.JSX.Element;
10
+ }: IFormGridProps): react_jsx_runtime0.JSX.Element;
11
11
  //#endregion
12
12
  export { FormGrid };
@@ -1,4 +1,4 @@
1
- import * as react0 from "react";
1
+ import * as react4 from "react";
2
2
  import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/icon-picker.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$1: react0.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
11
+ declare const IconPicker$1: react4.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
12
12
  providers?: IconProviderProps[];
13
- }> & react0.RefAttributes<unknown>>;
13
+ }> & react4.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { IconPicker$1 as IconPicker };
@@ -1,15 +1,15 @@
1
- import * as react22 from "react";
1
+ import * as react24 from "react";
2
2
 
3
3
  //#region src/components/number/number-input.d.ts
4
4
  /**
5
5
  * Formily-connected Number Input component
6
6
  */
7
- declare const NumberInput: react22.ForwardRefExoticComponent<Omit<Partial<react22.ClassAttributes<HTMLInputElement> & react22.InputHTMLAttributes<HTMLInputElement> & {
7
+ declare const NumberInput: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLInputElement> & react24.InputHTMLAttributes<HTMLInputElement> & {
8
8
  prefix?: React.ReactNode;
9
9
  suffix?: React.ReactNode;
10
10
  groupClassName?: string;
11
11
  prefixClassName?: string;
12
12
  suffixClassName?: string;
13
- }>, "ref"> & react22.RefAttributes<unknown>>;
13
+ }>, "ref"> & react24.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { NumberInput };
@@ -1,15 +1,15 @@
1
- import * as react1509 from "react";
1
+ import * as react24 from "react";
2
2
 
3
3
  //#region src/components/number/number-input.d.ts
4
4
  /**
5
5
  * Formily-connected Number Input component
6
6
  */
7
- declare const NumberInput: react1509.ForwardRefExoticComponent<Omit<Partial<react1509.ClassAttributes<HTMLInputElement> & react1509.InputHTMLAttributes<HTMLInputElement> & {
7
+ declare const NumberInput: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLInputElement> & react24.InputHTMLAttributes<HTMLInputElement> & {
8
8
  prefix?: React.ReactNode;
9
9
  suffix?: React.ReactNode;
10
10
  groupClassName?: string;
11
11
  prefixClassName?: string;
12
12
  suffixClassName?: string;
13
- }>, "ref"> & react1509.RefAttributes<unknown>>;
13
+ }>, "ref"> & react24.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { NumberInput };
@@ -12,7 +12,7 @@ import * as _formily_react23 from "@formily/react";
12
12
  import { ISchema } from "@formily/react";
13
13
  import * as react1139 from "react";
14
14
  import * as _formily_core1 from "@formily/core";
15
- import * as _pixpilot_shadcn_ui369 from "@pixpilot/shadcn-ui";
15
+ import * as _pixpilot_shadcn_ui368 from "@pixpilot/shadcn-ui";
16
16
  import * as _radix_ui_react_checkbox22 from "@radix-ui/react-checkbox";
17
17
  import * as _radix_ui_react_separator22 from "@radix-ui/react-separator";
18
18
  import * as _radix_ui_react_switch22 from "@radix-ui/react-switch";
@@ -50,7 +50,7 @@ declare const basicComponentRegistry: {
50
50
  value?: Date;
51
51
  onChange?: (date: Date | undefined) => void;
52
52
  placeholder?: string;
53
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
53
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
54
54
  decorator: string;
55
55
  };
56
56
  FormGrid: {
@@ -128,7 +128,7 @@ declare const basicComponents: {
128
128
  value?: Date;
129
129
  onChange?: (date: Date | undefined) => void;
130
130
  placeholder?: string;
131
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
131
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
132
132
  FormGrid: typeof FormGrid;
133
133
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
134
134
  children?: react1139.ReactNode | undefined;
@@ -177,7 +177,7 @@ declare const SchemaFieldBasics: {
177
177
  value?: Date;
178
178
  onChange?: (date: Date | undefined) => void;
179
179
  placeholder?: string;
180
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
180
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
181
181
  FormGrid: typeof FormGrid;
182
182
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
183
183
  children?: react1139.ReactNode | undefined;
@@ -225,7 +225,7 @@ declare const SchemaFieldBasics: {
225
225
  value?: Date;
226
226
  onChange?: (date: Date | undefined) => void;
227
227
  placeholder?: string;
228
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
228
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
229
229
  FormGrid: typeof FormGrid;
230
230
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
231
231
  children?: react1139.ReactNode | undefined;
@@ -273,7 +273,7 @@ declare const SchemaFieldBasics: {
273
273
  value?: Date;
274
274
  onChange?: (date: Date | undefined) => void;
275
275
  placeholder?: string;
276
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
276
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
277
277
  FormGrid: typeof FormGrid;
278
278
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
279
279
  children?: react1139.ReactNode | undefined;
@@ -321,7 +321,7 @@ declare const SchemaFieldBasics: {
321
321
  value?: Date;
322
322
  onChange?: (date: Date | undefined) => void;
323
323
  placeholder?: string;
324
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
324
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
325
325
  FormGrid: typeof FormGrid;
326
326
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
327
327
  children?: react1139.ReactNode | undefined;
@@ -369,7 +369,7 @@ declare const SchemaFieldBasics: {
369
369
  value?: Date;
370
370
  onChange?: (date: Date | undefined) => void;
371
371
  placeholder?: string;
372
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
372
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
373
373
  FormGrid: typeof FormGrid;
374
374
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
375
375
  children?: react1139.ReactNode | undefined;
@@ -417,7 +417,7 @@ declare const SchemaFieldBasics: {
417
417
  value?: Date;
418
418
  onChange?: (date: Date | undefined) => void;
419
419
  placeholder?: string;
420
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
420
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
421
421
  FormGrid: typeof FormGrid;
422
422
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
423
423
  children?: react1139.ReactNode | undefined;
@@ -465,7 +465,7 @@ declare const SchemaFieldBasics: {
465
465
  value?: Date;
466
466
  onChange?: (date: Date | undefined) => void;
467
467
  placeholder?: string;
468
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
468
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
469
469
  FormGrid: typeof FormGrid;
470
470
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
471
471
  children?: react1139.ReactNode | undefined;
@@ -513,7 +513,7 @@ declare const SchemaFieldBasics: {
513
513
  value?: Date;
514
514
  onChange?: (date: Date | undefined) => void;
515
515
  placeholder?: string;
516
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
516
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
517
517
  FormGrid: typeof FormGrid;
518
518
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
519
519
  children?: react1139.ReactNode | undefined;
@@ -561,7 +561,7 @@ declare const SchemaFieldBasics: {
561
561
  value?: Date;
562
562
  onChange?: (date: Date | undefined) => void;
563
563
  placeholder?: string;
564
- } & Omit<_pixpilot_shadcn_ui369.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
564
+ } & Omit<_pixpilot_shadcn_ui368.DatePickerProps, "onSelect" | "selected" | "mode">> & react1139.RefAttributes<unknown>>;
565
565
  FormGrid: typeof FormGrid;
566
566
  FormItem: react1139.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
567
567
  children?: react1139.ReactNode | undefined;