* 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>
* 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>
* 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>
* Create migrate-colors-primer-18.js
* Update colors round 1
* upgrade primer packages
* Update index.scss
* Replace auto colors
* remove btn-primary-matte
* Turns out the class names and variables names DONT LINE UP... ugh....
* Check for allowed var colors
* close Language and ArticleVersion pickers after click
* cleanup ArticleGridLayout due to VersionPicker changes
* fix tsc errors resulting from primer upgrade
* fix / update tests
* cleanup mobile pickers visual consistency
* use btn-sm on VersionPicker
* update translation and close on click for enterprise releases
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Package updates
* Fix up things that look broken
* Add to utils
* Lead now just sets font size, just use f3 where needed
* Update package-lock.json
* Update index.tsx
* Delete bump-link.scss
* Update trigger-error.js
* Update components/GenericError.tsx
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* Update ArticlePage.tsx
* Update ActionBar.tsx
* Changes from meeting
* Found a few more monos
* Fix from a merge conflict
* Missed a few f3s
* Update SubLandingHero.tsx
* Bye gradients
* Match up breadcrumbs
* Update SubLandingHero.tsx
* Update lists.scss
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* initial documentation changes
* editing layouts terminology
* update to match other files
* move javascripts to components/lib
* fix: dockerfile
* update based on Mikes updates to the javascripts directory
* update components/README.md
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* React: remove expose
* Update context.js
* More changes
* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue
* run lint
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* Update survey to use React/TS
* Working survey form in react land
* A little cleanup
* Update Search.tsx
* Update Survey.tsx
* Remove token field from schema entirely, just let it fail validation
* Update events.js
* Update survey.html
* use Link component
* Use enum for state
* Update old to match new