Merge pull request #23305 from overleaf/mf-onboarding-data-collection-bs5

[web] Migrate onboarding collection data page to bootstrap 5

GitOrigin-RevId: ebf91db34ff11313c262bf57ad45e70d30857cd6
This commit is contained in:
M Fahru
2025-02-13 09:05:58 +00:00
committed by Copybot
parent 879aa33cbe
commit b4051e48d3
9 changed files with 223 additions and 7 deletions
@@ -6,6 +6,7 @@ import { bsVersion } from '@/features/utils/bootstrap-5'
import OLFormControl from '@/features/ui/components/ol/ol-form-control'
import { DropdownItem } from '@/features/ui/components/bootstrap-5/dropdown-menu'
import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
import OLFormLabel from '@/features/ui/components/ol/ol-form-label'
type DownshiftInputProps = {
highlightMatches?: boolean
@@ -95,7 +96,7 @@ function Downshift({
>
<div {...getComboboxProps()}>
{/* eslint-disable-next-line jsx-a11y/label-has-for */}
<label
<OLFormLabel
{...getLabelProps()}
className={
showLabel
@@ -104,7 +105,7 @@ function Downshift({
}
>
{label}
</label>
</OLFormLabel>
<OLFormControl
{...getInputProps({
onChange: (event: React.ChangeEvent<HTMLInputElement>) => {