* upgrade primer/react
* upgrade
* using deprecated
* remove lib"
* Upgrade primer/react: Upgrade Label (#28502)
update Label to primer/react 35.2.2
* fix merge conflicts
* primer/react v35: update ActionList (#28467)
* Update to v35 ActionList for LearningTrack
* Update to v35 ActionList for ArticleList
* Update to v35 ActionList for ProductArticleList
* Update to v35 ActionList for TableOfContents
* Update to v35 ActionList for ProductCollapsibleSection
* Update to v35 ActionList for RestCollapsibleSection
* Update to v35 ActionList for SidebarHomepage
* Update to v35 ActionList for MiniTocs
* Update to v35 ActionList for Search
* Extra div for rendering test
* One less div for rendering test
* All the style updates for v35 ActionList
* Works without setting as an li which is already the default (didn't before for some reason)
* Use deprecated ItemInput for now
* Picker update for primer/react (#28485)
* update picker
* inline picker for mobile
* set width to auto
* Update components/ui/Picker/Picker.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* update
* Update Picker.tsx
* update onselect
* checking language code
* move language cookie setting to language picker
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Resolve package merge conflicts
* fresh npm install
* Primer update UnderlineNav (#28582)
* update underlinenav for primer/react update
* update tests
* update switches test
* update one last label
* update header test"
* remove href in underlinenav
* update rendering tests
* update cursor
* primer/react v35: update DropDownMenu to ActionMenu (#28576)
* Update to v35 ActionMenu for ArticleCards
* Update to v35 ActionMenu for Search
* Set button to inline-block
* Put the props on the overlay
* Update test for ActionMenu markup
* update package
* update package lock
* primer/react v35: CodeLanguagePicker update from SelectMenu to ActionMenu (#28625)
* Use octicon for menu down arrow
* Update to v35 ActionMenu for CodeLanguagePicker
* update to SubNav
Co-authored-by: Grace Park <gracepark@github.com>
* update package-lock
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* starting minitocs change
* moving rest mini tocs and adding functionality to collapse
* adding some comments
* update margins
* minor updates: fix scroll to top button add padding to resthttpmethod verbs and background color for nested arrows in minitocs
* Update components/rest/RestReferencePage.tsx
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Update components/rest/RestReferencePage.tsx
Co-authored-by: Rachael Sewell <rachmari@github.com>
* fix comment
* fix wording and z index
* bring back articlegridlayout
* updating margins for lg and xl
Co-authored-by: Rachael Sewell <rachmari@github.com>
* refactor to add RestReferencePage
* remove structured data from article page
* add back clientsidehightlight js and remove structuredcontent
* update endpoint available for github apps page to use RestReferencePage
* check for minitocs
* use children for ArticlePage for overview endpoints page and move category data to RestReferencePage
* create MiniTocs component
* add MiniTocs
* fix unique key issue
* break into out into own div
* remove some unnecessary ts
* refactor looping section
* simplify markdown component usage
* add key prop
* add key prop
* add unique key
Co-authored-by: Rachael Sewell <rachmari@github.com>
* 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>
* 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>
* 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
* update autolinkHeadings to use Doctocat link header style
* fix header link test
* update graphql/rest rendering to use doctocat header link
* fix: miniToc issue with stray anchor
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Create a lead component
* Update to remove markdown-body from Lead, copy over <code> styles
* ...so I can read the test output
* Update Lead.tsx
* Update Lead.tsx
* 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>