@pixpilot/formily-shadcn 0.16.5 → 0.18.0
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/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.d.cts +2 -2
- package/dist/components/form-grid.d.ts +2 -2
- package/dist/components/form-item/connected-form-item.d.cts +4 -4
- package/dist/components/form.d.cts +2 -2
- package/dist/components/form.d.ts +2 -2
- package/dist/components/icon-picker.d.cts +3 -3
- package/dist/components/input.d.cts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/number/index.cjs +1 -0
- package/dist/components/number/index.d.cts +1 -0
- package/dist/components/number/index.d.ts +1 -0
- package/dist/components/number/index.js +1 -0
- package/dist/components/number/number-input-map-props.cjs +37 -0
- package/dist/components/number/number-input-map-props.js +35 -0
- package/dist/components/{number-input.cjs → number/number-input.cjs} +4 -8
- package/dist/components/number/number-input.d.cts +9 -0
- package/dist/components/number/number-input.d.ts +9 -0
- package/dist/components/number/number-input.js +12 -0
- package/dist/components/object-container.cjs +2 -1
- package/dist/components/object-container.js +2 -1
- package/dist/components/radio.d.cts +2 -2
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/schema-field/schema-field-basics.cjs +2 -1
- package/dist/components/schema-field/schema-field-basics.d.ts +210 -210
- package/dist/components/schema-field/schema-field-basics.js +2 -1
- package/dist/components/schema-field/schema-field-extended.d.ts +353 -353
- package/dist/components/schema-field/schema-field.d.ts +265 -265
- package/dist/components/separator.d.cts +2 -2
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/slider/map-props.cjs +3 -0
- package/dist/components/slider/map-props.js +4 -1
- package/dist/components/slider/slider-input.d.ts +3 -3
- package/dist/components/slider/slider.d.ts +3 -3
- 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/tags-input-inline.d.ts +2 -2
- package/dist/components/textarea.d.cts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
- package/dist/components/number-input.d.cts +0 -9
- package/dist/components/number-input.d.ts +0 -9
- package/dist/components/number-input.js +0 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
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<
|
|
10
|
+
declare const FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
|
|
11
11
|
multiple: true;
|
|
12
|
-
value?:
|
|
13
|
-
onChange?:
|
|
14
|
-
} &
|
|
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?:
|
|
17
|
-
onChange?:
|
|
18
|
-
} &
|
|
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
|
|
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<
|
|
10
|
+
declare const FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
|
|
11
11
|
multiple: true;
|
|
12
|
-
value?:
|
|
13
|
-
onChange?:
|
|
14
|
-
} &
|
|
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?:
|
|
17
|
-
onChange?:
|
|
18
|
-
} &
|
|
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
|
|
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 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_runtime2.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FormItemProps } from "./form-item-types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react1453 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-item/connected-form-item.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FormItem component connected to Formily field state.
|
|
7
7
|
* Automatically maps field validation state to component props.
|
|
8
8
|
*/
|
|
9
|
-
declare const FormItem:
|
|
10
|
-
children?:
|
|
11
|
-
}>, "ref"> &
|
|
9
|
+
declare const FormItem: react1453.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
10
|
+
children?: react1453.ReactNode | undefined;
|
|
11
|
+
}>, "ref"> & react1453.RefAttributes<unknown>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { FormItem };
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import { FormContextStates } from "./context/form-context.js";
|
|
2
2
|
import "./context/index.js";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
5
|
import { Form } from "@formily/core";
|
|
6
6
|
|
|
7
7
|
//#region src/components/form.d.ts
|
|
@@ -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 react12 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: react12.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
|
|
12
12
|
providers?: IconProviderProps[];
|
|
13
|
-
}> &
|
|
13
|
+
}> & react12.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { IconPicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react18 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ 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: react18.ForwardRefExoticComponent<Omit<Partial<react18.ClassAttributes<HTMLInputElement> & react18.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react18.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ 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: react9.ForwardRefExoticComponent<Omit<Partial<react9.ClassAttributes<HTMLInputElement> & react9.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react9.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_number_input = require('./number-input.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { NumberInput } from "./number-input.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { NumberInput } from "./number-input.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { NumberInput } from "./number-input.js";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __formily_react = require("@formily/react");
|
|
3
|
+
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
4
|
+
|
|
5
|
+
//#region src/components/number/number-input-map-props.ts
|
|
6
|
+
/**
|
|
7
|
+
* Mapper function for NumberInput props
|
|
8
|
+
*/
|
|
9
|
+
function mapNumberInputProps(props, inputField) {
|
|
10
|
+
const field = inputField;
|
|
11
|
+
const schema = (0, __formily_react.useFieldSchema)();
|
|
12
|
+
const min = schema?.minimum;
|
|
13
|
+
const max = schema?.maximum;
|
|
14
|
+
const fieldValue = field.value;
|
|
15
|
+
const value = typeof fieldValue === "number" || typeof fieldValue === "string" ? fieldValue : "";
|
|
16
|
+
return {
|
|
17
|
+
min,
|
|
18
|
+
max,
|
|
19
|
+
...props,
|
|
20
|
+
type: "number",
|
|
21
|
+
value,
|
|
22
|
+
onChange: (event) => {
|
|
23
|
+
const raw = event.target.value.trim();
|
|
24
|
+
if (raw === "") {
|
|
25
|
+
field.onInput(void 0).catch(() => {});
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const normalized = raw.includes(".") ? raw : raw.replace(",", ".");
|
|
29
|
+
const nextValue = Number(normalized);
|
|
30
|
+
if (!Number.isNaN(nextValue)) field.onInput(nextValue).catch(() => {});
|
|
31
|
+
else field.onInput(raw).catch(() => {});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.mapNumberInputProps = mapNumberInputProps;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { useFieldSchema } from "@formily/react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/number/number-input-map-props.ts
|
|
4
|
+
/**
|
|
5
|
+
* Mapper function for NumberInput props
|
|
6
|
+
*/
|
|
7
|
+
function mapNumberInputProps(props, inputField) {
|
|
8
|
+
const field = inputField;
|
|
9
|
+
const schema = useFieldSchema();
|
|
10
|
+
const min = schema?.minimum;
|
|
11
|
+
const max = schema?.maximum;
|
|
12
|
+
const fieldValue = field.value;
|
|
13
|
+
const value = typeof fieldValue === "number" || typeof fieldValue === "string" ? fieldValue : "";
|
|
14
|
+
return {
|
|
15
|
+
min,
|
|
16
|
+
max,
|
|
17
|
+
...props,
|
|
18
|
+
type: "number",
|
|
19
|
+
value,
|
|
20
|
+
onChange: (event) => {
|
|
21
|
+
const raw = event.target.value.trim();
|
|
22
|
+
if (raw === "") {
|
|
23
|
+
field.onInput(void 0).catch(() => {});
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const normalized = raw.includes(".") ? raw : raw.replace(",", ".");
|
|
27
|
+
const nextValue = Number(normalized);
|
|
28
|
+
if (!Number.isNaN(nextValue)) field.onInput(nextValue).catch(() => {});
|
|
29
|
+
else field.onInput(raw).catch(() => {});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { mapNumberInputProps };
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_number_input_map_props = require('./number-input-map-props.cjs');
|
|
2
3
|
let __formily_react = require("@formily/react");
|
|
3
4
|
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
4
5
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
5
6
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
6
7
|
|
|
7
|
-
//#region src/components/number-input.tsx
|
|
8
|
+
//#region src/components/number/number-input.tsx
|
|
8
9
|
/**
|
|
9
10
|
* Formily-connected Number Input component
|
|
10
11
|
*/
|
|
11
|
-
const NumberInput = (0, __formily_react.connect)(__pixpilot_shadcn.Input, (0, __formily_react.mapProps)(
|
|
12
|
-
return {
|
|
13
|
-
...props,
|
|
14
|
-
type: "number"
|
|
15
|
-
};
|
|
16
|
-
}));
|
|
12
|
+
const NumberInput = (0, __formily_react.connect)(__pixpilot_shadcn.Input, (0, __formily_react.mapProps)(require_number_input_map_props.mapNumberInputProps));
|
|
17
13
|
|
|
18
14
|
//#endregion
|
|
19
15
|
exports.NumberInput = NumberInput;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react24 from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/number/number-input.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Formily-connected Number Input component
|
|
6
|
+
*/
|
|
7
|
+
declare const NumberInput: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLInputElement> & react24.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react24.RefAttributes<unknown>>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NumberInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react1447 from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/number/number-input.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Formily-connected Number Input component
|
|
6
|
+
*/
|
|
7
|
+
declare const NumberInput: react1447.ForwardRefExoticComponent<Omit<Partial<react1447.ClassAttributes<HTMLInputElement> & react1447.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react1447.RefAttributes<unknown>>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NumberInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { mapNumberInputProps } from "./number-input-map-props.js";
|
|
2
|
+
import { connect, mapProps } from "@formily/react";
|
|
3
|
+
import { Input } from "@pixpilot/shadcn";
|
|
4
|
+
|
|
5
|
+
//#region src/components/number/number-input.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Formily-connected Number Input component
|
|
8
|
+
*/
|
|
9
|
+
const NumberInput = connect(Input, mapProps(mapNumberInputProps));
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { NumberInput };
|
|
@@ -46,9 +46,10 @@ const ObjectContainer = ({ className, children, label, description,...rest }) =>
|
|
|
46
46
|
const { classes } = objectContainer || {};
|
|
47
47
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Card, {
|
|
48
48
|
...rest,
|
|
49
|
-
slot: "form-object-
|
|
49
|
+
slot: "form-object-card",
|
|
50
50
|
className: (0, __pixpilot_shadcn.cn)("form-object-container", "bg-transparent", gapClass, cardPaddingClass, className, classes?.card),
|
|
51
51
|
children: [(effectiveLabel != null || desc != null) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.CardHeader, {
|
|
52
|
+
slot: "form-object-card",
|
|
52
53
|
className: (0, __pixpilot_shadcn.cn)(headerGapClass, classes?.header),
|
|
53
54
|
children: [effectiveLabel != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CardTitle, {
|
|
54
55
|
className: classes?.title,
|
|
@@ -43,9 +43,10 @@ const ObjectContainer = ({ className, children, label, description,...rest }) =>
|
|
|
43
43
|
const { classes } = objectContainer || {};
|
|
44
44
|
return /* @__PURE__ */ jsxs(Card, {
|
|
45
45
|
...rest,
|
|
46
|
-
slot: "form-object-
|
|
46
|
+
slot: "form-object-card",
|
|
47
47
|
className: cn("form-object-container", "bg-transparent", gapClass, cardPaddingClass, className, classes?.card),
|
|
48
48
|
children: [(effectiveLabel != null || desc != null) && /* @__PURE__ */ jsxs(CardHeader, {
|
|
49
|
+
slot: "form-object-card",
|
|
49
50
|
className: cn(headerGapClass, classes?.header),
|
|
50
51
|
children: [effectiveLabel != null && /* @__PURE__ */ jsx(CardTitle, {
|
|
51
52
|
className: classes?.title,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
import { RadioGroup } from "@pixpilot/shadcn";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio.d.ts
|
|
@@ -15,7 +15,7 @@ type RadioProps = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Radio component with options rendering
|
|
17
17
|
*/
|
|
18
|
-
declare function Radio(props: RadioProps):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime3.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { RadioGroup } from "@pixpilot/shadcn";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio.d.ts
|
|
@@ -15,7 +15,7 @@ type RadioProps = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Radio component with options rendering
|
|
17
17
|
*/
|
|
18
|
-
declare function Radio(props: RadioProps):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime0.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/row.d.ts
|
|
5
5
|
interface IRowProps {
|
|
@@ -36,6 +36,6 @@ interface IRowProps {
|
|
|
36
36
|
declare function Row({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IRowProps):
|
|
39
|
+
}: IRowProps): react_jsx_runtime2.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
|
@@ -18,7 +18,8 @@ require('../array-dialog/index.cjs');
|
|
|
18
18
|
const require_array_popover = require('../array-popover/array-popover.cjs');
|
|
19
19
|
require('../array-popover/index.cjs');
|
|
20
20
|
const require_hidden = require('../hidden.cjs');
|
|
21
|
-
const require_number_input = require('../number-input.cjs');
|
|
21
|
+
const require_number_input = require('../number/number-input.cjs');
|
|
22
|
+
require('../number/index.cjs');
|
|
22
23
|
const require_object_container = require('../object-container.cjs');
|
|
23
24
|
const require_radio = require('../radio.cjs');
|
|
24
25
|
const require_row = require('../row.cjs');
|