add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

13
node_modules/rc-drawer/es/util.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import warning from "rc-util/es/warning";
import canUseDom from "rc-util/es/Dom/canUseDom";
export function parseWidthHeight(value) {
if (typeof value === 'string' && String(Number(value)) === value) {
warning(false, 'Invalid value type of `width` or `height` which should be number type instead.');
return Number(value);
}
return value;
}
export function warnCheck(props) {
warning(!('wrapperClassName' in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead.");
warning(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.");
}