@pixpilot/formily-shadcn 2.0.4 → 2.1.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-dialog/EditDialog.cjs +1 -1
- package/dist/components/array-dialog/EditDialog.js +2 -2
- package/dist/components/array-drawer/EditDrawer.cjs +1 -1
- package/dist/components/array-drawer/EditDrawer.js +2 -2
- package/dist/components/array-popover/Popover.cjs +1 -1
- package/dist/components/array-popover/Popover.js +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +3 -3
- package/dist/components/dialog-item/BaseDialogItem.cjs +1 -2
- package/dist/components/dialog-item/BaseDialogItem.js +1 -2
- package/dist/components/dialog-item/ConnectedDialogItem.d.ts +4 -4
- package/dist/components/drawer-item/BaseDrawerItem.cjs +1 -2
- package/dist/components/drawer-item/BaseDrawerItem.js +1 -2
- package/dist/components/drawer-item/ConnectedDrawerItem.d.cts +4 -4
- package/dist/components/drawer-item/ConnectedDrawerItem.d.ts +4 -4
- package/dist/components/form-grid/FormGrid.d.cts +2 -2
- package/dist/components/popover-item/BasePopoverItem.cjs +3 -2
- package/dist/components/popover-item/BasePopoverItem.js +8 -8
- package/dist/components/popover-item/ConnectedPopoverItem.d.cts +4 -4
- package/dist/components/popover-item/ConnectedPopoverItem.d.ts +4 -4
- package/dist/components/row/Row.d.cts +2 -2
- package/dist/components/schema-field/schema-field-basics.d.cts +379 -379
- package/dist/components/schema-field/schema-field-basics.d.ts +364 -364
- package/dist/components/schema-field/schema-field-extended.d.cts +534 -534
- package/dist/components/schema-field/schema-field-extended.d.ts +507 -507
- package/dist/components/schema-field/schema-field.d.cts +468 -468
- package/dist/components/schema-field/schema-field.d.ts +452 -452
- package/dist/{components/array-common → shadcn-ui/src/shake-styles}/ShakeStyles.cjs +2 -2
- package/dist/{components/array-common → shadcn-ui/src/shake-styles}/ShakeStyles.js +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_use_form_context = require('../../hooks/use-form-context.cjs');
|
|
3
3
|
const require_ArrayItemDraftFields = require('../array-common/ArrayItemDraftFields.cjs');
|
|
4
|
-
const require_ShakeStyles = require('
|
|
4
|
+
const require_ShakeStyles = require('../../shadcn-ui/src/shake-styles/ShakeStyles.cjs');
|
|
5
5
|
const require_use_array_item_edit_state = require('../array-common/use-array-item-edit-state.cjs');
|
|
6
6
|
let __formily_react = require("@formily/react");
|
|
7
7
|
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormContext } from "../../hooks/use-form-context.js";
|
|
2
2
|
import { ArrayItemDraftFields } from "../array-common/ArrayItemDraftFields.js";
|
|
3
|
-
import { ShakeStyles } from "
|
|
3
|
+
import { ShakeStyles as ShakeStyles$1 } from "../../shadcn-ui/src/shake-styles/ShakeStyles.js";
|
|
4
4
|
import { useArrayItemEditState } from "../array-common/use-array-item-edit-state.js";
|
|
5
5
|
import { observer } from "@formily/react";
|
|
6
6
|
import React from "react";
|
|
@@ -84,7 +84,7 @@ const EditDialog = observer(({ schema, onSave, onAutoSave: _onAutoSave, onCancel
|
|
|
84
84
|
validateAndClose();
|
|
85
85
|
},
|
|
86
86
|
children: [
|
|
87
|
-
/* @__PURE__ */ jsx(ShakeStyles, {}),
|
|
87
|
+
/* @__PURE__ */ jsx(ShakeStyles$1, {}),
|
|
88
88
|
/* @__PURE__ */ jsxs(DialogHeader, { children: [/* @__PURE__ */ jsx(DialogTitle, { children: title }), /* @__PURE__ */ jsx(DialogDescription, { children: description })] }),
|
|
89
89
|
itemIndex != null && /* @__PURE__ */ jsx(ArrayItemDraftFields, {
|
|
90
90
|
as: DialogBody,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_use_form_context = require('../../hooks/use-form-context.cjs');
|
|
3
3
|
const require_ArrayItemDraftFields = require('../array-common/ArrayItemDraftFields.cjs');
|
|
4
|
-
const require_ShakeStyles = require('
|
|
4
|
+
const require_ShakeStyles = require('../../shadcn-ui/src/shake-styles/ShakeStyles.cjs');
|
|
5
5
|
const require_use_array_item_edit_state = require('../array-common/use-array-item-edit-state.cjs');
|
|
6
6
|
let __formily_react = require("@formily/react");
|
|
7
7
|
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormContext } from "../../hooks/use-form-context.js";
|
|
2
2
|
import { ArrayItemDraftFields } from "../array-common/ArrayItemDraftFields.js";
|
|
3
|
-
import { ShakeStyles } from "
|
|
3
|
+
import { ShakeStyles as ShakeStyles$1 } from "../../shadcn-ui/src/shake-styles/ShakeStyles.js";
|
|
4
4
|
import { useArrayItemEditState } from "../array-common/use-array-item-edit-state.js";
|
|
5
5
|
import { observer } from "@formily/react";
|
|
6
6
|
import React from "react";
|
|
@@ -85,7 +85,7 @@ const EditDrawer = observer(({ schema, onSave, onAutoSave: _onAutoSave, onCancel
|
|
|
85
85
|
validateAndClose();
|
|
86
86
|
},
|
|
87
87
|
children: [
|
|
88
|
-
/* @__PURE__ */ jsx(ShakeStyles, {}),
|
|
88
|
+
/* @__PURE__ */ jsx(ShakeStyles$1, {}),
|
|
89
89
|
/* @__PURE__ */ jsxs(DrawerHeader, { children: [/* @__PURE__ */ jsx(DrawerTitle, { children: title }), /* @__PURE__ */ jsx(DrawerDescription, { children: description })] }),
|
|
90
90
|
itemIndex != null && /* @__PURE__ */ jsx(ArrayItemDraftFields, {
|
|
91
91
|
as: DrawerBody,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_use_form_context = require('../../hooks/use-form-context.cjs');
|
|
3
3
|
const require_ArrayItemDraftFields = require('../array-common/ArrayItemDraftFields.cjs');
|
|
4
|
-
const require_ShakeStyles = require('
|
|
4
|
+
const require_ShakeStyles = require('../../shadcn-ui/src/shake-styles/ShakeStyles.cjs');
|
|
5
5
|
const require_use_array_item_edit_state = require('../array-common/use-array-item-edit-state.cjs');
|
|
6
6
|
let __formily_react = require("@formily/react");
|
|
7
7
|
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useFormContext } from "../../hooks/use-form-context.js";
|
|
2
2
|
import { ArrayItemDraftFields } from "../array-common/ArrayItemDraftFields.js";
|
|
3
|
-
import { ShakeStyles } from "
|
|
3
|
+
import { ShakeStyles } from "../../shadcn-ui/src/shake-styles/ShakeStyles.js";
|
|
4
4
|
import { useArrayItemEditState } from "../array-common/use-array-item-edit-state.js";
|
|
5
5
|
import { observer } from "@formily/react";
|
|
6
6
|
import React from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
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/DatePicker.d.ts
|
|
5
5
|
|
|
6
|
-
declare const DatePicker$1:
|
|
6
|
+
declare const DatePicker$1: react2.ForwardRefExoticComponent<Partial<{
|
|
7
7
|
value?: Date;
|
|
8
8
|
onChange?: (date: Date | undefined) => void;
|
|
9
9
|
placeholder?: string;
|
|
10
|
-
} & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> &
|
|
10
|
+
} & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DatePicker$1 as DatePicker };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_ShakeStyles = require('../array-common/ShakeStyles.cjs');
|
|
3
2
|
const require_BaseFormItem = require('../form-item/BaseFormItem.cjs');
|
|
4
3
|
const require_OverlayFields = require('../overlay-common/OverlayFields.cjs');
|
|
5
4
|
const require_OverlayTrigger = require('../overlay-common/OverlayTrigger.cjs');
|
|
@@ -72,7 +71,7 @@ const BaseDialogItem = ({ children, label, description, trigger: triggerProp, op
|
|
|
72
71
|
requestClose();
|
|
73
72
|
},
|
|
74
73
|
children: [
|
|
75
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
74
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.ShakeStyles, {}),
|
|
76
75
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn_ui.DialogHeader, {
|
|
77
76
|
...slots?.header,
|
|
78
77
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.DialogTitle, {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ShakeStyles } from "../array-common/ShakeStyles.js";
|
|
2
1
|
import { BaseFormItem } from "../form-item/BaseFormItem.js";
|
|
3
2
|
import { OverlayFields } from "../overlay-common/OverlayFields.js";
|
|
4
3
|
import { OverlayTrigger } from "../overlay-common/OverlayTrigger.js";
|
|
5
4
|
import { useOverlay } from "../overlay-common/use-overlay.js";
|
|
6
5
|
import React from "react";
|
|
7
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "@pixpilot/shadcn-ui";
|
|
6
|
+
import { Button, Dialog, DialogBody, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, ShakeStyles } from "@pixpilot/shadcn-ui";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { cn as cn$1 } from "@pixpilot/shadcn";
|
|
10
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogItemProps } from "./BaseDialogItem.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dialog-item/ConnectedDialogItem.d.ts
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ import * as react1577 from "react";
|
|
|
8
8
|
* Maps field label, description, and validation state onto the decorator the
|
|
9
9
|
* same way FormItem does.
|
|
10
10
|
*/
|
|
11
|
-
declare const DialogItem:
|
|
12
|
-
children?:
|
|
13
|
-
}>, "ref"> &
|
|
11
|
+
declare const DialogItem: react0.ForwardRefExoticComponent<Omit<Partial<DialogItemProps & {
|
|
12
|
+
children?: react0.ReactNode | undefined;
|
|
13
|
+
}>, "ref"> & react0.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { DialogItem };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_ShakeStyles = require('../array-common/ShakeStyles.cjs');
|
|
3
2
|
const require_BaseFormItem = require('../form-item/BaseFormItem.cjs');
|
|
4
3
|
const require_OverlayFields = require('../overlay-common/OverlayFields.cjs');
|
|
5
4
|
const require_OverlayTrigger = require('../overlay-common/OverlayTrigger.cjs');
|
|
@@ -73,7 +72,7 @@ const BaseDrawerItem = ({ children, label, description, trigger: triggerProp, op
|
|
|
73
72
|
requestClose();
|
|
74
73
|
},
|
|
75
74
|
children: [
|
|
76
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
75
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.ShakeStyles, {}),
|
|
77
76
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn_ui.DrawerHeader, {
|
|
78
77
|
...slots?.header,
|
|
79
78
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.DrawerTitle, {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ShakeStyles } from "../array-common/ShakeStyles.js";
|
|
2
1
|
import { BaseFormItem } from "../form-item/BaseFormItem.js";
|
|
3
2
|
import { OverlayFields } from "../overlay-common/OverlayFields.js";
|
|
4
3
|
import { OverlayTrigger } from "../overlay-common/OverlayTrigger.js";
|
|
5
4
|
import { useOverlay } from "../overlay-common/use-overlay.js";
|
|
6
5
|
import React from "react";
|
|
7
|
-
import { Button, Drawer, DrawerBody, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger } from "@pixpilot/shadcn-ui";
|
|
6
|
+
import { Button, Drawer, DrawerBody, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, ShakeStyles } from "@pixpilot/shadcn-ui";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { cn as cn$1 } from "@pixpilot/shadcn";
|
|
10
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrawerItemProps } from "./BaseDrawerItem.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react7 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drawer-item/ConnectedDrawerItem.d.ts
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ import * as react0 from "react";
|
|
|
8
8
|
* Maps field label, description, and validation state onto the decorator the
|
|
9
9
|
* same way FormItem does.
|
|
10
10
|
*/
|
|
11
|
-
declare const DrawerItem:
|
|
12
|
-
children?:
|
|
13
|
-
}>, "ref"> &
|
|
11
|
+
declare const DrawerItem: react7.ForwardRefExoticComponent<Omit<Partial<DrawerItemProps & {
|
|
12
|
+
children?: react7.ReactNode | undefined;
|
|
13
|
+
}>, "ref"> & react7.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { DrawerItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrawerItemProps } from "./BaseDrawerItem.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react4 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drawer-item/ConnectedDrawerItem.d.ts
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ import * as react1580 from "react";
|
|
|
8
8
|
* Maps field label, description, and validation state onto the decorator the
|
|
9
9
|
* same way FormItem does.
|
|
10
10
|
*/
|
|
11
|
-
declare const DrawerItem:
|
|
12
|
-
children?:
|
|
13
|
-
}>, "ref"> &
|
|
11
|
+
declare const DrawerItem: react4.ForwardRefExoticComponent<Omit<Partial<DrawerItemProps & {
|
|
12
|
+
children?: react4.ReactNode | undefined;
|
|
13
|
+
}>, "ref"> & react4.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { DrawerItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-grid/FormGrid.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_runtime4.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid, IFormGridProps };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_ShakeStyles = require('../array-common/ShakeStyles.cjs');
|
|
3
2
|
const require_BaseFormItem = require('../form-item/BaseFormItem.cjs');
|
|
4
3
|
const require_OverlayFields = require('../overlay-common/OverlayFields.cjs');
|
|
5
4
|
const require_OverlayTrigger = require('../overlay-common/OverlayTrigger.cjs');
|
|
6
5
|
const require_use_overlay = require('../overlay-common/use-overlay.cjs');
|
|
7
6
|
let react = require("react");
|
|
8
7
|
react = require_rolldown_runtime.__toESM(react);
|
|
8
|
+
let __pixpilot_shadcn_ui = require("@pixpilot/shadcn-ui");
|
|
9
|
+
__pixpilot_shadcn_ui = require_rolldown_runtime.__toESM(__pixpilot_shadcn_ui);
|
|
9
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
11
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
11
12
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
@@ -72,7 +73,7 @@ const BasePopoverItem = ({ children, label, description, trigger: triggerProp, o
|
|
|
72
73
|
requestClose();
|
|
73
74
|
},
|
|
74
75
|
children: [
|
|
75
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
76
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.ShakeStyles, {}),
|
|
76
77
|
hasHeader && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
77
78
|
...slots?.header,
|
|
78
79
|
className: (0, __pixpilot_shadcn.cn)("space-y-1 pb-3", slots?.header?.className),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ShakeStyles } from "../array-common/ShakeStyles.js";
|
|
2
1
|
import { BaseFormItem } from "../form-item/BaseFormItem.js";
|
|
3
2
|
import { OverlayFields } from "../overlay-common/OverlayFields.js";
|
|
4
3
|
import { OverlayTrigger } from "../overlay-common/OverlayTrigger.js";
|
|
5
4
|
import { useOverlay } from "../overlay-common/use-overlay.js";
|
|
6
5
|
import React from "react";
|
|
6
|
+
import { ShakeStyles } from "@pixpilot/shadcn-ui";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { Popover, PopoverContent, PopoverTrigger, cn } from "@pixpilot/shadcn";
|
|
8
|
+
import { Popover, PopoverContent, PopoverTrigger, cn as cn$1 } from "@pixpilot/shadcn";
|
|
9
9
|
|
|
10
10
|
//#region src/components/popover-item/BasePopoverItem.tsx
|
|
11
11
|
/**
|
|
@@ -54,7 +54,7 @@ const BasePopoverItem = ({ children, label, description, trigger: triggerProp, o
|
|
|
54
54
|
/* @__PURE__ */ jsxs(PopoverContent, {
|
|
55
55
|
align: "start",
|
|
56
56
|
...slots?.content,
|
|
57
|
-
className: cn("w-(--radix-popover-trigger-width) min-w-72", shouldShake && "pp-shake", slots?.content?.className),
|
|
57
|
+
className: cn$1("w-(--radix-popover-trigger-width) min-w-72", shouldShake && "pp-shake", slots?.content?.className),
|
|
58
58
|
onInteractOutside: (event) => {
|
|
59
59
|
slots?.content?.onInteractOutside?.(event);
|
|
60
60
|
if (event.defaultPrevented) return;
|
|
@@ -71,22 +71,22 @@ const BasePopoverItem = ({ children, label, description, trigger: triggerProp, o
|
|
|
71
71
|
/* @__PURE__ */ jsx(ShakeStyles, {}),
|
|
72
72
|
hasHeader && /* @__PURE__ */ jsxs("div", {
|
|
73
73
|
...slots?.header,
|
|
74
|
-
className: cn("space-y-1 pb-3", slots?.header?.className),
|
|
74
|
+
className: cn$1("space-y-1 pb-3", slots?.header?.className),
|
|
75
75
|
children: [title != null && /* @__PURE__ */ jsx("h4", {
|
|
76
76
|
...slots?.title,
|
|
77
|
-
className: cn("font-medium leading-none", slots?.title?.className),
|
|
77
|
+
className: cn$1("font-medium leading-none", slots?.title?.className),
|
|
78
78
|
children: title
|
|
79
79
|
}), overlayDescription != null && /* @__PURE__ */ jsx("p", {
|
|
80
80
|
...slots?.description,
|
|
81
|
-
className: cn("text-muted-foreground text-sm", slots?.description?.className),
|
|
81
|
+
className: cn$1("text-muted-foreground text-sm", slots?.description?.className),
|
|
82
82
|
children: overlayDescription
|
|
83
83
|
})]
|
|
84
84
|
}),
|
|
85
85
|
open && /* @__PURE__ */ jsxs("div", {
|
|
86
86
|
...slots?.body,
|
|
87
|
-
className: cn("grid", gapClass, slots?.body?.className),
|
|
87
|
+
className: cn$1("grid", gapClass, slots?.body?.className),
|
|
88
88
|
children: [children, feedbackText != null && feedbackText !== "" && /* @__PURE__ */ jsx("p", {
|
|
89
|
-
className: cn("text-[0.8rem]", feedbackStatus === "error" && "text-destructive font-medium", feedbackStatus === "warning" && "text-amber-600", feedbackStatus === "success" && "text-green-600"),
|
|
89
|
+
className: cn$1("text-[0.8rem]", feedbackStatus === "error" && "text-destructive font-medium", feedbackStatus === "warning" && "text-amber-600", feedbackStatus === "success" && "text-green-600"),
|
|
90
90
|
children: feedbackText
|
|
91
91
|
})]
|
|
92
92
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverItemProps } from "./BasePopoverItem.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover-item/ConnectedPopoverItem.d.ts
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ import * as react7 from "react";
|
|
|
8
8
|
* Maps field label, description, and validation state onto the decorator the
|
|
9
9
|
* same way FormItem does.
|
|
10
10
|
*/
|
|
11
|
-
declare const PopoverItem:
|
|
12
|
-
children?:
|
|
13
|
-
}>, "ref"> &
|
|
11
|
+
declare const PopoverItem: react0.ForwardRefExoticComponent<Omit<Partial<PopoverItemProps & {
|
|
12
|
+
children?: react0.ReactNode | undefined;
|
|
13
|
+
}>, "ref"> & react0.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PopoverItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverItemProps } from "./BasePopoverItem.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react7 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover-item/ConnectedPopoverItem.d.ts
|
|
5
5
|
|
|
@@ -8,8 +8,8 @@ import * as react0 from "react";
|
|
|
8
8
|
* Maps field label, description, and validation state onto the decorator the
|
|
9
9
|
* same way FormItem does.
|
|
10
10
|
*/
|
|
11
|
-
declare const PopoverItem:
|
|
12
|
-
children?:
|
|
13
|
-
}>, "ref"> &
|
|
11
|
+
declare const PopoverItem: react7.ForwardRefExoticComponent<Omit<Partial<PopoverItemProps & {
|
|
12
|
+
children?: react7.ReactNode | undefined;
|
|
13
|
+
}>, "ref"> & react7.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PopoverItem };
|
|
@@ -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/row/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_runtime0.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { IRowProps, Row };
|