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
71dc6f08ba
import input-group SCSS
2017-09-11 17:14:44 -07:00
Shawn Allen
6498a0f1b2
import subhead component (product)
2017-09-11 16:50:31 -07:00
Shawn Allen
03a20fc9a7
Merge remote-tracking branch 'origin/dev' into import-branch-name
2017-09-11 16:01:57 -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
a1d8caef85
treat ERB helpers as class name providers
...
This adds a regex for documentation that essentially assumes ERB helpers
like `<%= octicon("x") %>` will generate an element with the `octicon`
class. cc @jonrohan
2017-09-11 15:58:49 -07:00
Shawn Allen
aac4825360
add branch-name SCSS and readme
2017-09-11 15:48:36 -07:00
Shawn Allen
7a7222893a
clean up doc tests
2017-09-11 15:48:20 -07:00
Shawn Allen
2abace0cc6
tidy up category logic
2017-09-11 15:23:49 -07:00
Shawn Allen
4d603c9ea5
initial import of branch-name component
2017-09-11 14:28:47 -07:00
Jon Rohan
0e6ce706ae
Merge branch 'dev' into primer-breadcrumbs-core
2017-09-11 11:52:53 -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
Shawn Allen
f9dbd4e4dd
expose "lib" (module w/o "primer-" prefix)
2017-09-06 16:53:29 -07:00
Shawn Allen
ad59be5797
clean up; fix typo
2017-09-06 16:36:14 -07:00
Shawn Allen
723c514be8
tweak npm scripts for generator-primer-module
2017-09-06 16:35:59 -07:00
Shawn Allen
c98dbffa6a
add more tests
2017-09-06 15:56:55 -07:00
Shawn Allen
828dd086c3
clean up, add more tests
2017-09-06 15:33:36 -07:00