* Match label with selection
* defaultText is a better default
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* No longer used
* Also no longer used
* No longer used in the dropdown pickers
* Add translation strings for pickers
* Use translated strings in picker components
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Search on submit
* Should be a ul
* Fix broken link
* No search on change event
* Add translation strings
* Add role for the 0 results message
* Update test with new search behavior
* Make search input a controlled component
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Trim whitespace in search text
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Better variable names
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Update visible results count in useEffect
* Control the input's value with the typed state
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Inline the submit handler
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Adjust heading level and only heading with intro text
* Adjust heading level
* Adjust code example and guide card heading levels
* Adjust tests for new heading levels
* Adjust rendering test for new heading levels
* accessibility: make label autofocus on dropdown when clicked
* update to div element
* fix keyboard focus on X more guides and load more guides
* tabIndex is optional
* programmatically group breadcrumbs
* forgot to commit li
'
'
* adding inline-block
* add emphasis color on border to meet accessibility color contrast ratio
* update border for footer buttons to meet accessibility color contrast ratio
* run prettier
* update to use heading markup
* updating to h3 for accessibility
* increase opactiy to meet 5.5:1 color contrast ratio
* update opacity to meet color contrast ratio
* update styling to match original but use heading markup
* remove aria-hidden for accessibility
* add h1 title search results and update scroll tip colors
* add number of matches
* remove no results since we are showing 0 results
* add overflow to fix border bottom on version search
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* incorporating feedback and update padding
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Add new video properties frontmatter
* Handle video links in the middleware
* Video links don't have intros, authors, or full titles
* Make videos available from context
* Add default video heading
* Add basic tests for videos
* tmp videos test
* Remove stray test debugging
* more tmp videos testing
* Add videos test fixture
* Revert "more tmp videos testing"
This reverts commit 382946a5603ff217014797f77f37216bb8bb6c9c.
* Revert "tmp videos test"
This reverts commit 8767d0eaf08bd4ca04e2dacd12d476a2506c0367.
* adding to view
* updating the portal location
* add new line
* updating font styling to class
* Update components/Search.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Update components/Search.module.scss
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* update ItemInput
* using router.replace and import updates
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* run prettier
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* WIP: ActionList ProductArticleList
* remove mb
* Put article count in link
* Full width links
* remove indent
* fixing link space for mini tocs
Co-authored-by: Grace Park <gracepark@github.com>
* Working on tool picker
* Start on react version of tool picker
* Update ToolPicker.tsx
* Update tool-switcher.html
* Get it working
* Update browser.js
* Update browser.js
* Update ToolPicker.tsx
* Initial move to ActionLists nav, handle terminal links
* ActionList-ify map topic items
* Some 🎨
* ActionList-ify homepage sidebar
* More 🎨
* Resolve test failures (and 'better' markup?)
* Properties don't exist on ActionList
* Use ul + li elements for ActionLists
* Workaround for TS error with 'as='
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
* updating images styling on design systems feedback
* maintaining ul li structure for accessiblity
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
* rewrite search state from useRouter (take 2)
* fix the problem with isHeaderSearch
* cleaning ups
* updating mobile search results ui (#22841)
* remove useCallback
Co-authored-by: Grace Park <gracepark@github.com>
* updating search icon
* remove no fill
* update fill color
* using ActionList and Overlay
* update to ActionList, Overlay, add Label to Breadcrumbs, and change Mark
* add search-results test data and move header search results to right
* make search results scrollable and fix max-width in header search
* update header search and styling updates
* add highlight
* update styling
* styling and lint errors
* fix lint error and fetch
* Update components/Search.tsx
* update label color
* remove bottom margin
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Move version picker next to product picker
* Always render in header
* Inline variant
* Remove topper-sidebar
* Handle breadcrumb length
* Have breadcrumbs use Primer breakpoint
* Make a breadcrumbs scss module
* Update Breadcrumbs.tsx
* Update Breadcrumbs.module.scss
* Update Breadcrumbs.module.scss
* Update server.js
* Use responsive classes for hide/show breadcrumb