Skip to content

Conversation

@Gerrit0
Copy link
Collaborator

@Gerrit0 Gerrit0 commented Feb 22, 2025

No description provided.

phoneticallySAARTHaK and others added 30 commits January 19, 2025 00:23
- Add top margin to `.tsd-breadcrumb` in mobile screen - Remove top margin from `.tsd-navigation.settings` - Remove top padding from `.col-sidebar` on single sidebar - Remove margin for `.site-menu` on larger screens
- Move selectors (`#tsd-toolbar-links`, tag selectors) to a relevant place. - Remove classes (`.table-cell`, `.no-caption`, `.tsd-toolbar-icon`), and merge their styles to other common classes.
…cript - **theme_search_index_not_available** - **theme_search_no_results** - theme_search_placeholder - **theme_search_no_recent_searches**
- Use HTML dialog element as popup - Use ARIA-spec compliant "combobox with list autocomplete" pattern for search - Add entry animations - Comment out affected dead code for keyboard event listeners
- store recent searches (that were clicked) in localStorage, with `tsd-search-recent` key - Omit `matchData` property in `res`'s type to make it compatible with recent searches stored in localStorage. - This implementation prevents broken links, but refs might change, changing the suggestions
This reverts commit 1beacfa, and the new i18n strings added in 3548d14.
- fix typo (requierd -> required) - Remove unnecessary try-catch - Add falsy check for document.getElementById argument to avoid console warning in firefox
All children of a listbox must be options, showing error message in an li tag without role=option was invalid. An alternative approach is to use another element with aria-live=polite attribute, to announce the results to the user. However, consecutive queries with no results wouldn't be announced (because the message would be the same), so add search query as part of the message to make it dynamic - Add a new element with aria-live and aria-atomic attributes for a helpful message - Remove unnecessary attribute selector for search results. - Add styles height/margin styles for non-empty elements only. - Add maxLength to input
- Add background-active and contrast-text css properties - update text-aside, menu-item-active color in light theme - break light and dark colors in separate selectors to make them easier to work with "contrast-text" slightly improves contrast. though, not enough to pass WCAG level AAA
The router implementation used by TypeDoc now indicates that in a 22.5 second run rendering all of `@types/node`, 65ms is spent getting URLs. The extra complexity in attempting to cache the result of this frankly isn't worth it. HTML rendering took 16.8 seconds, of which 13.6 seconds was just doing syntax highlighting. Shiki is the most obvious place to spend time investigating performance improvements at this point.
phoneticallySAARTHaK and others added 29 commits February 18, 2025 00:50
Update Chinese translations for beta
It will now behave correctly if a custom theme overrides `getReflectionClasses` to include additional non-filter classes.
Implement Search as ARIA spec compliant* dialog and combobox pattern
This is specific to variable-functions, and is a balance between having comments supported on function declarations and comments preferring the signature to be more consistent with how regular function declarations work. Resolves #2824
No API changes in this release, so just add it to the list of permitted versions.
This is necessary as we flip a flag in the TS source when compiling for release.
@Gerrit0 Gerrit0 closed this Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants