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

1013 Commits

Author SHA1 Message Date
Shawn Allen
310d7839a0 refactor and clean up .md story loading 2017-09-13 00:52:41 -07:00
Shawn Allen
35ec6ba517 moar unist utils 2017-09-13 00:52:13 -07:00
Shawn Allen
09e2172f1f add title for code block 2017-09-13 00:00:12 -07:00
Shawn Allen
50c635566a simplify 2017-09-12 23:59:56 -07:00
Shawn Allen
1b6c2bdc9b parse titles from nearest heading or fence lang 2017-09-12 23:59:07 -07:00
Shawn Allen
85ca818998 wrap everything in div.p-4 2017-09-12 23:55:58 -07:00
Shawn Allen
1143a5e0da add parse-pairs and unist-util-visit 2017-09-12 23:55:42 -07:00
Shawn Allen
59b78300b3 add markdown story parser 2017-09-12 16:43:34 -07:00
Shawn Allen
ac2a619938 get stories from markdown! 2017-09-12 16:43:19 -07:00
Shawn Allen
44ca3abc1c add markdown parser dependencies 2017-09-12 16:43:10 -07:00
Shawn Allen
83d9422dc0 add raw-loader for markdown 2017-09-12 16:42:56 -07:00
Shawn Allen
34729b348e Merge pull request #343 from primer/stories-reorg
Reorganize stories into module directories
2017-09-12 12:03:39 -07:00
Shawn Allen
aba5f73b1a octicons -> Octicons 2017-09-12 10:57:06 -07:00
Shawn Allen
ff54e4633e move most stories into module directories 2017-09-12 10:57:06 -07:00
Shawn Allen
6afabb31dd import stories from modules/**/stories*.js 2017-09-12 10:57:06 -07:00
Shawn Allen
56d4d8968a Merge pull request #334 from primer/shawnbot/module-generator
Add new module generator
2017-09-11 16:01:42 -07:00
Shawn Allen
2abace0cc6 tidy up category logic 2017-09-11 15:23:49 -07:00
Shawn Allen
be9185e1d4 Merge branch 'dev' into shawnbot/module-generator 2017-09-11 10:22:26 -07:00
Diana Mounter
1908ce57ae Merge pull request #318 from primer/storybook
Primer Storybook
2017-09-08 22:31:26 -04:00
Shawn Allen
231c36614f Merge branch 'dev' into storybook 2017-09-08 17:30:54 -07:00
Shawn Allen
4d6ec8b464 add octicons story 2017-09-08 17:25:21 -07:00
Shawn Allen
3b2ec808bb load styleguide.js in previews 2017-09-08 16:54:29 -07:00
Shawn Allen
8703870033 add a note about duplicate postcss config 2017-09-08 16:51:32 -07:00
Shawn Allen
b58ab1019a nix set-json utility 2017-09-08 16:45:50 -07:00
Diana Mounter
10fe4f3e1b input-group isn't in Primer yet derp 2017-09-08 19:20:20 -04:00
Shawn Allen
6c8b02ec24 remove doc tests for primer-tables and primer-utilities 2017-09-08 16:13:19 -07:00
Diana Mounter
8774089e4c addon to make top left button say primer and link to primer.io 2017-09-08 18:53:27 -04:00
Diana Mounter
5cd0d0e8d1 add form validation 2017-09-08 18:30:00 -04:00
Shawn Allen
c6c682d027 update all package.json scripts to use top-level helpers 2017-09-08 14:05:33 -07:00
Shawn Allen
2ff4d194b8 use helper scripts in template package.json 2017-09-08 14:03:24 -07:00
Shawn Allen
57aa5ee89e add helper scripts for top-level deps
and write JSON with a newline
2017-09-08 13:46:44 -07:00
Shawn Allen
91e9bb7412 add --copy option to copy keys from other files 2017-09-08 13:04:40 -07:00
Shawn Allen
f86d9fc0e9 add set-json utility 2017-09-08 12:48:15 -07:00
Diana Mounter
1a2c89b383 add more form stories:
input-group, form-actions, label highlight, form-checkbox-details, and
form-group
2017-09-08 11:12:11 -04:00
Diana Mounter
e0dee8153c start adding form stories 2017-09-07 23:34:20 -04:00
Shawn Allen
02b7a48240 no need for the explicit lerna bootstrap now 2017-09-07 12:22:37 -07:00
Shawn Allen
919b1f8dd3 run bootstrap whenever we install 2017-09-07 12:18:14 -07:00
Shawn Allen
4128fd2de0 short-circuit other stuff for --help 2017-09-07 11:58:55 -07:00
Shawn Allen
1b3b14b459 prompt for dependents unles --no-dependents 2017-09-07 11:58:25 -07:00
Shawn Allen
92832181a3 don't be like clippy 2017-09-07 11:38:49 -07:00
Shawn Allen
ebd24a8433 add new, improved script for new module bootstrapping 2017-09-07 11:38:38 -07:00
Shawn Allen
f71e014f9d always prompt for meta-package dependents 2017-09-07 11:24:58 -07:00
Shawn Allen
d2dab70206 bind prompt functions to the generator 2017-09-07 11:19:54 -07:00
Shawn Allen
df541870d2 allow passing args to the generator via -- 2017-09-07 11:19:31 -07:00
Shawn Allen
62017c11a0 add more useful docs for generate() test helper 2017-09-07 11:08:35 -07:00
Shawn Allen
44fb66aba8 add back yo; run the generator via relative path 2017-09-07 11:02:35 -07:00
Shawn Allen
1fc5a0b49d better argument aliases 2017-09-07 11:00:10 -07:00
Shawn Allen
49d6853b62 refactor options to support CLI flags, cleanup 2017-09-07 10:49:11 -07:00
Shawn Allen
2f2e15851b remove yo from top-level package.json (ugh) 2017-09-06 16:58:49 -07:00
Shawn Allen
3949c02cd4 resolve primer modules relatively 2017-09-06 16:58:30 -07:00