@seeqdev/qomponents 0.0.207 → 0.0.208
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 +34 -17
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -14587,9 +14587,8 @@ const CSS_TRANSITION_DURATION = process.env.NODE_ENV === 'test' ? 0 : 300; // Di
|
|
|
14587
14587
|
const Dialog = Root$4;
|
|
14588
14588
|
const DialogPortal = Portal$1;
|
|
14589
14589
|
const DialogClose = Close;
|
|
14590
|
-
const DialogContent = React__default.forwardRef(({ className = '', 'aria-describedby': ariaDescribedBy, children, ...props }, ref) => (
|
|
14591
|
-
tw:
|
|
14592
|
-
tw:shadow-lg tw:rounded-lg ${className}`, ...props, children: [jsx$1(DialogTitle$1, { className: "tw:hidden" }), children] })] })));
|
|
14590
|
+
const DialogContent = React__default.forwardRef(({ className = '', 'aria-describedby': ariaDescribedBy, children, ...props }, ref) => (jsx$1(DialogPortal, { children: jsx$1("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: 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}
|
|
14591
|
+
tw:rounded-lg tw:w-full tw:pointer-events-auto tw:relative tw:z-[1] ${className}`, ...props, children: [jsx$1(DialogTitle$1, { className: "tw:hidden" }), children] }) }) })));
|
|
14593
14592
|
DialogContent.displayName = Content$2.displayName;
|
|
14594
14593
|
const DialogHeader = (props) => (jsx$1("div", { className: "tw:w-full tw:justify-between", children: jsx$1("div", { ...props }) }));
|
|
14595
14594
|
DialogHeader.displayName = 'DialogHeader';
|