-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
[docs] Bump @docsearch/react to ^4.7.0 #48886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
930803b
ea185e8
e59eea9
7d8db32
e745a4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -221,7 +221,7 @@ export interface AppSearchProps { | |
|
|
||
| export function AppSearch(props: AppSearchProps) { | ||
| useLazyCSS( | ||
| 'https://cdn.jsdelivr.net/npm/@docsearch/css@4.6.3/dist/style.min.css', | ||
| 'https://cdn.jsdelivr.net/npm/@docsearch/css@4.7.0/dist/style.min.css', | ||
| '#app-search', | ||
| { layer: 'docsearch' }, | ||
| ); | ||
|
|
@@ -444,6 +444,7 @@ export function AppSearch(props: AppSearchProps) { | |
| '--docsearch-searchbox-focus-background': 'unset', | ||
| '--docsearch-footer-background': 'unset', | ||
| '--docsearch-modal-background': (theme.vars || theme).palette.background.paper, | ||
| '--docsearch-hit-height': '52px', | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Slightly tighter rows than the 56px default. Set through the variable rather than a height on |
||
| // Height left for the scrollable area between the search bar and the footer. v4 | ||
| // dropped the search box from its own budget, which makes the modal overshoot | ||
| // --docsearch-modal-height; subtract it again so the modal stays 600px. | ||
|
|
@@ -612,11 +613,6 @@ export function AppSearch(props: AppSearchProps) { | |
| marginTop: theme.spacing(1), | ||
| }, | ||
| }, | ||
| // The no-results title inherits a too-small line-height, so its long query text | ||
| // overlaps instead of wrapping; restore a readable line-height (matches prod). | ||
| '& .DocSearch-NoResults .DocSearch-Title': { | ||
| lineHeight: 1.5, | ||
| }, | ||
| // The v4 screen icon (no-results / empty state) hardcodes an inline stroke="#5a5e9a" | ||
| // that no variable can reach; recolor it to the MUI muted grey. | ||
| '& .DocSearch-Screen-Icon svg': { | ||
|
|
@@ -646,9 +642,6 @@ export function AppSearch(props: AppSearchProps) { | |
| '&:not(:first-of-type)': { | ||
| marginTop: -1, | ||
| }, | ||
| '& .DocSearch-Hit-Container': { | ||
| height: '52px', | ||
| }, | ||
| }, | ||
| '& .DocSearch-Hit a': { | ||
| padding: theme.spacing(0.25, 0), | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.