@pixpilot/formily-shadcn 0.22.0 → 0.22.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.
- package/dist/components/array-base/components/empty.cjs +1 -1
- package/dist/components/array-base/components/empty.js +1 -1
- 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/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/input.d.cts +3 -3
- package/dist/components/number/number-input.d.ts +3 -3
- package/dist/components/schema-field/schema-field-basics.d.cts +11 -11
- package/dist/components/schema-field/schema-field-basics.d.ts +248 -248
- package/dist/components/schema-field/schema-field-extended.d.cts +20 -20
- package/dist/components/schema-field/schema-field-extended.d.ts +545 -545
- package/dist/components/schema-field/schema-field.d.cts +20 -20
- package/dist/components/schema-field/schema-field.d.ts +319 -319
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/tags-input-inline.d.cts +2 -2
- package/dist/components/tags-input-inline.d.ts +2 -2
- package/dist/components/textarea.d.cts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/package.json +4 -4
|
@@ -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 };
|
|
@@ -6,6 +6,6 @@ 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/date-picker.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,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
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):
|
|
10
|
+
}: IFormGridProps): react_jsx_runtime0.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid };
|
|
@@ -2,7 +2,7 @@ import { FormContextStates } from "./context/form-context.cjs";
|
|
|
2
2
|
import "./context/index.cjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Form } from "@formily/core";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/form.d.ts
|
|
8
8
|
interface IFormProps extends FormContextStates {
|
|
@@ -25,6 +25,6 @@ declare function Form$1({
|
|
|
25
25
|
onAutoSubmit,
|
|
26
26
|
layout,
|
|
27
27
|
settings
|
|
28
|
-
}: IFormProps):
|
|
28
|
+
}: IFormProps): react_jsx_runtime1.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Form$1 as Form };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react8 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:
|
|
11
|
+
declare const IconPicker: react8.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
|
|
12
12
|
providers?: IconProviderProps[];
|
|
13
|
-
}> &
|
|
13
|
+
}> & react8.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { IconPicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react4 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,12 +6,12 @@ import * as react6 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: react4.ForwardRefExoticComponent<Omit<Partial<react4.ClassAttributes<HTMLInputElement> & react4.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"> & react4.RefAttributes<unknown>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Input };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
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"> &
|
|
13
|
+
}>, "ref"> & react24.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { NumberInput };
|
|
@@ -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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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_ui368.DatePickerProps, "
|
|
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;
|