@pixpilot/formily-shadcn 0.30.0 → 0.30.2

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 (44) hide show
  1. package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
  2. package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
  3. package/dist/components/file-upload/file-upload.d.cts +8 -8
  4. package/dist/components/file-upload/file-upload.d.ts +8 -8
  5. package/dist/components/form-item/connected-form-item.d.cts +4 -4
  6. package/dist/components/form-item/connected-form-item.d.ts +4 -4
  7. package/dist/components/icon-picker.d.cts +3 -3
  8. package/dist/components/icon-toggle.cjs +22 -0
  9. package/dist/components/icon-toggle.d.cts +11 -0
  10. package/dist/components/icon-toggle.d.ts +11 -0
  11. package/dist/components/icon-toggle.js +19 -0
  12. package/dist/components/input.d.cts +3 -3
  13. package/dist/components/input.d.ts +3 -3
  14. package/dist/components/number/number-input.d.cts +3 -3
  15. package/dist/components/number/number-input.d.ts +3 -3
  16. package/dist/components/object-container.cjs +1 -1
  17. package/dist/components/object-container.js +1 -1
  18. package/dist/components/schema-field/schema-field-basics.cjs +5 -0
  19. package/dist/components/schema-field/schema-field-basics.d.cts +256 -242
  20. package/dist/components/schema-field/schema-field-basics.d.ts +256 -242
  21. package/dist/components/schema-field/schema-field-basics.js +5 -0
  22. package/dist/components/schema-field/schema-field-extended.d.cts +553 -539
  23. package/dist/components/schema-field/schema-field-extended.d.ts +553 -539
  24. package/dist/components/schema-field/schema-field.d.cts +333 -319
  25. package/dist/components/schema-field/schema-field.d.ts +333 -319
  26. package/dist/components/separator.d.cts +2 -2
  27. package/dist/components/separator.d.ts +2 -2
  28. package/dist/components/slider/slider-input.d.cts +3 -3
  29. package/dist/components/slider/slider-input.d.ts +3 -3
  30. package/dist/components/slider/slider-select.d.cts +3 -3
  31. package/dist/components/slider/slider-select.d.ts +3 -3
  32. package/dist/components/slider/slider.d.cts +3 -3
  33. package/dist/components/slider/slider.d.ts +3 -3
  34. package/dist/components/switch.d.cts +2 -2
  35. package/dist/components/switch.d.ts +2 -2
  36. package/dist/components/tags-input-inline.d.cts +2 -2
  37. package/dist/components/tags-input-inline.d.ts +2 -2
  38. package/dist/components/textarea.d.cts +2 -2
  39. package/dist/components/textarea.d.ts +2 -2
  40. package/dist/index.cjs +2 -0
  41. package/dist/index.d.cts +2 -1
  42. package/dist/index.d.ts +2 -1
  43. package/dist/index.js +2 -1
  44. package/package.json +4 -4
@@ -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_ui1 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_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 FileUploadInline: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
10
+ declare const FileUploadInline: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui1.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_ui1.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui1.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui1.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_ui1.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui1.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUploadInline };
@@ -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_ui1 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_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 FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
10
+ declare const FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui1.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_ui1.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui1.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui1.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_ui1.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui1.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui1.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_ui8 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui9 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_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 FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
10
+ declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui9.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_ui9.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui9.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui9.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_ui9.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui9.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui9.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_ui8 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui9 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_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 FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
10
+ declare const FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui9.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_ui9.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui9.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui9.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_ui9.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui9.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUpload$1 as FileUpload };
@@ -1,13 +1,13 @@
1
1
  import { FormItemProps } from "./form-item-types.cjs";
2
- import * as react1521 from "react";
2
+ import * as react1623 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: react1521.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
10
- children?: react1521.ReactNode | undefined;
11
- }>, "ref"> & react1521.RefAttributes<unknown>>;
9
+ declare const FormItem: react1623.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
10
+ children?: react1623.ReactNode | undefined;
11
+ }>, "ref"> & react1623.RefAttributes<unknown>>;
12
12
  //#endregion
13
13
  export { FormItem };
@@ -1,13 +1,13 @@
1
1
  import { FormItemProps } from "./form-item-types.js";
