Vinicius Depizzol
7a5a82edc2
Include GitHub's stylesheet.css in storybook head
...
A couple of Primer CSS components need GitHub's stylesheet.css to render correctly (I'm looking at you, dropdown). This adds it to the Storybook config directory along with preexisting stylesheet.js.
2019-07-29 13:04:59 -07:00
Shawn Allen
88ce5e96f4
storybook: bump octicons CSS version
2019-03-07 14:42:03 -08:00
Shawn Allen
e70dbf671a
storybook: update path to pages
2019-03-07 14:41:36 -08:00
Shawn Allen
ea7d3eaeb4
storybook: move Primer breakpoints up, bring back p-4 wrapper
2019-03-06 11:12:20 -08:00
Shawn Allen
a916e2a6d8
storybook: reorg viewports, nix p-4 wrapper
2019-03-06 11:01:24 -08:00
Shawn Allen
6b52b02b46
chore(storybook): lib/storieFromMarkdown -> story-loader
2019-03-05 22:10:06 -08:00
Shawn Allen
831a0af54a
chore(storybook): lint
2019-03-05 22:07:53 -08:00
Shawn Allen
709902e060
lint(storybook): add .storybook/.eslintrc.json
2019-03-05 22:07:37 -08:00
Shawn Allen
fd17234357
fix(storybook): refactor lib/storiesFromMarkdown as webpack loader
2019-03-05 21:44:11 -08:00
Shawn Allen
cb8fd138c9
fix(storybook): make it work?
2019-03-05 21:43:02 -08:00
Shawn Allen
cd1ce5f0c5
replace @storybook/addon-options with addon-vieport
2019-03-05 21:42:23 -08:00
Shawn Allen
b202d4aa4f
fix(storybook): remove .babelrc, postcss.config.js
2019-03-05 21:12:10 -08:00
Shawn Allen
63308dfc75
fix(storybook): remove Octicon stories
2019-03-05 21:11:56 -08:00
Shawn Allen
88b890d961
fix(storybook): use the top-level postcss config
2019-03-04 10:22:44 -08:00
Shawn Allen
c589db83e8
fix bad merge
2018-10-17 14:58:35 -07:00
Shawn Allen
a221b4f22b
Merge branch 'master' into shawnbot/code-blocks
2018-10-17 14:03:43 -07:00
Shawn Allen
50fb58b110
simplify h/t @mislav
2018-03-27 10:11:40 -07:00
Shawn Allen
1c623ea5ec
refactor storiesFromMarkdown() a bit
2018-03-26 16:12:51 -07:00
Shawn Allen
8d4fad41bb
🙊
2018-03-26 16:12:51 -07:00
Shawn Allen
2b2d91b4f7
splice out Markdown loaders for raw-loader
...
See: https://github.com/primer/primer/issues/463#issuecomment-376301969
2018-03-26 16:12:51 -07:00
Jon Rohan
e2a0c89710
Pulling in markdown components from all the rest of the modules
2018-01-09 15:27:14 -08:00
Jon Rohan
9c4c641e96
Adding version to the title
2018-01-09 10:18:34 -08:00
Diana Mounter
b2d85bdb75
remove first require context so ordering in nav is more senseible
2017-11-10 16:45:06 -05:00
Jon Rohan
fdabbb6ea0
Renaming primer-css to primer
2017-11-09 09:41:18 -08:00
Jon Rohan
49e98ce4ef
Don't let extra attributes not match
2017-11-06 10:42:23 -08:00
Jon Rohan
1779f0e452
Use const here.
2017-11-02 12:45:11 -07:00
Jon Rohan
b93f58eb0c
Updating storiesFromMarkdown to read in rails octicons helper and replace with react component
2017-11-02 12:42:05 -07:00
Jon Rohan
5d9fb5be26
Remove react inline svg and import octicons css
2017-10-27 10:05:04 -07:00
Jon Rohan
958afb1032
Merge branch 'release-10.0.0' into import-input-groups
2017-10-27 09:26:16 -07:00
Jon Rohan
c1e20c39bf
Fixing octicons stories
2017-10-24 11:05:55 -07:00
Shawn Allen
d91d9cd9f9
simplify octicons story to get it working
2017-10-09 15:54:30 -07:00
Shawn Allen
367c079913
use "full control" webpack config mode
2017-10-09 15:44:56 -07:00
Shawn Allen
0e8fd3ce69
add babel-preset-env and custom .babelrc
2017-10-09 15:44:36 -07:00
Shawn Allen
107d446093
Merge branch 'dev' into import-input-groups
2017-09-22 13:09:55 -07:00
Shawn Allen
bf42bd393e
use code-blocks
2017-09-20 22:39:44 -07:00
Shawn Allen
ba5937cfba
nix unused unist-util-visit module
2017-09-15 15:58:04 -06:00
Shawn Allen
310d7839a0
refactor and clean up .md story loading
2017-09-13 00:52:41 -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
59b78300b3
add markdown story parser
2017-09-12 16:43:34 -07:00
Shawn Allen
83d9422dc0
add raw-loader for markdown
2017-09-12 16:42:56 -07:00
Shawn Allen
82b92d4bf1
wrap everything in div.p-4
2017-09-12 14:05:42 -07:00
Shawn Allen
8c62991077
export Octicon react element
2017-09-12 13:09:56 -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
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
Diana Mounter
10fe4f3e1b
input-group isn't in Primer yet derp
2017-09-08 19:20:20 -04:00