Skip to content

Commit

Permalink
feat(treemap): add stories to demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Jun 26, 2020
1 parent ed1e58a commit 4b3241c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
28 changes: 16 additions & 12 deletions conf/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,25 +151,29 @@ capture:
# selector: '#chart'
# output: ./packages/waffle/doc/waffle-canvas.png

- path: /funnel
selector: '#chart'
output: ./packages/funnel/doc/funnel.png

#########################################################################
#
# ICONS
# capture charts' icons
#
#########################################################################

- path: /internal/icons/
selector: '#funnel-lightNeutral'
output: ./website/src/assets/icons/funnel-light-neutral.png
- path: /internal/icons/
selector: '#funnel-lightColored'
output: ./website/src/assets/icons/funnel-light-colored.png
- path: /internal/icons/
selector: '#funnel-darkNeutral'
output: ./website/src/assets/icons/funnel-dark-neutral.png
- path: /internal/icons/
selector: '#funnel-darkColored'
output: ./website/src/assets/icons/funnel-dark-colored.png
# - path: /internal/icons/
# selector: '#funnel-lightNeutral'
# output: ./website/src/assets/icons/funnel-light-neutral.png
# - path: /internal/icons/
# selector: '#funnel-lightColored'
# output: ./website/src/assets/icons/funnel-light-colored.png
# - path: /internal/icons/
# selector: '#funnel-darkNeutral'
# output: ./website/src/assets/icons/funnel-dark-neutral.png
# - path: /internal/icons/
# selector: '#funnel-darkColored'
# output: ./website/src/assets/icons/funnel-dark-colored.png

# - path: /internal/icons/
# selector: '#area-bump-lightNeutral'
Expand Down
8 changes: 6 additions & 2 deletions website/src/data/components/treemap/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ TreeMap:
- hierarchy
- svg
- isomorphic
stories: []
stories:
- label: Using custom tooltip
link: treemap--custom-tooltip
description: |
A tree map component using
[d3-hierarchy.treemap](https://github.com/d3/d3-hierarchy#treemap),
Expand All @@ -40,7 +42,9 @@ TreeMapHtml:
- hierarchy
- html
- isomorphic
stories: []
stories:
- label: Using custom tooltip
link: treemaphtml--custom-tooltip
description: |
A tree map component using
[d3-hierarchy.treemap](https://github.com/d3/d3-hierarchy#treemap),
Expand Down

0 comments on commit 4b3241c

Please sign in to comment.