Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

How to add Experimental Component Page

Alessandra Davila edited this page Nov 28, 2018 · 11 revisions
  1. Update carbon-components in package.json
  2. Copy component folder from /content/components to /experimental
  3. Delete images folder and style.md (to be added later by designers)
  4. Update usage.md file
    1. Update heading label to Experimental
    2. Remove style from tabs
    3. Remove any image references
  5. Update code.md file
    1. Update heading label to Experimental
    2. Remove style from tabs
    3. Remove react, angular and codepen props
    4. Add experimental=“true”
  6. Update navigation /data/navigation/navigation.json
  7. Update Component status /data/components.json

If there are html changes:

  1. Run gulp html:source -e in carbon-components repo
  2. Copy html of the component from /html/ to /src/html/
    1. You will need to make a new folder and file for the experimental html