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

902 Commits

Author SHA1 Message Date
simurai
d0cc177570 Add line about dotcom usage 2020-03-11 10:20:25 +09:00
simurai
92370ca3ae Use .successed class
to make it work with <auto-check>
2020-03-11 10:08:05 +09:00
simurai
33509d584b Fix typo 2020-03-11 09:26:40 +09:00
simurai
b2b0e8fa99 Add valid tooltip 2020-03-11 09:19:50 +09:00
simurai
9c47c172db Add example for valid form input 2020-03-10 17:10:08 +09:00
simurai
9bc1cd41a6 Update labels.md 2020-03-03 11:18:12 +09:00
simurai
f53ce51c7c Document avatar sizes 2020-03-03 10:43:57 +09:00
simurai
eec4f29e52 Add size sticker sheet 2020-03-02 16:41:49 +09:00
simurai
9b599099bc Add stickersheet 2020-03-01 16:39:36 +09:00
simurai
766975cc2a Fix icon-only in buttons 2020-02-29 00:01:51 +09:00
simurai
0b8beb76e3 Add disabled state to .form-control 2020-02-28 15:24:55 +09:00
simurai
0826b442d1 Merge branch 'master' into next 2020-02-27 10:27:48 +09:00
simurai
902846e280 Delete navigation-refresh.md 2020-02-26 21:46:07 +09:00
Inayaili León
84a2de6c58
Box row unread typo
Closes https://github.com/primer/css/issues/826
2020-02-25 11:54:20 +00:00
simurai
ebd820cb99 Lint 2020-02-25 17:30:59 +09:00
simurai
14e54cce41 Make .Counter small by default 2020-02-25 16:58:36 +09:00
simurai
a07dfdc6d8 Update pagination 2020-02-25 16:21:17 +09:00
simurai
7bd8f34a43 Update SideNav 2020-02-25 14:50:42 +09:00
simurai
bf0d1d1f31 Update tabnav 2020-02-25 14:03:44 +09:00
simurai
468f8e62e2
Merge branch 'master' into fix-color-system-links 2020-02-25 10:02:30 +09:00
Joel Hawksley
9b4f44888c
Update box-overlay.md
Remove example that uses internal GitHub code
2020-02-24 15:37:20 -07:00
simurai
cd76c84b82 Update subnav 2020-02-24 22:47:41 +09:00
simurai
059f5ac9be Add bundle and source link 2020-02-24 16:43:45 +09:00
simurai
0dbb09ab4c
Merge pull request #1034 from primer/next-labels
Refresh labels
2020-02-24 10:05:21 +09:00
simurai
08c486383b 🔥 Remove custom labels again 2020-02-21 23:25:31 +09:00
simurai
baee0b5197
Merge branch 'master' into label-copy-edits 2020-02-21 22:53:23 +09:00
simurai
3361170e78 Add .Label--custom 2020-02-21 22:29:15 +09:00
Inayaili León
cf49faed4e
Small copy edits in labels
- A few typos
- Title to sentence case in issue labels
2020-02-21 12:34:37 +00:00
Inayaili León
c7824c0f87
Small text changes
- Removed empty table of contents section
- Fixed 2x "it's" typos
2020-02-21 12:21:04 +00:00
simurai
f455e6edc8 Update .Counter 2020-02-21 18:09:19 +09:00
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