1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 23:12:03 +03:00
Commit Graph

872 Commits

Author SHA1 Message Date
simurai
cb9001683a Update .State 2020-02-21 16:28:35 +09:00
simurai
ffdc86bdfa Update .IssueLabel 2020-02-21 15:21:23 +09:00
simurai
6799c69fca Fix docs 2020-02-21 14:34:58 +09:00
simurai
329d4364a7 Update .Label 2020-02-21 14:29:30 +09:00
simurai
26ef5a3fa8
Merge branch 'master' into update-breakpoints-docs 2020-02-21 11:44:20 +09:00
simurai
046bbcf521
Add Oxford comma
/ht @emilybrick
2020-02-21 09:12:36 +09:00
Inayaili León
647d290afa
Updated Formula link (#1031) 2020-02-20 06:56:15 -08:00
Inayaili León
48df6af92a
Removed empty ToC (#1030)
There was an empty Table of Contents section, removed.
2020-02-20 06:41:35 -08:00
simurai
a726536adf Refresh inputs 2020-02-20 13:45:59 +09:00
simurai
a4003d5463 Remove <dl> from .form-group 2020-02-19 22:45:55 +09:00
simurai
1ba777cc6f
Shorten visual 2020-02-19 17:54:30 +09:00
simurai
6dcf1f01db
Tweaks 2020-02-19 17:49:37 +09:00
simurai
9bd8c21dd7
Explain "Breakpoint and up" 2020-02-19 17:33:36 +09:00
simurai
dfcafd76d7 Update buttons 2020-02-18 16:59:12 +09:00
simurai
a80e6c40f2
Update breakpoints.md 2020-02-14 09:37:46 +09:00
simurai
04a04916dd
Update breakpoints.md 2020-02-14 09:35:09 +09:00
simurai
e51a462518 Add rounded-3 utility 2020-02-12 21:25:04 +09:00
Michelle Tilley
5b4c0ac408
Bump doctocat to latest 2020-02-11 13:30:01 -08:00
simurai
0660377e88
Merge branch 'release-14.2.0' into aria-selected 2020-01-23 13:46:16 +09:00
simurai
9254778691
Merge pull request #1014 from primer/aria-disabled
Add aria-disabled state
2020-01-23 13:24:41 +09:00
simurai
c8510aead5
Merge pull request #1012 from primer/padding
Improve margin/padding docs
2020-01-23 13:20:10 +09:00
simurai
05d33a9e83
Merge pull request #1013 from primer/fix-links
Fix docs links
2020-01-23 13:08:58 +09:00
simurai
4abeaec506 Use aria-disabled="true" 2020-01-03 21:28:18 +09:00
simurai
9afed8f518 Remove /css from links 2020-01-03 15:42:34 +09:00
simurai
64e0f9520b Mention exception 2020-01-03 15:12:48 +09:00
simurai
04fd885f75 Simplify marketing margin 2020-01-03 15:12:10 +09:00
simurai
628e4e2429 Improve margin docs 2020-01-03 12:18:39 +09:00
simurai
a523e348cf Simplify marketing padding utilities 2020-01-03 10:46:34 +09:00
simurai
fd9a278f39 Fix more links 2020-01-03 10:07:32 +09:00
simurai
e20330cfdd Improve padding docs 2020-01-03 10:07:09 +09:00
simurai
77ae07e170 Fix link to "spacing scale" 2020-01-03 09:11:24 +09:00
simurai
f83b2c0bda Add aria-current="page" to pagination 2019-12-27 11:33:48 +09:00
simurai
838b93a9e8 Add aria-current="page" to subnav 2019-12-27 11:01:28 +09:00
simurai
6cea240f5e Add aria-current="page" to filter-list 2019-12-27 10:43:46 +09:00
simurai
b0afc6d365 Add aria-current="page" selector to menu 2019-12-27 10:38:27 +09:00
simurai
d58bac3e01 Add support for aria-current=page to tabnav 2019-12-27 10:27:48 +09:00
simurai
a86391142d Add aria-current=page selector to breadcrumbs 2019-12-27 09:57:54 +09:00
simurai
09f319184d Use aria for selected/current states 2019-12-26 21:36:07 +09:00
Kate Travers
58033cbde7 rm flash-banner docs (component was deprecated) 2019-12-20 10:57:49 -05:00
simurai
1940982011
Merge pull request #989 from primer/stylelint-guide
Add link to the Stylelint guide
2019-12-17 20:07:42 +09:00
simurai
1aab8e0531
Merge pull request #994 from primer/responsive-line-height
Responsive line-height utilities
2019-12-17 20:00:32 +09:00
simurai
90ca6da6cc
Merge pull request #1000 from primer/contributing
Update contributing guide for a general audience
2019-12-17 11:50:29 +09:00
simurai
8146b66a42 Update contributing.md
This is the same as https://github.com/primer/css/pull/941/files including the suggestions.

Co-Authored-By: francisfuzz <francisfuzz@users.noreply.github.com>
Co-Authored-By: Shawn Allen <shawnbot@users.noreply.github.com>
2019-12-17 11:38:06 +09:00
simurai
19b8fca050
Merge pull request #972 from primer/variables-page
Variables page
2019-12-17 09:50:10 +09:00
Michelle Tilley
1dbbf81b72
Don't repeat explanatory text 2019-12-16 16:27:30 -08:00
Michelle Tilley
5a3d18a0a8
Improve error in dev mode when no variables exist 2019-12-16 14:54:44 -08:00
Michelle Tilley
aff87ba94d
Remove unused imports 2019-12-16 14:44:22 -08:00
Michelle Tilley
ae108fb0ba
Merge remote-tracking branch 'origin/master' into variables-page 2019-12-16 14:24:45 -08:00
Michelle Tilley
e7b10d24f0
🎨 2019-12-16 14:23:13 -08:00
Michelle Tilley
22c778f45d
Variables page cleanup and linting 2019-12-16 14:17:54 -08:00
Michelle Tilley
a8d6fbac01
Finish up Variables page 2019-12-16 14:09:08 -08:00
Michelle Tilley
334bc16849
Move now-build.sh to docs folder 2019-12-16 14:08:45 -08:00
Michelle Tilley
1133f96d80
Add Node 12.x to docs/ engines 2019-12-16 14:08:00 -08:00
simurai
803217d55f Split filter and footer 2019-12-16 21:02:44 +09:00
simurai
0ac38c2282 Update typography.md 2019-12-12 16:15:27 +09:00
simurai
3f39d57686
Merge pull request #987 from primer/position-sticky
Add .position-sticky utility
2019-11-26 16:45:07 +09:00
simurai
49ed359543
Add link to the Stylelint guide 2019-11-26 16:25:02 +09:00
simurai
0623f60c2c
Merge pull request #988 from primer/flexbug-9
Add docs for flexbug no. 9
2019-11-22 09:36:51 +09:00
Shawn Allen
a65a327f21
docs: add docs for flexbug no. 9 2019-11-21 13:30:09 -08:00
simurai
ab63d71d6c Add note about adding a direction 2019-11-21 20:30:31 +09:00
simurai
43c2fedd13 Add .position-sticky utility 2019-11-21 20:15:41 +09:00
simurai
7c76bc4039
Merge pull request #922 from primer/more-select-menu-improvements
More SelectMenu improvements
2019-11-21 00:29:39 +09:00
Shawn Allen
033ee0a776
Merge pull request #977 from danchristian/patch-1
docs: fix link URLs in  spacing.md
2019-11-19 15:36:03 -08:00
simurai
6fecbe289a
Merge pull request #979 from primer/radio-group
Add `.radio-group` component
2019-11-19 14:40:10 +09:00
simurai
f1540dac8f Introduce SelectMenu-icon--check modifier 2019-11-15 22:46:05 +09:00
simurai
a4c55c7392 Fix top border + increase max-height
This is re-applying the later reverted changes from #900
2019-11-15 22:44:41 +09:00
simurai
e8d79f7989 Simplify markup
Switching around source order makes it possible drop the `suggestions list-style-none position-absolute` classes.
2019-11-15 16:14:04 +09:00
Shawn Allen
016135b822 update docs/package-lock.json, npm audit fix 2019-11-14 13:27:44 -08:00
Dan Christian
0cd90f56db
Merge branch 'master' into patch-1 2019-11-14 18:31:28 +00:00
simurai
a5e31ae965 Add documentation 2019-11-12 20:07:42 +09:00
Michelle Tilley
9368039601
Use actual book emoji in Flexbox docs 2019-11-08 10:18:43 -08:00
simurai
53b637bafe Update description 2019-11-08 17:38:05 +09:00
simurai
dba283096c Add documentation 2019-11-08 16:30:36 +09:00
simurai
6f1cf9f3aa
Apply suggestions from code review
Co-Authored-By: Shawn Allen <shawn.allen@github.com>
2019-11-08 09:55:44 +09:00
simurai
f61e5a6735
Update docs/content/components/truncate.md
Co-Authored-By: Shawn Allen <shawn.allen@github.com>
2019-11-08 09:50:56 +09:00
simurai
e4b82a74c0 Update documentation 2019-11-07 17:05:21 +09:00
simurai
40aa120a97
Merge pull request #974 from primer/loaders
Add Animated Ellipsis
2019-11-07 10:51:14 +09:00
simurai
aa03ce90e7
Update docs/content/components/loaders.md
Co-Authored-By: Shawn Allen <shawn.allen@github.com>
2019-11-07 10:44:57 +09:00
Dan Christian
714a01d544
Update spacing.md
Removed redundent `/css/` path that was causing multiple 404 errors.
2019-11-06 11:19:18 +00:00
simurai
12aee98c2d Merge branch 'release-14.0.0' into flex-utilities 2019-11-05 17:22:16 +09:00
simurai
1bb86e9a6e Replace animated-ellipsis with AnimatedEllipsis 2019-11-05 16:33:02 +09:00
simurai
83f1f9797e Add documentation 2019-11-05 10:05:17 +09:00
Shawn Allen
c6be855358
fix typo
Co-Authored-By: simurai <simulus@gmail.com>
2019-11-04 14:48:22 -08:00
Shawn Allen
4abb5c628a move now-build.sh up to /script, etc. 2019-11-04 12:28:49 -08:00
Shawn Allen
86abe02471 get variable deprecations from json 2019-11-04 11:20:56 -08:00
Shawn Allen
21684ca0e9 run now-build.sh 2019-11-04 10:55:44 -08:00
Shawn Allen
bbf42f2e95 nix @primer/css dep, run dist up a dir 2019-11-04 10:52:09 -08:00
Shawn Allen
86015fd728 import primer/css stuff from ../.. 2019-11-04 10:51:56 -08:00
Shawn Allen
f1695125a2 nix prebuild script; use canary release of primer/css 2019-11-01 16:48:21 -07:00
Shawn Allen
dcb7732755 get variables from primer dependency 2019-11-01 16:48:06 -07:00
Shawn Allen
a4fa7f8875 run dist up a directory in now-build? 2019-11-01 16:41:41 -07:00
Shawn Allen
6b5fa25400 add Variables table 2019-11-01 16:35:22 -07:00
Shawn Allen
d744d35f00 add variables nav item 2019-11-01 16:35:04 -07:00
Shawn Allen
beb5a8bebe add deprecation docs in getting-started/contributing 2019-11-01 12:47:16 -07:00
Shawn Allen
ade9104565 update label guidance for new style docs 2019-11-01 12:46:59 -07:00
Shawn Allen
62a5766ebf
Update docs for variable deprecation data 2019-11-01 11:14:53 -07:00
simurai
3a12942bef Remove .flex-item-equal 2019-10-31 16:09:14 +09:00
simurai
2f3efb66dd Update documentation 2019-10-31 15:23:33 +09:00
simurai
15bc216d97 Introduce .flex-1 utility 2019-10-31 12:41:43 +09:00
simurai
3100ca3c0e
Merge pull request #959 from primer/buttons
More buttons
2019-10-25 13:47:55 +09:00
simurai
d0ae4a6c4e
Merge pull request #950 from primer/diffstat
Add Diffstat component
2019-10-25 13:31:48 +09:00
simurai
d34dd03de0 Add Octicon button
Unchanged from dotcom
2019-10-24 15:32:53 +09:00
simurai
db6d65c570 Add invisible button
Unchanged from dotcom
2019-10-24 13:40:54 +09:00
simurai
0e55872a45 Add .close-button
Unchanged from dotcom
2019-10-24 13:25:29 +09:00
simurai
f61a726733 Remove <p> 2019-10-24 13:24:36 +09:00
simurai
4de965062f Fix spacing between buttons 2019-10-24 11:52:18 +09:00
simurai
6013909199 Move .details-reset
Plus update the docs
2019-10-24 11:29:06 +09:00
Shawn Allen
3f8775ba12
Merge pull request #913 from primer/timelineitem
Importing TimelineItem from .com and creating matching docs
2019-10-23 13:52:52 -07:00
Shawn Allen
435abad2ab
Merge pull request #953 from primer/issue-label
Add IssueLabel component
2019-10-23 09:34:06 -07:00
Shawn Allen
cac447a3ee
Merge pull request #949 from primer/variable-inspector
Publish variables.json
2019-10-23 09:24:42 -07:00
Shawn Allen
645f63029b
Merge pull request #939 from primer/box-overlay-example
Fix Box--overlay example
2019-10-23 09:24:05 -07:00
Shawn Allen
ce034c23bf remove chroma-js from top-level package.json 2019-10-22 15:43:47 -07:00
simurai
6cfb61f8d9 Add documentation 2019-10-22 22:14:59 +09:00
simurai
147ed5e43f Add documentation 2019-10-21 13:35:10 +09:00
Mohamed ELIDRISSI
331f25b60d
Fix broken links to typography utilities 2019-10-14 16:39:20 +01:00
simurai
84e391ae6b Remove note 2019-10-11 15:42:47 +09:00
simurai
28f22d4177 Fix example styling 2019-10-11 15:35:26 +09:00
simurai
cb4f7d2e28 Convert to html example 2019-10-11 14:02:03 +09:00
simurai
021d273039
Merge pull request #926 from primer/flash-banner
🚚 Add Flash Banner
2019-10-10 13:29:13 +09:00
simurai
b1a15e6715
Merge pull request #927 from primer/flex-column-reverse
Introduce .flex-column-reverse utility
2019-10-10 13:28:14 +09:00
simurai
f782dfcec0
Merge pull request #933 from primer/convert-erb-to-html-live
Convert most ERB examples to HTML live
2019-10-10 13:24:28 +09:00
simurai
ec007e25cf Show examples for the Header component 2019-10-10 12:13:58 +09:00
simurai
c7c86cc15f Use svg for pagehead octicons 2019-10-10 12:01:41 +09:00
Shawn Allen
a0fb0cdddc
Merge pull request #932 from primer/cdn-link
Update unpkg CDN links
2019-10-07 11:02:42 -07:00
simurai
f97efec66f Update layout.md 2019-10-07 15:10:16 +09:00
simurai
f07445db97 Update flexbox.md 2019-10-07 15:07:16 +09:00
simurai
b8b6076a20 Update box-shadow.md 2019-10-07 15:04:42 +09:00
simurai
bf3122eba4 Update animations.md 2019-10-07 15:02:02 +09:00
simurai
0ba5bebaf5 Update grid.md 2019-10-07 14:37:39 +09:00
simurai
88191152e4 Update pagehead.md 2019-10-07 14:33:12 +09:00
simurai
286e0b99d5 Update labels.md 2019-10-07 14:23:23 +09:00
simurai
38d43c41a6 Update forms.md 2019-10-07 14:14:30 +09:00
simurai
12a5becafc Update buttons.md 2019-10-07 14:13:01 +09:00
simurai
f5e4521bbd Update box.md 2019-10-07 13:59:56 +09:00
simurai
2864df30e5 Update avatars.md 2019-10-07 12:10:59 +09:00
simurai
7277265bb3 Update unpkg.com URL 2019-10-07 10:20:47 +09:00
simurai
adb827ee93 Add a note about accessibility 2019-10-02 14:03:04 +09:00
simurai
129d9d36e1 Add documentation for .flex-column-reverse 2019-10-02 13:52:39 +09:00
simurai
4ca2e82663 Add documentation 2019-10-02 11:55:40 +09:00
Shawn Allen
839437cdd2
Merge pull request #923 from primer/select-menu-docs
Improve SelectMenu docs
2019-09-30 22:30:15 -07:00
simurai
4cc03fd9c8 Remove aria-expanded 2019-10-01 13:51:52 +09:00
simurai
60d3099069 Remove type on <summary> 2019-10-01 13:50:59 +09:00
simurai
d0d79ac3b2
Revert "More SelectMenu improvements" 2019-10-01 11:42:40 +09:00
Jon Rohan
599ecfd783
Importing TimelineItem from .com and creating matching docs 2019-09-26 12:31:28 -07:00
simurai
206fd5ae62
Merge pull request #900 from primer/more-select-menu-improvements
More SelectMenu improvements
2019-09-26 09:30:04 +09:00
Shawn Allen
8d1433f739
Merge pull request #886 from primer/colebemis-patch-1
Use inline octicon in branch name example
2019-09-25 15:35:31 -07:00
Melissa Xie
a0948b073b
Move select menu list into the modal div
Otherwise the list won't actually show up.
2019-09-19 11:20:12 -04:00
simurai
279c87ebea Increase max-height 2019-09-16 22:11:17 +09:00
simurai
fb3a10aa9a Switch to bottom-border 2019-09-16 21:44:49 +09:00
Shawn Allen
6355e378a0
Merge pull request #896 from primer/redirect-layout
Redirect /objects/layout -> /objects/grid
2019-09-12 16:18:40 -07:00
Shawn Allen
d39e107533 restore /utilities/layout link; remove /objects/layout 2019-09-12 14:13:50 -07:00
Shawn Allen
5fe250da60 do the redirect in now.json 2019-09-12 14:08:23 -07:00
Shawn Allen
e4ce9e9c77
Merge pull request #895 from primer/shadow-live-preview
Upgrade Doctocat + update LivePreviewWrapper
2019-09-12 13:17:29 -07:00
Shawn Allen
3499e12f9e remove Layout nav item 2019-09-12 13:12:42 -07:00
Shawn Allen
b1a9d6d2c0 add redirect from /objects/layout -> /objects/grid 2019-09-12 13:11:23 -07:00
Emily Plummer
4726ce2515 add iframe to live preview wrapper 2019-09-12 13:04:46 -07:00
Emily Plummer
0d81915316 Update doctocat 2019-09-12 13:04:37 -07:00
simurai
3533fe4f37
Merge pull request #893 from primer/select-menu-improvements
Select Menu improvements
2019-09-12 20:14:55 +09:00
simurai
394753b462 Replace <menu> with <div> 2019-09-11 13:26:24 +09:00
Shawn Allen
fbdc634317
Merge pull request #662 from primer/remove_column_styles
Removing deprecated column grid styles
2019-09-10 13:38:46 -07:00
Jon Rohan
b9b0638eb1 Removing container grid styles and docs 2019-09-10 13:22:31 -07:00
Sophie Shepherd
13616aa017 Update buttons.md 2019-09-09 14:31:03 -07:00
Cole Bemis
53576f570b
Fix octicon in branch name example 2019-09-06 08:57:59 -07:00
Shawn Allen
9935981fb8
Merge pull request #862 from primer/input-dark
Import Dropdown component; add dark variants for dropdown and text fields
2019-09-05 16:08:57 -07:00
Shawn Allen
2e364037a9
Merge pull request #880 from primer/wb-break-word
Add .break-word, improve word-break docs
2019-09-05 15:22:13 -07:00
Shawn Allen
24b9250be9
white-space: none 2019-09-05 15:02:22 -07:00
Shawn Allen
aea11211bf
tidy up wb-break-all docs 2019-09-05 15:01:52 -07:00
Vinicius Depizzol
dfe0aaf36d adjust container wrap in dropdown examples 2019-09-05 14:34:33 -07:00
Vinicius Depizzol
21798b67f0 wrap dropdown examples in container to make them visibles 2019-09-05 14:34:11 -07:00
Shawn Allen
0951e2798a
improve word-break docs 2019-09-05 14:33:08 -07:00
Shawn Allen
3d1f4d956e
reword word breaking docs 2019-09-05 14:21:10 -07:00
Shawn Allen
8217df4f2e
status: "New release" -> "New" 2019-09-05 13:40:02 -07:00
Shawn Allen
bd92767634
tighten up dropdown docs front matter 2019-09-05 13:25:51 -07:00
Shawn Allen
c85b18fdd2 add [Map] link, move [changelog] href to footer 2019-09-05 12:32:03 -07:00
Shawn Allen
988bc9f306
"whos" → "whose"
Co-Authored-By: Zeke Sikelianos <zeke@sikelianos.com>
2019-09-05 12:27:05 -07:00
Shawn Allen
2484b3327e
add title front matter 2019-09-05 12:20:46 -07:00
Shawn Allen
e396213d91
add docs section for word-break utilities 2019-09-05 12:19:47 -07:00
Shawn Allen
034f1e01ee
fix semver links 2019-09-05 12:03:17 -07:00
Shawn Allen
c5ada08116 add deprecations page, nav item 2019-09-05 11:55:25 -07:00
Vinicius Depizzol
a0fb981997
use role="none" for dropdown dividers
Co-Authored-By: Shawn Allen <shawn.allen@github.com>
2019-09-03 16:03:24 -04:00
Daniel Castillo
8787c7b252
Fix flex-justify-start explanation 2019-09-01 18:15:48 +02:00
Shawn Allen
d099d1693d
Merge branch 'master' into update-nav 2019-08-27 11:19:55 -07:00
simurai
4f99e92708 Add Header + Pagination to the nav 2019-08-27 15:47:28 +09:00
simurai
6225457068 Add default background-color 2019-08-26 11:28:37 +09:00
simurai
9576243145
Merge pull request #867 from kiendang/patch-1
Update Colorable url
2019-08-23 11:39:31 +09:00
simurai
7fd6d37fba Merge branch 'master' into pr/867 2019-08-23 11:24:44 +09:00
simurai
887b233004 Update select-menu.md
Add erb to example
2019-08-22 15:57:11 +09:00
simurai
7aa838bac2 Use flexbox for the items 2019-08-22 15:43:15 +09:00
simurai
5a05ab549d Merge branch 'master' into select-menu-spacing 2019-08-22 11:30:48 +09:00
Shawn Allen
eeea839fb2
Merge branch 'master' into input-dark 2019-08-21 15:33:47 -07:00
simurai
00690d2d26
Switch source order for styleguide.css 2019-08-21 17:27:54 +09:00
simurai
39e4272ba2 🔥 Remove "JavaScript-powered"
<details> is now recommended.
2019-08-21 15:51:37 +09:00
simurai
fcf410b84d Update examples to work with doctocat 2019-08-21 15:19:43 +09:00
simurai
3125d00120 Merge branch 'master' into input-dark 2019-08-21 14:38:16 +09:00
Cole Bemis
12065bbf4b Add comment explaining postcss.config.js 2019-08-19 23:00:07 -07:00
Cole Bemis
20c8c53b88 Remove live-code-scope.js
... because we're not using Octicon components in live code examples
2019-08-19 22:53:33 -07:00
Cole Bemis
e7e1fd5c5f forms.md: Remove wrapping div 2019-08-19 22:47:37 -07:00
Cole Bemis
74b0bdc116 buttons.md: Remove wrapping divs 2019-08-19 22:45:18 -07:00
Cole Bemis
94d6a902f5 box.md: Fix html comment 2019-08-19 22:34:30 -07:00
Cole Bemis
11d9b37eb0 alert.md: Replace jsx examples with html examples 2019-08-19 22:31:53 -07:00