@seeqdev/qomponents 0.0.207 → 0.0.209

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.js CHANGED
@@ -14607,9 +14607,8 @@ const CSS_TRANSITION_DURATION = process.env.NODE_ENV === 'test' ? 0 : 300; // Di
14607
14607
  const Dialog = Root$4;
14608
14608
  const DialogPortal = Portal$1;
14609
14609
  const DialogClose = Close;
14610
- const DialogContent = React.forwardRef(({ className = '', 'aria-describedby': ariaDescribedBy, children, ...props }, ref) => (jsxRuntime.jsxs(DialogPortal, { children: [jsxRuntime.jsx("div", { className: "tw:select-none tw:fixed tw:w-full tw:h-full tw:opacity-50 tw:inset-0 tw:z-[1009] tw:bg-sq-dark-background\n tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0\n tw:data-[state=open]:fade-in-0" }), jsxRuntime.jsxs(Content$2, { ref: ref, "aria-describedby": ariaDescribedBy, className: `tw:fixed tw:left-[50%] tw:top-0 tw:my-6 tw:translate-x-[-50%] tw:z-[1010] tw:grid
14611
- tw:gap-4 tw:border tw:bg-sq-white tw:dark:bg-sq-dark-background tw:duration-${CSS_TRANSITION_DURATION}
14612
- tw:shadow-lg tw:rounded-lg ${className}`, ...props, children: [jsxRuntime.jsx(DialogTitle$1, { className: "tw:hidden" }), children] })] })));
14610
+ const DialogContent = React.forwardRef(({ className = '', 'aria-describedby': ariaDescribedBy, children, ...props }, ref) => (jsxRuntime.jsx(DialogPortal, { children: jsxRuntime.jsx("div", { className: "tw:fixed tw:inset-0 tw:z-[1010] tw:flex tw:justify-center tw:items-start tw:overflow-y-auto tw:px-4 tw:py-6\n tw:pointer-events-none tw:before:content-[''] tw:before:absolute tw:before:inset-0 tw:before:bg-sq-dark-background\n tw:before:opacity-50 tw:before:select-none", children: jsxRuntime.jsxs(Content$2, { ref: ref, "aria-describedby": ariaDescribedBy, className: `tw:grid tw:gap-4 tw:border tw:bg-sq-white tw:dark:bg-sq-dark-background tw:shadow-lg tw:duration-${CSS_TRANSITION_DURATION}
14611
+ tw:rounded-lg tw:w-full tw:pointer-events-auto tw:relative tw:z-[1] ${className}`, ...props, children: [jsxRuntime.jsx(DialogTitle$1, { className: "tw:hidden" }), children] }) }) })));
14613
14612
  DialogContent.displayName = Content$2.displayName;
14614
14613
  const DialogHeader = (props) => (jsxRuntime.jsx("div", { className: "tw:w-full tw:justify-between", children: jsxRuntime.jsx("div", { ...props }) }));
14615
14614
  DialogHeader.displayName = 'DialogHeader';