From 19d580b26e6fadc8fa87f079e63551ba78ed6757 Mon Sep 17 00:00:00 2001 From: Razvan Dinicut Date: Mon, 8 Apr 2019 10:50:46 +0200 Subject: [PATCH] Extend box and update depencies (#23) * add styles and box superset * update depencies --- .storybook/src/components/section.js | 5 ++- .storybook/src/superset/box.js | 27 ++++++++++++++++ .storybook/src/theme/grommet.js | 7 ++++ package.json | 6 ++-- packages/axis-sample-package/package.json | 7 ++-- packages/modal/package.json | 7 ++-- packages/section/package.json | 7 ++-- packages/theme/package.json | 7 ++-- packages/theme/src/theme.js | 39 ++++++++++++++--------- 9 files changed, 78 insertions(+), 34 deletions(-) create mode 100644 .storybook/src/superset/box.js diff --git a/.storybook/src/components/section.js b/.storybook/src/components/section.js index 2bcfff8..ffc090a 100644 --- a/.storybook/src/components/section.js +++ b/.storybook/src/components/section.js @@ -12,7 +12,10 @@ storiesOf("3.Components | Section", module).add("default", () => { render() { return ( -
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin pellentesque, arcu vitae maximus pharetra, diam nulla porttitor diff --git a/.storybook/src/superset/box.js b/.storybook/src/superset/box.js new file mode 100644 index 0000000..e19c6b7 --- /dev/null +++ b/.storybook/src/superset/box.js @@ -0,0 +1,27 @@ +import React from "react"; +import { storiesOf } from "@storybook/react"; +import { AxisTheme } from "../../../packages/theme/src/"; +import {Box, Heading} from "grommet"; + +storiesOf("2.Superset | Box", module).add("responsiveChildren", () => ( + + <> + responsiveChildren = false + + + + + + + responsiveChildren = true + + + + + + + + + + +)); diff --git a/.storybook/src/theme/grommet.js b/.storybook/src/theme/grommet.js index 1caa142..1544246 100644 --- a/.storybook/src/theme/grommet.js +++ b/.storybook/src/theme/grommet.js @@ -121,6 +121,13 @@ class Components extends Component { + +