1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Heis
9bf3fc185a Create languages src directory (#41661) 2023-08-30 17:24:59 +00:00
Robert Sese
1f7e2408ff a11y: remove non-li children of minitoc ul (#39253) 2023-07-18 22:26:10 +00:00
Robert Sese
9b12559589 more specifically find links in minitoc (#36840) 2023-05-04 21:00:39 +00:00
Hector Alfaro
4ba4b732e1 Add label for minitoc items (#36029) 2023-03-30 16:36:32 +00:00
Grace Park
80e96bd5fa Add aria-current to set to current anchor (#34747) 2023-02-14 19:11:00 +00:00
Hector Alfaro
8f31b582e8 Add aria-label to Mini TOC for more accessibility (#34725) 2023-02-14 15:35:17 +00:00
Peter Bengtsson
a9a0b1323b set nested minitoc padding once (#32315) 2022-11-03 17:11:34 +00:00
Grace Park
6c0eb08199 Fix minitoc link issue for translations (#31061) 2022-09-22 15:13:50 -07:00
Grace Park
543b3eee9d Unbreak for code in rest tables and remove unnecessary import (#30314) 2022-08-29 17:12:00 +00:00
Grace Park
df6b782b11 Update navlist for MiniTocs (#30167)
* update navlist

* fix tests

* update to component

* update platform

* update key

* fix platform tool picker issue

* add key

* remove unnecessary key

* fix test

* update styling

* fix indented test

* Update components/ui/MiniTocs/MiniTocs.tsx

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* remove null

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-25 09:33:08 -07:00
Peter Bengtsson
d38b8351a8 Revert "Update to NavList for minitocs" (#30051)
Revert "Update to NavList for minitocs (#29885)"

This reverts commit b5ea7bbcc5.
2022-08-18 09:44:23 -04:00
Grace Park
b5ea7bbcc5 Update to NavList for minitocs (#29885)
* update to NavList for minitocs

* fix minitoc tests
2022-08-11 18:40:02 -07:00
Evan Bonsignori
febc27cb8f fix: dark mode miniToc style overrides (#29364) 2022-07-27 22:18:39 +00:00
Grace Park
822fe2926b Megabranch: Upgrade primer/react (#28458)
* 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>
2022-07-11 11:51:18 -07:00
Peter Bengtsson
071c95a91c make miniToc pure data and no html strings (#28517)
* make miniToc pure data and no html strings

* fixups

* some types refactoring
2022-06-15 18:31:36 +00:00
Hector Alfaro
ba27b2e62c use functional variables 2022-04-05 18:43:11 -04:00
Hector Alfaro
3a5f786e62 override minitoc bg for better contrast 2022-04-05 12:29:04 -04:00
Grace Park
1a6bee4601 Refactor to add RestReferencePage (#25781)
* 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>
2022-03-08 18:00:38 +00:00