@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.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +53 -19
- package/package.json +1 -1
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.
|
|
14611
|
-
tw:
|
|
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';
|