From a812d0e2a51bc0ae69e640cdb36ec17d024bee17 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Wed, 8 Jul 2020 03:22:38 -0300 Subject: [PATCH 1/7] Move Margins to the root level --- ...ng => chrome_iphone7_Layout_Margins_Default.png} | Bin ...g => chrome_iphone7_Layout_Margins_all_prop.png} | Bin ...o.png => chrome_iphone7_Layout_Margins_auto.png} | Bin ...chrome_iphone7_Layout_Margins_blockEnd_prop.png} | Bin ...rome_iphone7_Layout_Margins_blockStart_prop.png} | Bin ...=> chrome_iphone7_Layout_Margins_block_prop.png} | Bin ...hrome_iphone7_Layout_Margins_inlineEnd_prop.png} | Bin ...ome_iphone7_Layout_Margins_inlineStart_prop.png} | Bin ...> chrome_iphone7_Layout_Margins_inline_prop.png} | Bin ...rome_iphone7_Layout_Margins_negative_values.png} | Bin ...e.png => chrome_iphone7_Layout_Margins_none.png} | Bin ...png => chrome_laptop_Layout_Margins_Default.png} | Bin ...ng => chrome_laptop_Layout_Margins_all_prop.png} | Bin ...to.png => chrome_laptop_Layout_Margins_auto.png} | Bin ... chrome_laptop_Layout_Margins_blockEnd_prop.png} | Bin ...hrome_laptop_Layout_Margins_blockStart_prop.png} | Bin ... => chrome_laptop_Layout_Margins_block_prop.png} | Bin ...chrome_laptop_Layout_Margins_inlineEnd_prop.png} | Bin ...rome_laptop_Layout_Margins_inlineStart_prop.png} | Bin ...=> chrome_laptop_Layout_Margins_inline_prop.png} | Bin ...hrome_laptop_Layout_Margins_negative_values.png} | Bin ...ne.png => chrome_laptop_Layout_Margins_none.png} | Bin packages/fuselage/src/components/Box/index.js | 1 - packages/fuselage/src/components/Chip/index.js | 3 ++- .../src/components/{Box => }/Margins/index.js | 6 +++--- .../src/components/{Box => }/Margins/spec.js | 2 +- .../src/components/{Box => }/Margins/stories.mdx | 2 +- packages/fuselage/src/components/Modal/index.js | 3 ++- packages/fuselage/src/components/Options/index.js | 3 ++- .../fuselage/src/components/Select/MultiSelect.js | 3 ++- packages/fuselage/src/components/Select/Select.js | 3 ++- packages/fuselage/src/components/Table/index.js | 3 ++- packages/fuselage/src/components/index.js | 1 + 33 files changed, 18 insertions(+), 12 deletions(-) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_Default.png => chrome_iphone7_Layout_Margins_Default.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_all_prop.png => chrome_iphone7_Layout_Margins_all_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_auto.png => chrome_iphone7_Layout_Margins_auto.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_blockEnd_prop.png => chrome_iphone7_Layout_Margins_blockEnd_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_blockStart_prop.png => chrome_iphone7_Layout_Margins_blockStart_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_block_prop.png => chrome_iphone7_Layout_Margins_block_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_inlineEnd_prop.png => chrome_iphone7_Layout_Margins_inlineEnd_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_inlineStart_prop.png => chrome_iphone7_Layout_Margins_inlineStart_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_inline_prop.png => chrome_iphone7_Layout_Margins_inline_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_negative_values.png => chrome_iphone7_Layout_Margins_negative_values.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Box_Modifiers_Margins_none.png => chrome_iphone7_Layout_Margins_none.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_Default.png => chrome_laptop_Layout_Margins_Default.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_all_prop.png => chrome_laptop_Layout_Margins_all_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_auto.png => chrome_laptop_Layout_Margins_auto.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_blockEnd_prop.png => chrome_laptop_Layout_Margins_blockEnd_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_blockStart_prop.png => chrome_laptop_Layout_Margins_blockStart_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_block_prop.png => chrome_laptop_Layout_Margins_block_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_inlineEnd_prop.png => chrome_laptop_Layout_Margins_inlineEnd_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_inlineStart_prop.png => chrome_laptop_Layout_Margins_inlineStart_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_inline_prop.png => chrome_laptop_Layout_Margins_inline_prop.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_negative_values.png => chrome_laptop_Layout_Margins_negative_values.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Box_Modifiers_Margins_none.png => chrome_laptop_Layout_Margins_none.png} (100%) rename packages/fuselage/src/components/{Box => }/Margins/index.js (89%) rename packages/fuselage/src/components/{Box => }/Margins/spec.js (86%) rename packages/fuselage/src/components/{Box => }/Margins/stories.mdx (99%) diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_Default.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Default.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_Default.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Default.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_all_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_all_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_all_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_all_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_auto.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_auto.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_auto.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_auto.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_blockEnd_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_blockEnd_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_blockEnd_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_blockEnd_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_blockStart_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_blockStart_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_blockStart_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_blockStart_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_block_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_block_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_block_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_block_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inlineEnd_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inlineEnd_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inlineEnd_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inlineEnd_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inlineStart_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inlineStart_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inlineStart_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inlineStart_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inline_prop.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inline_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_inline_prop.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_inline_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_negative_values.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_negative_values.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_negative_values.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_negative_values.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_none.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_none.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Box_Modifiers_Margins_none.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_none.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_Default.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Default.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_Default.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Default.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_all_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_all_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_all_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_all_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_auto.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_auto.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_auto.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_auto.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_blockEnd_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_blockEnd_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_blockEnd_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_blockEnd_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_blockStart_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_blockStart_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_blockStart_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_blockStart_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_block_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_block_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_block_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_block_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inlineEnd_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inlineEnd_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inlineEnd_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inlineEnd_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inlineStart_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inlineStart_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inlineStart_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inlineStart_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inline_prop.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inline_prop.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_inline_prop.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_inline_prop.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_negative_values.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_negative_values.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_negative_values.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_negative_values.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_none.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_none.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Box_Modifiers_Margins_none.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_none.png diff --git a/packages/fuselage/src/components/Box/index.js b/packages/fuselage/src/components/Box/index.js index 1149a27e20..34238d49b2 100644 --- a/packages/fuselage/src/components/Box/index.js +++ b/packages/fuselage/src/components/Box/index.js @@ -95,6 +95,5 @@ Box.defaultProps = { export { default as AnimatedVisibility } from './AnimatedVisibility'; export { default as Flex } from './Flex'; -export { default as Margins } from './Margins'; export { default as Position, PositionAnimated } from './Position'; export { default as Scrollable } from './Scrollable'; diff --git a/packages/fuselage/src/components/Chip/index.js b/packages/fuselage/src/components/Chip/index.js index 5d63274fa6..a2d078cdc7 100644 --- a/packages/fuselage/src/components/Chip/index.js +++ b/packages/fuselage/src/components/Chip/index.js @@ -1,8 +1,9 @@ import React from 'react'; import { Avatar } from '../Avatar'; -import { Box, Flex, Margins } from '../Box'; +import { Box, Flex } from '../Box'; import { Icon } from '../Icon'; +import Margins from '../Margins'; const ThumbDefault = ({ url }) => ; const RemoveDefault = () => ; diff --git a/packages/fuselage/src/components/Box/Margins/index.js b/packages/fuselage/src/components/Margins/index.js similarity index 89% rename from packages/fuselage/src/components/Box/Margins/index.js rename to packages/fuselage/src/components/Margins/index.js index c6df1921c8..0ab7fe5c71 100644 --- a/packages/fuselage/src/components/Box/Margins/index.js +++ b/packages/fuselage/src/components/Margins/index.js @@ -1,8 +1,8 @@ import React, { useCallback } from 'react'; -import { BoxTransforms, useComposedBoxTransform } from '../transforms'; -import { createPropType } from '../../../helpers/createPropType'; -import { margin } from '../../../styleTokens'; +import { BoxTransforms, useComposedBoxTransform } from '../Box/transforms'; +import { createPropType } from '../../helpers/createPropType'; +import { margin } from '../../styleTokens'; function Margins({ children, diff --git a/packages/fuselage/src/components/Box/Margins/spec.js b/packages/fuselage/src/components/Margins/spec.js similarity index 86% rename from packages/fuselage/src/components/Box/Margins/spec.js rename to packages/fuselage/src/components/Margins/spec.js index 865c3cf372..a3572df6ba 100644 --- a/packages/fuselage/src/components/Box/Margins/spec.js +++ b/packages/fuselage/src/components/Margins/spec.js @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import { Margins } from '../../..'; +import { Margins } from '../..'; it('renders without crashing', () => { const div = document.createElement('div'); diff --git a/packages/fuselage/src/components/Box/Margins/stories.mdx b/packages/fuselage/src/components/Margins/stories.mdx similarity index 99% rename from packages/fuselage/src/components/Box/Margins/stories.mdx rename to packages/fuselage/src/components/Margins/stories.mdx index 7e45e53331..1cf510f871 100644 --- a/packages/fuselage/src/components/Box/Margins/stories.mdx +++ b/packages/fuselage/src/components/Margins/stories.mdx @@ -2,7 +2,7 @@ import { Meta, Preview, Props, Story } from '@storybook/addon-docs/blocks'; import { Box, Button, ButtonGroup, Flex, Margins, Tile } from '../../..'; - + # Margins diff --git a/packages/fuselage/src/components/Modal/index.js b/packages/fuselage/src/components/Modal/index.js index a5ad9cd3ce..30ea36d0d6 100644 --- a/packages/fuselage/src/components/Modal/index.js +++ b/packages/fuselage/src/components/Modal/index.js @@ -1,9 +1,10 @@ import React from 'react'; import { Avatar } from '../Avatar'; -import { Box, Flex, Margins, Scrollable } from '../Box'; +import { Box, Flex, Scrollable } from '../Box'; import { Button } from '../Button'; import { Icon } from '../Icon'; +import Margins from '../Margins'; import { Tile } from '../Tile'; import { ModalBackdrop, ModalContainer, ModalPortal, ModalStack, useModalStack } from './Stack'; diff --git a/packages/fuselage/src/components/Options/index.js b/packages/fuselage/src/components/Options/index.js index 0ebd21ba60..b6089c1d9d 100644 --- a/packages/fuselage/src/components/Options/index.js +++ b/packages/fuselage/src/components/Options/index.js @@ -1,9 +1,10 @@ import React, { useCallback, useLayoutEffect, useState, forwardRef, useMemo } from 'react'; -import { AnimatedVisibility, Box, Flex, Margins, Scrollable } from '../Box'; import { Avatar } from '../Avatar'; +import { AnimatedVisibility, Box, Flex, Scrollable } from '../Box'; import { CheckBox } from '../CheckBox'; +import Margins from '../Margins'; import { Tile } from '../Tile'; export const ACTIONS = { diff --git a/packages/fuselage/src/components/Select/MultiSelect.js b/packages/fuselage/src/components/Select/MultiSelect.js index 8ca3fe0731..4ed054ae87 100644 --- a/packages/fuselage/src/components/Select/MultiSelect.js +++ b/packages/fuselage/src/components/Select/MultiSelect.js @@ -1,9 +1,10 @@ import React, { useState, useRef, useEffect, useCallback } from 'react'; -import { AnimatedVisibility, Box, Flex, Margins, Position } from '../Box'; +import { AnimatedVisibility, Box, Flex, Position } from '../Box'; import { Chip } from '../Chip'; import { Icon } from '../Icon'; import { InputBox } from '../InputBox'; +import Margins from '../Margins'; import { Options, CheckOption, useCursor } from '../Options'; import { Focus, Addon } from './Select'; diff --git a/packages/fuselage/src/components/Select/Select.js b/packages/fuselage/src/components/Select/Select.js index 8c5b35608b..f3a6b8d589 100644 --- a/packages/fuselage/src/components/Select/Select.js +++ b/packages/fuselage/src/components/Select/Select.js @@ -1,8 +1,9 @@ import React, { useState, useLayoutEffect, useRef, useCallback, useEffect, forwardRef } from 'react'; -import { PositionAnimated, Box, Flex, Margins, AnimatedVisibility } from '../Box'; +import { PositionAnimated, Box, Flex, AnimatedVisibility } from '../Box'; import { Icon } from '../Icon'; import { InputBox } from '../InputBox'; +import Margins from '../Margins'; import { Options, useCursor } from '../Options'; export const Addon = forwardRef((props, ref) => ); diff --git a/packages/fuselage/src/components/Table/index.js b/packages/fuselage/src/components/Table/index.js index 2556c81637..6da7182c49 100644 --- a/packages/fuselage/src/components/Table/index.js +++ b/packages/fuselage/src/components/Table/index.js @@ -1,8 +1,9 @@ import PropTypes from 'prop-types'; import React, { createContext, useContext } from 'react'; -import { Box, Margins } from '../Box'; +import { Box } from '../Box'; import { Button } from '../Button'; +import Margins from '../Margins'; const style = { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', diff --git a/packages/fuselage/src/components/index.js b/packages/fuselage/src/components/index.js index db2acb334a..165a70e22a 100644 --- a/packages/fuselage/src/components/index.js +++ b/packages/fuselage/src/components/index.js @@ -17,6 +17,7 @@ export * from './Grid'; export * from './Icon'; export * from './InputBox'; export * from './Label'; +export { default as Margins } from './Margins'; export * from './Menu'; export * from './Modal'; export * from './NumberInput'; From 50e0b1d17546447e7d24790a89588f750d23ab80 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Wed, 8 Jul 2020 14:26:32 -0300 Subject: [PATCH 2/7] Rename some Box stories --- ...chrome_iphone7_Layout_Margins_Example.png} | Bin ...phone7_Layout_Margins_With_auto_value.png} | Bin ...7_Layout_Margins_With_negative_values.png} | Bin ...phone7_Layout_Margins_With_none_value.png} | Bin ... chrome_laptop_Layout_Margins_Example.png} | Bin ...laptop_Layout_Margins_With_auto_value.png} | Bin ...p_Layout_Margins_With_negative_values.png} | Bin ...laptop_Layout_Margins_With_none_value.png} | Bin .../src/components/Margins/stories.mdx | 48 +++++++++--------- 9 files changed, 24 insertions(+), 24 deletions(-) rename packages/fuselage/.loki/reference/{chrome_iphone7_Layout_Margins_Default.png => chrome_iphone7_Layout_Margins_Example.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Layout_Margins_auto.png => chrome_iphone7_Layout_Margins_With_auto_value.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Layout_Margins_negative_values.png => chrome_iphone7_Layout_Margins_With_negative_values.png} (100%) rename packages/fuselage/.loki/reference/{chrome_iphone7_Layout_Margins_none.png => chrome_iphone7_Layout_Margins_With_none_value.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Layout_Margins_Default.png => chrome_laptop_Layout_Margins_Example.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Layout_Margins_auto.png => chrome_laptop_Layout_Margins_With_auto_value.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Layout_Margins_negative_values.png => chrome_laptop_Layout_Margins_With_negative_values.png} (100%) rename packages/fuselage/.loki/reference/{chrome_laptop_Layout_Margins_none.png => chrome_laptop_Layout_Margins_With_none_value.png} (100%) diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Default.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Example.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Default.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_Example.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_auto.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_auto_value.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_auto.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_auto_value.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_negative_values.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_negative_values.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_negative_values.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_negative_values.png diff --git a/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_none.png b/packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_none_value.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_none.png rename to packages/fuselage/.loki/reference/chrome_iphone7_Layout_Margins_With_none_value.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Default.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Example.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Default.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_Example.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_auto.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_auto_value.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_auto.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_auto_value.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_negative_values.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_negative_values.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_negative_values.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_negative_values.png diff --git a/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_none.png b/packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_none_value.png similarity index 100% rename from packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_none.png rename to packages/fuselage/.loki/reference/chrome_laptop_Layout_Margins_With_none_value.png diff --git a/packages/fuselage/src/components/Margins/stories.mdx b/packages/fuselage/src/components/Margins/stories.mdx index 1cf510f871..deccabb2b3 100644 --- a/packages/fuselage/src/components/Margins/stories.mdx +++ b/packages/fuselage/src/components/Margins/stories.mdx @@ -1,6 +1,6 @@ import { Meta, Preview, Props, Story } from '@storybook/addon-docs/blocks'; -import { Box, Button, ButtonGroup, Flex, Margins, Tile } from '../../..'; +import { Box, Button, ButtonGroup, Flex, Margins, Tile } from '../..'; @@ -9,7 +9,7 @@ import { Box, Button, ButtonGroup, Flex, Margins, Tile } from '../../..'; Add margins to the wrapped component. - +