* Remove note and example about role
Removing the text about role and example. If you're using `<button>` from HTML semantics, no role is needed. If you're using an `<a>` element, it should not be overridden with `role=button`, it needs to stay as a link if it is truly a link.
* Add back in the note to add button type
* Add `open` and `closed` color role
* Use new open/closed color variables
* yarn add @primer/primitives@0.0.0-202212241414
This is just temporarily to test the docs
* Add `Label--open` and `Label--closed`
* Create clever-bugs-love.md
* yarn add @primer/primitives@0.0.0-202212894219
* yarn add @primer/primitives@7.5.0
* Fix sequence of content in Subhead
When a heading, description, and action are rendered in the Subhead
component, the content now follows logical order on screen readers.
* Add changeset
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
* here we go!
* nav list
* divider
* collapsible
* here lies breaking changes
* item simplification
* update examples
* move to patterns
* tree view looks broken but its not
* remove notes
* stash
* action list component stories
* fix sub item
* revert treeview to original markup
* tree view readme
* story chaining
* cleanup + readme
* lint
* tree story fix
* Create quiet-walls-walk.md
* address feedback
* Add mono font stack to <samp> tag
* Create nice-beers-peel.md
* Add `<samp>` example to docs
* Test
* Another try without the HTML entities
Co-authored-by: simurai <simurai@github.com>
* add storybook, start actionlist
* story composition, some katie edits
* auto grid test
* one grid option
* you win flexbox, you win
* back on that grid grind
* story for each item context
* import stories
* add CSS friendly args for controls
* more conditionals
* push
* fix import
* clean up deps
* fix borders + hover state
* add navigational to story
* primitive-ize
* break out files
* a11y fix
* list stories
* add all theme viewer, more css edge cases
* story cleanup
* actionList becomes ActionList
* story syntax improvements
* bind stories, organize
* nested nav exploration
* pseudo hover to support nested lists
* cleanup
* organize pattern stories
* finding a better way to deal with state/nesting
* move state up one level
* handle single level nesting
* collapsible
* collapse story in sub item nav
* new collapse icon position, grid refactor
* toggle expanded state
* cleanup
* rename classes, better nesting, single select
* multi select support
* start docs!
* new animations
* docs
* more docs
* action item features docs
* a11y docs (storybook)
* fix docs codeblocks
* format code snippet (a little)
* pull in pre-release primitives
* fix danger primitive
* cleanup
* linting playing tricks on me
* linty fresh
* renaming classes fun times
* add disabled variant
* formatting struggles
* danger visual danger color
* add viewport maps to layout vars
* test stylelint
* finish docs
* revert primitive upgrade
* primitives patch take 2, sidebar story
* change calc function
* remove fix script
* lint, docs fixes
* Stylelint auto-fixes
* guessing the storybook link for docs
* testing scss imports
* lint
* default background
* handle padding for sizes
* remove comments
* Stylelint auto-fixes
* Create poor-walls-occur.md
* Update poor-walls-occur.md
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
Co-authored-by: Actions Auto Build <actions@github.com>
* Add colored octicon support to .suggester
* Add octicon support for .radio-group
+ disabled state
* Add support for octicon in .btn in .flash
* Create dry-tips-scream.md
* Update alerts.md
Switched icons back to default icons for each type of message
* Info -> info
* Warning -> alert
* Error -> stop
* Success -> check
* Create gentle-rabbits-tickle.md
Co-authored-by: Cole Bemis <colebemis@github.com>
Co-authored-by: simurai <simurai@github.com>
* Add footnote styles
Port the styles from dotcom to Primer.
* Create gold-games-tickle.md
* disable lints
* Nest footnotes within markdown-body
Co-authored-by: Jon Rohan <rohan@github.com>
* Style footnotes
* Add footnotes to docs
* Lint
* Bump right border
Bumps the right border out a bit for symmetry in the :target border
style.
* Darken text when targeted
Co-authored-by: Jon Rohan <rohan@github.com>
Co-authored-by: simurai <simurai@github.com>