From 1bb39ab733660009de0b6a016755d583c4509754 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 18:28:56 +0000 Subject: [PATCH 1/2] feat: Complete migration from @mui/base to @base-ui-components/react This commit finalizes the migration from `@mui/base` to `@base-ui-components/react`. Key changes include: - Uninstalled `@mui/base` and installed `@base-ui-components/react`. - Migrated existing components (`Input`, `Button`, `MenuItem`) to use alternatives from `@base-ui-components/react` or native HTML elements styled with Tailwind CSS. - `Input` now uses `@base-ui-components/react/input`. - `Button` now uses a native ` + + + + + + Standard Dialog + + + This is a standard dialog component. You can put any content + here, like forms, information, or actions. + + {/* Example of content within dialog */} + +
+ + + + + + +
+
+
+ + + + {/* Field Section */} + + Field + +
+ + + Username + + + + + + This will be your public display name. + + + + + + Email Address + + + + + + Email is required. + + + Please enter a valid email address. + + {/* Generic error for other cases or server-side validation */} + + This email address is already taken. + + +
+ + {/* Form Section */} + + Form + +
+ { + e.preventDefault() + alert('Form submitted! Check console for data.') + const formData = new FormData(e.currentTarget) + console.log(Object.fromEntries(formData.entries())) + }} + // errors={{ email: 'Server validation: This email is blocked.' }} // Example server error + > + + + Full Name + + + + + + Full name is required. + + + + + + Feedback + + + ( +