2
- import * as react1521 from "react";
2
+ import * as react1623 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: react1521.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
10
- children?: react1521.ReactNode | undefined;
11
- }>, "ref"> & react1521.RefAttributes<unknown>>;
9
+ declare const FormItem: react1623.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
10
+ children?: react1623.ReactNode | undefined;
11
+ }>, "ref"> & react1623.RefAttributes<unknown>>;
12
12
  //#endregion
13
13
  export { FormItem };
@@ -1,4 +1,4 @@
1
- import * as react8 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: react8.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
11
+ declare const IconPicker: react4.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
12
12
  providers?: IconProviderProps[];
13
- }> & react8.RefAttributes<unknown>>;
13
+ }> & react4.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { IconPicker };
@@ -0,0 +1,22 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_formily_decorator = require('../utils/formily-decorator.cjs');
3
+ let __formily_react = require("@formily/react");
4
+ __formily_react = require_rolldown_runtime.__toESM(__formily_react);
5
+ let __pixpilot_shadcn_ui = require("@pixpilot/shadcn-ui");
6
+ __pixpilot_shadcn_ui = require_rolldown_runtime.__toESM(__pixpilot_shadcn_ui);
7
+
8
+ //#region src/components/icon-toggle.tsx
9
+ /**
10
+ * Formily-connected IconToggle component
11
+ * Toggle button with customizable icons for boolean values
12
+ */
13
+ const IconToggle = (0, __formily_react.connect)(__pixpilot_shadcn_ui.IconToggle, (0, __formily_react.mapProps)({
14
+ value: "checked",
15
+ onInput: "onCheckedChange"
16
+ }, (props, field) => {
17
+ require_formily_decorator.setCheckboxDefaultDecoratorProps(field);
18
+ return props;
19
+ }));
20
+
21
+ //#endregion
22
+ exports.IconToggle = IconToggle;
@@ -0,0 +1,11 @@
1
+ import * as react6 from "react";
2
+ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
+
4
+ //#region src/components/icon-toggle.d.ts
5
+ /**
6
+ * Formily-connected IconToggle component
7
+ * Toggle button with customizable icons for boolean values
8
+ */
9
+ declare const IconToggle: react6.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react6.RefAttributes<HTMLButtonElement>>, "ref"> & react6.RefAttributes<unknown>>;
10
+ //#endregion
11
+ export { IconToggle };
@@ -0,0 +1,11 @@
1
+ import * as react6 from "react";
2
+ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
+
4
+ //#region src/components/icon-toggle.d.ts
5
+ /**
6
+ * Formily-connected IconToggle component
7
+ * Toggle button with customizable icons for boolean values
8
+ */
9
+ declare const IconToggle$1: react6.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react6.RefAttributes<HTMLButtonElement>>, "ref"> & react6.RefAttributes<unknown>>;
10
+ //#endregion
11
+ export { IconToggle$1 as IconToggle };
@@ -0,0 +1,19 @@
1
+ import { setCheckboxDefaultDecoratorProps } from "../utils/formily-decorator.js";
2
+ import { connect, mapProps } from "@formily/react";
3
+ import { IconToggle } from "@pixpilot/shadcn-ui";
4
+
5
+ //#region src/components/icon-toggle.tsx
6
+ /**
7
+ * Formily-connected IconToggle component
8
+ * Toggle button with customizable icons for boolean values
9
+ */
10
+ const IconToggle$1 = connect(IconToggle, mapProps({
11
+ value: "checked",
12
+ onInput: "onCheckedChange"
13
+ }, (props, field) => {
14
+ setCheckboxDefaultDecoratorProps(field);
15
+ return props;
16
+ }));
17
+
18
+ //#endregion
19
+ export { IconToggle$1 as IconToggle };
@@ -1,4 +1,4 @@
1
- import * as react4 from "react";
1
+ import * as react9 from "react";
2
2
 
3
3
  //#region src/components/input.d.ts
4
4
 
@@ -6,12 +6,12 @@ import * as react4 from "react";
6
6
  * Formily-connected Input component
7
7
  * Automatically connects shadcn Input to Formily field state
8
8
  */
9
- declare const Input: react4.ForwardRefExoticComponent<Omit<Partial<react4.ClassAttributes<HTMLInputElement> & react4.InputHTMLAttributes<HTMLInputElement> & {
9
+ declare const Input: react9.ForwardRefExoticComponent<Omit<Partial<react9.ClassAttributes<HTMLInputElement> & react9.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"> & react4.RefAttributes<unknown>>;
15
+ }>, "ref"> & react9.RefAttributes<unknown>>;
16
16
  //#endregion
17
17
  export { Input };
