41 lines
1.3 KiB
JavaScript
41 lines
1.3 KiB
JavaScript
'use client';
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
dialogBodyClassNames: function() {
|
|
return dialogBodyClassNames;
|
|
},
|
|
useDialogBodyStyles_unstable: function() {
|
|
return useDialogBodyStyles_unstable;
|
|
}
|
|
});
|
|
const _react = require("@griffel/react");
|
|
const dialogBodyClassNames = {
|
|
root: 'fui-DialogBody'
|
|
};
|
|
/**
|
|
* Styles for the root slot
|
|
*/ const useResetStyles = /*#__PURE__*/ (0, _react.__resetStyles)("rhwx3p8", null, {
|
|
r: [
|
|
".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"
|
|
],
|
|
s: [
|
|
"@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}",
|
|
"@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"
|
|
]
|
|
});
|
|
const useDialogBodyStyles_unstable = (state)=>{
|
|
'use no memo';
|
|
const resetStyles = useResetStyles();
|
|
state.root.className = (0, _react.mergeClasses)(dialogBodyClassNames.root, resetStyles, state.root.className);
|
|
return state;
|
|
};
|