mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge intermediate component wrappers into OL-prefixed components (#34996)
* Merge intermediate component wrappers into OL-prefixed components * Replace all intermediate wrapper consumers with OL-prefixed components directly * Fix jsx/js files still importing deleted shim components * Remove duplicate OLNotification imports left by first pass * Rename OLTagIcon to TagIcon, remove OL prefix * Rename OLDropdownMenuItem to DropdownMenuItem, remove OL prefix * Remove OLNotification, use Notification directly * Move Notification to the main shared component folder * Update tag-icon import path out of ol/ * Move TagIcon to the main shared component folder * Update dropdown-menu-item import path out of ol/ * Move DropdownMenuItem to the main shared component folder * Fix dropdown-menu-item import path to dropdown/ subfolder * Remove BS5 alias prefixes from shared components * Restore notification-list wrapper in Notification component * Add translation for loading button * Remove redundant import aliasing * Resolve conflicts * Restore notification container `notification-list` GitOrigin-RevId: 24a5af18599a3e02ac6fd61c09cf5a49ef6e0020
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import classnames from 'classnames'
|
||||
import MaterialIcon from '@/shared/components/material-icon'
|
||||
import { useLayoutContext } from '@/shared/context/layout-context'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { TooltipProps } from '@/shared/components/tooltip'
|
||||
import { OLTooltipProps as TooltipProps } from '@/shared/components/ol/ol-tooltip'
|
||||
import { isMac } from '@/shared/utils/os'
|
||||
import { sendSearchEvent } from '@/features/event-tracking/search-events'
|
||||
|
||||
|
||||
+3
-3
@@ -20,7 +20,7 @@ import { debugConsole } from '@/utils/debugging'
|
||||
import useEventListener from '@/shared/hooks/use-event-listener'
|
||||
import { Col, Form, Row } from 'react-bootstrap'
|
||||
import OLFormControl from '@/shared/components/ol/ol-form-control'
|
||||
import Button from '@/shared/components/button/button'
|
||||
import OLButton from '@/shared/components/ol/ol-button'
|
||||
import Notification from '@/shared/components/notification'
|
||||
import '../../stylesheets/full-project-search.scss'
|
||||
import { userStyles } from '@/shared/utils/styles'
|
||||
@@ -217,9 +217,9 @@ const FullProjectSearchUI: FC = () => {
|
||||
/>
|
||||
</Col>
|
||||
<Col className="col-auto">
|
||||
<Button type="submit" className="btn btn-primary" size="sm">
|
||||
<OLButton type="submit" className="btn btn-primary" size="sm">
|
||||
{t('search')}
|
||||
</Button>
|
||||
</OLButton>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user