Skip to content

Commit

Permalink
Add modal component to V3 (#443)
Browse files Browse the repository at this point in the history
* Expand stories

* Relax size limit

* Add unit tests

* Docs

* Update css and story

* Export styles

* Version bump: 3.33.0

* Update yarn lock

* Fix size limit script

* Use body tag as app root

Co-authored-by: Versionator <[email protected]>
  • Loading branch information
dpikt and lpluser authored Sep 1, 2020
1 parent cda5b21 commit f14db6e
Show file tree
Hide file tree
Showing 11 changed files with 520 additions and 299 deletions.
4 changes: 2 additions & 2 deletions .size-limit.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = [
{
path: 'lib',
limit: '180 KB',
path: 'lib/index.js',
limit: '185 KB',
ignore: ['react-dom'],
},
]
4 changes: 3 additions & 1 deletion .storybook/styles/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
// Base Styles
@import "base/typography";

// Exported component styles
@import "../../src/styles/modal";

// Components List
@import "components/buttons";
Expand All @@ -38,7 +40,6 @@
@import "components/forms";
@import "components/table";
@import "components/spinner";
@import "components/modal";
@import "components/flash";
@import "components/grid";
@import "components/empty-state";
Expand Down Expand Up @@ -67,3 +68,4 @@
// Page Styles
@import "pages/main";
@import "pages/styleguide";

107 changes: 0 additions & 107 deletions .storybook/styles/components/_modal.scss

This file was deleted.

Loading

0 comments on commit f14db6e

Please sign in to comment.