Skip to content
Permalink
Browse files

feat(illustration): add empty state illustrations (#3041)

* feat(illustration): add illustration component

* feat(illustration): add empty state illustrations

* feat(illustration): remove vector-effect property

* feat(illustration): add addition svgs

* feat(illustration): fix lint error

* feat(illiustration): fix linter errors

* feat(illiustration): fix vnu errors

* feat(illustration): add classnames to svg elements

* feat(illustration): edit svg attributes

* feat(illustration): create docblocks

* feat(illustration): add snapshots

* feat(illustrations): update snapshots

* feat(illustration): add call to action variants and improve docs

* feat(illustrations): update snapshots

* chore(illustration): remove ids

chore(illustration): remove ids

* chore(illustration): clean up svgs

chore(illustration): update tests

* chore(illustration): update snapshots

* chore(illustration): use lorum ipsum

* chore(illustration): update tests

* chore(illustration): add tokens

* fix(illustration): doc fixes and text longform

fix(illustration): update tests
  • Loading branch information...
engai committed Feb 8, 2018
1 parent 9d7b861 commit a1824e03fa41d6ab900dd4e6d882eb30b6260198
Showing with 55,840 additions and 2 deletions.
  1. +8 −2 scripts/gulp/lint.js
  2. +194 −0 test/__tests__/__snapshots__/Error_alert.json
  3. +105 −0 test/__tests__/__snapshots__/Illustration_Base.json
  4. +1,289 −0 test/__tests__/__snapshots__/Illustration_Desert.json
  5. +2,416 −0 test/__tests__/__snapshots__/Illustration_Fishing_Deals.json
  6. +2,359 −0 test/__tests__/__snapshots__/Illustration_Going_Camping.json
  7. +1,473 −0 test/__tests__/__snapshots__/Illustration_Gone_Fishing.json
  8. +1,551 −0 test/__tests__/__snapshots__/Illustration_Lake_Mountain.json
  9. +1,553 −0 test/__tests__/__snapshots__/Illustration_Maintenance.json
  10. +2,089 −0 test/__tests__/__snapshots__/Illustration_No_Access.json
  11. +2,040 −0 test/__tests__/__snapshots__/Illustration_No_Access_2.json
  12. +1,956 −0 test/__tests__/__snapshots__/Illustration_No_Connection.json
  13. +2,097 −0 test/__tests__/__snapshots__/Illustration_No_Content.json
  14. +1,757 −0 test/__tests__/__snapshots__/Illustration_No_Events.json
  15. +2,296 −0 test/__tests__/__snapshots__/Illustration_No_Preview.json
  16. +1,523 −0 test/__tests__/__snapshots__/Illustration_No_Task.json
  17. +1,338 −0 test/__tests__/__snapshots__/Illustration_Not_Available_In_Lightning.json
  18. +1,650 −0 test/__tests__/__snapshots__/Illustration_One_CTA_Button.json
  19. +1,650 −0 test/__tests__/__snapshots__/Illustration_One_CTA_Button_Brand.json
  20. +1,650 −0 test/__tests__/__snapshots__/Illustration_One_CTA_Link.json
  21. +1,513 −0 test/__tests__/__snapshots__/Illustration_Open_Road.json
  22. +1,979 −0 test/__tests__/__snapshots__/Illustration_Page_Not_Available.json
  23. +2,829 −0 test/__tests__/__snapshots__/Illustration_Preview.json
  24. +2,118 −0 test/__tests__/__snapshots__/Illustration_Research.json
  25. +2,011 −0 test/__tests__/__snapshots__/Illustration_Setup.json
  26. +60 −0 test/__tests__/__snapshots__/Illustration_Text_Only_Heading.json
  27. +74 −0 test/__tests__/__snapshots__/Illustration_Text_Only_Heading_and_Message.json
  28. +60 −0 test/__tests__/__snapshots__/Illustration_Text_Only_Message.json
  29. +1,674 −0 test/__tests__/__snapshots__/Illustration_Two_CTA.json
  30. +1,528 −0 test/__tests__/__snapshots__/Illustration_Walkthrough_Not_Available.json
  31. +2,430 −0 test/__tests__/__snapshots__/Illustration_With_Message.json
  32. +194 −0 test/__tests__/__snapshots__/Informational_alert.json
  33. +194 −0 test/__tests__/__snapshots__/Offline_alert.json
  34. +194 −0 test/__tests__/__snapshots__/Warning_alert.json
  35. +3 −0 ui/components/_index.scss
  36. +19 −0 ui/components/illustration/_doc.scss
  37. +70 −0 ui/components/illustration/base/_index.scss
  38. +356 −0 ui/components/illustration/base/example.jsx
  39. +1,758 −0 ui/components/illustration/custom/index.jsx
  40. +402 −0 ui/components/illustration/docs.mdx
  41. +1,673 −0 ui/components/illustration/error/index.jsx
  42. +738 −0 ui/components/illustration/informational/index.jsx
  43. +2,432 −0 ui/components/illustration/misc/index.jsx
  44. +523 −0 ui/components/illustration/nodata/index.jsx
  45. +14 −0 ui/components/illustration/tokens/stroke-color.yml
@@ -92,7 +92,13 @@ gulp.task('lint:html', ['generate:wrappedexamples'], () => {
// Rules documentation:
// https://github.com/yaniswang/HTMLHint/wiki/Rules
'alt-require': true,
'attr-lowercase': ['viewBox', 'preserveAspectRatio'],
'attr-lowercase': [
'viewBox',
'preserveAspectRatio',
'filterUnits',
'gradientTransform',
'stdDeviation'
],
'attr-no-duplication': true,
'attr-unsafe-chars': true,
'attr-value-double-quotes': true,
@@ -104,7 +110,7 @@ gulp.task('lint:html', ['generate:wrappedexamples'], () => {
'src-not-empty': true,
'tag-pair': true,
'tag-self-close': true,
'tagname-lowercase': true,
'tagname-lowercase': false,
'title-require': true,
// TODO: enable when https://github.com/yaniswang/HTMLHint/issues/139 is fixed
// as <div>&lt;div></div> raises errors at the moment

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit a1824e0

Please sign in to comment.
You can’t perform that action at this time.