eai-frontend-components 2.0.26 → 2.0.27
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/index.d.ts +15 -15
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -499,7 +499,7 @@ const DialogOverlay = React__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
499
499
|
DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
|
|
500
500
|
const DialogContent = React__namespace.forwardRef(({ className, children, hideClose, ...props }, ref) => (jsxRuntime.jsxs(DialogPortal, { children: [jsxRuntime.jsx(DialogOverlay, {}), jsxRuntime.jsxs(DialogPrimitive__namespace.Content, { ref: ref, className: cn('fixed left-[50%] top-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg', className), ...props, children: [children, !hideClose && (jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: 'absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground', children: [jsxRuntime.jsx(lucideReact.X, { className: 'h-4 w-4' }), jsxRuntime.jsx("span", { className: 'sr-only', children: "Close" })] }))] })] })));
|
|
501
501
|
DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
|
|
502
|
-
const DialogHeader = ({ className, ...props }) => (jsxRuntime.jsx("div", { className: cn('flex flex-col space-y-1.5
|
|
502
|
+
const DialogHeader = ({ className, ...props }) => (jsxRuntime.jsx("div", { className: cn('flex flex-col space-y-1.5', className), ...props }));
|
|
503
503
|
DialogHeader.displayName = 'DialogHeader';
|
|
504
504
|
const DialogFooter = ({ className, ...props }) => (jsxRuntime.jsx("div", { className: cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className), ...props }));
|
|
505
505
|
DialogFooter.displayName = 'DialogFooter';
|