1
0
mirror of synced 2025-12-23 03:44:00 -05:00
Commit Graph

12 Commits

Author SHA1 Message Date
Peter Bengtsson
7d75265b01 hydration fails on CollapsibleSection with hash in URL (#24105) 2022-01-07 02:25:16 +00:00
Robert Sese
9dbc44100c Misc accessibility bits (#23495)
* Fix and make article date format consistent

* Add aria-label to repo icon

* Remove unnecessary title attribute
2021-12-08 19:01:40 +00:00
Robert Sese
74c94121be Use Primer ActionList for sidebar (#22885)
* 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>
2021-11-23 18:33:54 +00:00
Kevin Heis
58fbe1edf5 Move px to rem in scss files (#23009)
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-11-19 21:06:45 +00:00
Grace Park
596207f743 update to color-bg-default (#22482)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-10-29 15:05:48 +00:00
Kevin Heis
567652b0e3 Primer 18 b (#22462)
* 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
2021-10-28 19:17:23 +00:00
Grace Park
d2b50026b4 Minor sidebar updates (#22403)
* minor sidebar updates batch

* Update components/sidebar/SidebarNav.tsx

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

* Update components/sidebar/SidebarProduct.tsx

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

* changing back to bg-primary since we are on primer 17

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
2021-10-28 17:07:10 +00:00
Kevin Heis
29ebc555cb Add btn-primary-matte, ScrollButton, TruncateLines to storybook (#21611)
* Update create-processor.js

* Use built in semibold

* Preparing articlelist

* Add blue button to storybook

* Scope fade styles

* Add truncate component

* Add scroll button to storybook

* Update storybook.tsx

* Update DefaultLayout.tsx
2021-09-20 23:21:29 +00:00
Kevin Heis
9f7c20dae8 Upgrade Primer CSS to version 17, removing marketing styles (#20965)
* 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>
2021-08-31 14:49:39 -07:00
Mike Surowiec
d76c16da19 Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00
Robert Sese
d565050584 Account for overlapping paths (#20957) 2021-08-18 20:11:01 +00:00
Mike Surowiec
c433c43019 Sidebar refactor: scope css + more (#20837)
* refactor sidebar, scope css, wire up nav events to link component, update tests

* remove link onClick analytics event

* fix: missing key on breadcrumbs
2021-08-12 15:28:32 -04:00