@@ -1,4 +1,4 @@
1
- import * as react6 from "react";
1
+ import * as react9 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: react6.ForwardRefExoticComponent<Omit<Partial<react6.ClassAttributes<HTMLInputElement> & react6.InputHTMLAttributes<HTMLInputElement> & {
9
+ declare const Input: react9.ForwardRefExoticComponent<Omit<Partial<react9.ClassAttributes<HTMLInputElement> & react9.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"> & react6.RefAttributes<unknown>>;
15
+ }>, "ref"> & react9.RefAttributes<unknown>>;
16
16
  //#endregion
17
17
  export { Input };
@@ -1,15 +1,15 @@
1
- import * as react24 from "react";
1
+ import * as react27 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: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLInputElement> & react24.InputHTMLAttributes<HTMLInputElement> & {
7
+ declare const NumberInput: react27.ForwardRefExoticComponent<Omit<Partial<react27.ClassAttributes<HTMLInputElement> & react27.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"> & react24.RefAttributes<unknown>>;
13
+ }>, "ref"> & react27.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { NumberInput };
@@ -1,15 +1,15 @@
1
- import * as react24 from "react";
1
+ import * as react27 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: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLInputElement> & react24.InputHTMLAttributes<HTMLInputElement> & {
7
+ declare const NumberInput: react27.ForwardRefExoticComponent<Omit<Partial<react27.ClassAttributes<HTMLInputElement> & react27.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"> & react24.RefAttributes<unknown>>;
13
+ }>, "ref"> & react27.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { NumberInput };
@@ -73,7 +73,7 @@ const ObjectContainer = ({ className, children, label, description, variant = "g
73
73
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Card, {
74
74
  ...mergedCardProps,
75
75
  ...rest,
76
- className: (0, __pixpilot_shadcn.cn)("form-object-card", "bg-transparent", gapClass, cardPaddingClass, isFlat && "border-0 shadow-none !py-0", className, mergedCardProps.className),
76
+ className: (0, __pixpilot_shadcn.cn)("relative", "form-object-card", "bg-transparent", gapClass, cardPaddingClass, isFlat && "border-0 shadow-none !py-0", className, mergedCardProps.className),
77
77
  children: [(effectiveLabel != null || desc != null) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.CardHeader, {
78
78
  ...mergedHeaderProps,
79
79
  className: (0, __pixpilot_shadcn.cn)("form-object-header", headerGapClass, mergedHeaderProps.className, isFlat && "px-0"),
@@ -70,7 +70,7 @@ const ObjectContainer = ({ className, children, label, description, variant = "g
70
70
  return /* @__PURE__ */ jsxs(Card, {
71
71
  ...mergedCardProps,
72
72
  ...rest,
73
- className: cn("form-object-card", "bg-transparent", gapClass, cardPaddingClass, isFlat && "border-0 shadow-none !py-0", className, mergedCardProps.className),
73
+ className: cn("relative", "form-object-card", "bg-transparent", gapClass, cardPaddingClass, isFlat && "border-0 shadow-none !py-0", className, mergedCardProps.className),
74
74
  children: [(effectiveLabel != null || desc != null) && /* @__PURE__ */ jsxs(CardHeader, {
75
75
  ...mergedHeaderProps,
76
76
  className: cn("form-object-header", headerGapClass, mergedHeaderProps.className, isFlat && "px-0"),
@@ -10,6 +10,7 @@ const require_date_picker = require('../date-picker.cjs');
10
10
  const require_form_grid = require('../form-grid.cjs');
11
11
  const require_connected_form_item = require('../form-item/connected-form-item.cjs');
12
12
  require('../form-item/index.cjs');
13
+ const require_icon_toggle = require('../icon-toggle.cjs');
13
14
  const require_input = require('../input.cjs');
14
15
  const require_extract_components = require('../../utils/extract-components.cjs');
15
16
  const require_use_form_schema = require('../../hooks/use-form-schema.cjs');
@@ -62,6 +63,10 @@ const basicComponentRegistry = {
62
63
  FormGrid: { component: require_form_grid.FormGrid },
63
64
  FormItem: { component: require_connected_form_item.FormItem },
64
65
  Hidden: { component: require_hidden.Hidden },
66
+ IconToggle: {
67
+ component: require_icon_toggle.IconToggle,
68
+ decorator: "FormItem"
69
+ },
65
70
  Input: {
66
71
  component: require_input.Input,
67
72
  decorator: "FormItem"