1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 15:43:59 +03:00
Commit Graph

549 Commits

Author SHA1 Message Date
simurai
85f31cc8f8
Remove ActionList (#2405)
* Remove ActionList from src/

* Remove `ActionList` from docs/

* Create .changeset/quick-wasps-kick.md
2023-03-29 08:25:30 +09:00
Lukas Oppermann
256affcf34
remove DiffStat component (#2403) 2023-03-27 15:38:01 +02:00
Dylan Smith
b631882b98
Fix typo (#2399) 2023-03-22 15:32:56 +01:00
Miguel Melon
5dc4feadff
Fixed number of categories (#2384)
The text mentions three (3) categories while only explaining two (2), let's fix that.
2023-02-24 05:42:43 +00:00
Arelia Jones
3ceb19648b
update default for flex wrap styles (#2388)
* update default for flex wrap styles

* Create .changeset/perfect-foxes-compete.md

---------

Co-authored-by: Jon Rohan <jonrohan@github.com>
2023-02-22 19:51:59 +00:00
Lukas Oppermann
872a578e0d
Added missing space in example (#2366) 2023-01-19 12:19:21 +09:00
simurai
0e74c3f3fa
Add links to PVC (#2346)
* Add links to PVC

And break some bundles (e.g. navigation) apart

* Ignore some of the new pages

* Revert "Ignore some of the new pages"

This reverts commit 854802e7ca.
2022-12-16 09:06:08 +09:00
Katie Foster
666a42989a
Update tooltips.md to include link to Tooltip Alternatives doc (#2328) 2022-11-30 07:10:13 -08:00
simurai
a7547f4d34
Deprecate form validation (#2301) 2022-11-03 12:57:01 +09:00
Katie Foster
7a2116f838 Update tooltips.md (#2277) 2022-10-12 12:38:33 -07:00
Orhan Toy
3164342bff
Fix CSS block formatting (#2276) 2022-10-12 07:37:21 +00:00
Lukas Oppermann
0bad75fc5f
Fix broken link (#2259)
Link to Color is broken as the page does not exists and order of links was different form sidebar.
2022-10-03 09:14:57 -07:00
Reece Atkinson
1a8e7db5f6
Update Marketing Typography (marketing-type.md) (#2220)
* Update Marketing Typography (marketing-type.md)

Changed a description so it made more sense, changed heading text to make it more useful.

* Create fuzzy-cows-drum.md

Co-authored-by: Tobias Ahlin <tobiasahlin@github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-08-29 21:05:47 -07:00
John Bohannon
7fd2adf6ca
Update linting.md (#2210) 2022-08-19 10:55:27 -07:00
Alec Breton
df81e6e812
Update margin.md with mt values for view (#2207) 2022-08-18 16:06:50 +00:00
Luckz
8016e3c507
Remove article (#2090)
* Remove article

The 'the' is superfluous / wrong. unpkg doesn't refer to itself as "the unpkg" or anything.

* Create violet-humans-care.md

Co-authored-by: Katie Langerman <langermank@github.com>
2022-07-26 13:03:02 +09:00
Amir Masoud Abdol
3540d9dda4
Update index.md (#2155)
Updated the version of the `primer.css`
2022-07-20 18:31:50 +09:00
Baoshuo Ren
544fb2773d
Add link to source code in Timeline's doc (#2130)
* Add link to source code in Timeline's doc

* Create gold-knives-cover.md

Co-authored-by: Jon Rohan <rohan@github.com>
2022-06-23 09:45:32 -07:00
Rengga Prakoso Nugroho
c898103e0e
docs: update deployment location of docs (#2132)
* docs: update deployment location of docs

* Create stale-penguins-teach.md

Co-authored-by: Jon Rohan <rohan@github.com>
2022-06-23 09:44:11 -07:00
Chelsea Adelman
03ccbf9e7f
Remove note and example about role (#2098)
* 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
2022-05-31 11:46:31 -07:00
Adrián Bolonio
51e087aa31
Overlay component (#1998)
* Add styles, documentation, and storybook story for the new dialog component

* Stylelint auto-fixes

* Create slow-poets-mate.md

* Update slow-poets-mate.md

* update namespace

* Stylelint auto-fixes

* menu specifics

* starting over

* a new paradigm

* fully responsive

* push for testing

* auto width, visibility hidden

* Overlay stories

* dialog stories

* cleanup

* remove popover

* remove unused import

* docs update

* min() to the rescue!

* thin scrollbar?

* remove comment

* Update src/overlay/overlay.scss

Co-authored-by: simurai <simurai@github.com>

* address feedback

* handle form elements

* test permissions

* lint

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
Co-authored-by: simurai <simurai@github.com>
2022-05-09 20:59:39 -07:00
Jason Etcovitch
ab6f0840f0
Add .text-capitalize utility class (#2072)
* Add .text-capitalize

* Add to doc

* Create four-dancers-dress.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-05-04 12:17:57 -07:00
Renan Martins
8f66d7b1c3
Update CDN link with version 19 (#2022) 2022-04-08 12:48:53 +00:00
Dylan Smith
15fed50c15
Add undocumented border radius value (#2023) 2022-04-08 12:40:33 +00:00
Kate Higa
264a89a51a
More CSS updates to Autocomplete (#2000)
* * change to inline

* * updates to input-group

* * updates to form-group

* * updates to docs with dotcom bugs we saw for validation

* * fix multiplier

* * update accessibility attributes of examples

* fix: adds space

* Create shaggy-birds-marry.md

Co-authored-by: Lindsey Wild <35239154+lindseywild@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-03-29 13:43:36 -07:00
Kate Higa
69fe8c6512
Add support for inline, stack label in autocomplete (#1994)
* * Add support for inline, stack label in autocomplete

* * update heading levels and make example longer

* * update width CSS to fit content

* * update results width

* * add example to validate the icon work and css classes

* * add stacked class

* Stylelint auto-fixes

* fix: embedded icon spacing

* fix: exmample, extra class removed

* fix: linting issues

* Update src/autocomplete/autocomplete.scss

Co-authored-by: Katie Langerman <langermank@github.com>

* Update src/autocomplete/autocomplete.scss

Co-authored-by: Katie Langerman <langermank@github.com>

* Update src/autocomplete/autocomplete.scss

Co-authored-by: Katie Langerman <langermank@github.com>

* Stylelint auto-fixes

* Stylelint auto-fixes

* Stylelint auto-fixes

* * Fix CSS media query for label

* feat: updates icon markup/styling

* bug: ensure positioning is correct in firefox

* * fix lint

* * fix more lint issues

* * remove smaller screen size example because you can't emulate screen size

* * move note up

* Create breezy-jeans-boil.md

Co-authored-by: Actions Auto Build <actions@github.com>
Co-authored-by: Lindsey Wild <35239154+lindseywild@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-03-24 13:36:21 -07:00
Sarah Vessels
c2bd6bc9bf
Add .color-bg-transparent (#1985)
* Add .color-bg-transparent

* Create ninety-phones-run.md

Co-authored-by: Jon Rohan <rohan@github.com>
2022-03-09 08:52:27 -08:00
Josh Soref
357d3f2b4c
Spelling (#1981)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-03-08 04:29:10 +00:00
simurai
6a83a92b43
Add open and closed color roles (#1948)
* 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
2022-03-04 13:54:06 +09:00
Reece Atkinson
0450ccbb86
Added line break (#1942)
* Added line break

To add more space and to make it more spaced out.

* Create neat-rice-study.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
Co-authored-by: Jon Rohan <rohan@github.com>
2022-02-28 17:19:52 -08:00
Hector Garcia
7c85c50056
Fix sequence of content in Subhead (#1950)
* 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>
2022-02-28 20:55:17 +00:00
simurai
5353210fde
Remove "Linting dotcom" section (#1947) 2022-02-25 16:54:32 +00:00
Hector Garcia
3a91a29a82
Use <h2> instead of <div> on Subhead-heading docs (#1953) 2022-02-24 17:13:22 +01:00
Ash Guillaume
116df219ad
add note about how to learn about color (#1929)
* add note about how to learn about color

* Apply suggestions from code review

Co-authored-by: Inayaili León <yaili@github.com>

Co-authored-by: Inayaili León <yaili@github.com>
2022-02-14 13:23:35 -05:00
Kate Higa
c53ecdff54
Deprecate CSS tooltip (#1936)
* deprecate tooltip css

* update examples

* Create wise-cameras-leave.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-02-11 10:27:13 -08:00
Katie Langerman
50221a5486
NavigationList (#1905)
* 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
2022-02-11 09:47:56 -08:00
Shubham Bhardwaj
a044321a4f
added steps for Troubleshooting Jekyll errors (#1907)
* added steps for Troubleshooting Jekyll errors

* typos and clarifications

(dident actually test github pages)
2022-02-02 02:52:44 +00:00
Hector Garcia
21085f5c6c
Add blankslate classes to replace utilities (#1919)
This is part of the effort to remove all usages of utility classes to
improve consistency and prevent specificity bugs.
2022-02-01 17:13:37 +00:00
Vinicius Depizzol
bcf447ab22
Add mono font stack to <samp> tag (#1876)
* 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>
2022-01-26 06:07:32 +00:00
simurai
d6160ea630
Docs updates (#1895)
* Remove "Atom packages"

* Remove Docset

* Remove "Local development"

* Remove "Table object"

* Move Grid to utilities

* Remove "Objects"

* Rename nav (marketing)

* Move marketing styles to their own section

* Discourage floats

* Update padding description
2022-01-24 02:53:57 +00:00
Maxime De Greve
41b409126d
Update the copy on the Select menu component to make it more clear that one isn't deprecated (#1822)
* Update copy

* Update select-menu.md

* Update select-menu.md

* Update select-menu.md

* Update select-menu.md

Co-authored-by: Inayaili León <yaili@github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2021-12-16 18:03:22 +00:00
simurai
ef2f3f00e6
Add note about loading the "latest" Primer CSS version (#1784) 2021-12-08 20:47:06 +09:00
Emil Nikov
13a4654fa0
Marketing: add link components (#1807)
* Initial setup for marketing links

* Create short-pugs-press.md

* Rename .mktg-link to .link-mktg

* Update the link underline style

* Update the usage examples

* Clean up the SCSS

* Add animated octicon-chevrow

* Add underline-pale variant

* Improve docs

* Lint ignore the use of currentColor

* Reduce the examples, refactor the chevrow animation

* Refactor the octicon chevrow positioning and sizing

* Less absolute positioning

* Update the docs

* Document link colors

* Define underline offset with ems

* Update marketing-links.md

* Update chevrow position animation

* Rename underline-pale to link-emphasis-mktg

* Fix stylelint errors

* Reduce the :active state chevrow position

* Fix stylelint-disable comments

* Obey the stylelint!

* Rename octicon-chevrow to link-arrow-mktg

* Extract the animated arrow as utility

* Stylelint auto-fixes

* Remove markdown leftover

* Fix positioning in marketing buttons and links

* Stylelint ignore marketing button line-height

* Stylelint auto-fixes

* Expand the arrow-target-mktg selector to cover btn-mktg and link-mktg

Co-authored-by: Tobias Ahlin <hello@tobiasahlin.com>

* Update the btn-mktg line height

* Revert the btn-mktg padding changes

* Remove stylelint ignore rule

* Expand the changelog

* Improve the link-emphasis-mktg docs

* Add prefers-reduced-motion media queries

* Stylelint disable max-nesting-depth

Co-authored-by: Tobias Ahlin <hello@tobiasahlin.com>
Co-authored-by: Actions Auto Build <actions@github.com>
2021-12-06 08:50:14 +00:00
simurai
ecb671f616
Fix details-overlay-dark docs (#1782) 2021-12-02 06:03:36 +00:00
Katie Langerman
c65be7f0c8
Doc updates: develop + action list (#1743)
* sentence case + contrib doc

* update develop guide

* fix path

* update actionlist a11y semantics

* update docs, revert develop change

* reformat actionlist stories to use inline-radio
2021-11-23 11:00:58 -08:00
Katie Langerman
74724ce7c7
Remove popover responsive hack (#1759)
* add story, spec hack

* remove responsive wrap + stories

* update docs

* fix docs

* Create neat-cheetahs-rescue.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-11-22 11:23:30 -08:00
simurai
3476f5e691
Update docs bg utilities (#1758) 2021-11-19 10:58:37 +01:00
Allie Thu
104228f30f
Fix misspellings (#1753)
As I was reading through the docs, I had to go in and fix these.
2021-11-16 09:34:42 -07:00
Tobias Ahlin
9b97dc8fec
Update marketing buttons (including color mode support) (#1716)
* Add new gloss buttons

* Disable default outline

* Add focus and hover states for subtle buttons

* Remove redundant properties

* Rename outline → muted to align with functional color naming

* Update documentation to match new button setup

* Clarify what's temporary

* Create nervous-keys-bow.md

* Remove unused mixins

* Call background colors what they are (background colors)

* yarn add @primer/primitives@^7.0.1

* Use primer/primitives variables

* Deprecate mktg buttons

* Replace btn-transparent with btn-subtle-mktg

* Recommend replacing btn-enterprise-mktg with default btn-mktg

Co-authored-by: simurai <simurai@github.com>
2021-11-10 13:55:33 +09:00
Vinicius Depizzol
dfe73db195
Update Layout's sidebar width values (#1738)
* update layout's component sidebar width values

* Update sidebar sizing docs

* Create clean-books-act.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-11-08 19:24:07 +00:00