From 435bce2f85924c866015e90c47289667803907e6 Mon Sep 17 00:00:00 2001 From: Michele Piccirillo Date: Wed, 22 Jan 2020 12:12:10 +0100 Subject: [PATCH] Move back StyleSheet -> stylesheet --- src/components/Artboard.tsx | 2 +- src/components/Image.tsx | 2 +- src/components/Page.tsx | 2 +- src/components/Svg/Svg.tsx | 2 +- src/components/Text.tsx | 2 +- src/components/View.tsx | 2 +- src/index.common.ts | 2 +- src/{StyleSheet => stylesheet}/expandStyle.ts | 0 src/{StyleSheet => stylesheet}/index.ts | 0 src/{StyleSheet => stylesheet}/types.ts | 0 src/symbol.tsx | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename src/{StyleSheet => stylesheet}/expandStyle.ts (100%) rename src/{StyleSheet => stylesheet}/index.ts (100%) rename src/{StyleSheet => stylesheet}/types.ts (100%) diff --git a/src/components/Artboard.tsx b/src/components/Artboard.tsx index df1c12ca..6e0bbbe1 100644 --- a/src/components/Artboard.tsx +++ b/src/components/Artboard.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { or } from 'airbnb-prop-types'; -import StyleSheet from '../StyleSheet'; +import StyleSheet from '../stylesheet'; import ViewStylePropTypes from './ViewStylePropTypes'; const ViewportPropTypes = { diff --git a/src/components/Image.tsx b/src/components/Image.tsx index 59513052..ce8a281d 100644 --- a/src/components/Image.tsx +++ b/src/components/Image.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { or } from 'airbnb-prop-types'; -import StyleSheet from '../StyleSheet'; +import StyleSheet from '../stylesheet'; import ResizeModePropTypes from './ResizeModePropTypes'; import ImageStylePropTypes from './ImageStylePropTypes'; import { ViewPropTypes } from './View'; diff --git a/src/components/Page.tsx b/src/components/Page.tsx index 3dbb84cd..606cb272 100644 --- a/src/components/Page.tsx +++ b/src/components/Page.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { or } from 'airbnb-prop-types'; -import StyleSheet from '../StyleSheet'; +import StyleSheet from '../stylesheet'; import PageStylePropTypes from './PageStylePropTypes'; export const PagePropTypes = { diff --git a/src/components/Svg/Svg.tsx b/src/components/Svg/Svg.tsx index f455e9ef..6c8b6610 100755 --- a/src/components/Svg/Svg.tsx +++ b/src/components/Svg/Svg.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ViewPropTypes } from '../View'; -import StyleSheet from '../../StyleSheet'; +import StyleSheet from '../../stylesheet'; import Circle from './Circle'; import ClipPath from './ClipPath'; import Defs from './Defs'; diff --git a/src/components/Text.tsx b/src/components/Text.tsx index 0a73d693..0d20facd 100644 --- a/src/components/Text.tsx +++ b/src/components/Text.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { or } from 'airbnb-prop-types'; -import StyleSheet from '../StyleSheet'; +import StyleSheet from '../stylesheet'; import TextStylePropTypes from './TextStylePropTypes'; import { ViewPropTypes } from './View'; diff --git a/src/components/View.tsx b/src/components/View.tsx index 2b491caf..de4b3569 100644 --- a/src/components/View.tsx +++ b/src/components/View.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { or } from 'airbnb-prop-types'; -import StyleSheet from '../StyleSheet'; +import StyleSheet from '../stylesheet'; import ViewStylePropTypes from './ViewStylePropTypes'; import ResizingConstraintPropTypes from './ResizingConstraintPropTypes'; import ShadowsPropTypes from './ShadowsPropTypes'; diff --git a/src/index.common.ts b/src/index.common.ts index 2ce39c5c..1f1b4534 100644 --- a/src/index.common.ts +++ b/src/index.common.ts @@ -1,4 +1,4 @@ export { default as Platform } from './Platform'; -export { default as StyleSheet } from './StyleSheet'; +export { default as StyleSheet } from './stylesheet'; export * from './components'; export { getSymbolComponentByName, getSymbolMasterByName, injectSymbols } from './symbol'; diff --git a/src/StyleSheet/expandStyle.ts b/src/stylesheet/expandStyle.ts similarity index 100% rename from src/StyleSheet/expandStyle.ts rename to src/stylesheet/expandStyle.ts diff --git a/src/StyleSheet/index.ts b/src/stylesheet/index.ts similarity index 100% rename from src/StyleSheet/index.ts rename to src/stylesheet/index.ts diff --git a/src/StyleSheet/types.ts b/src/stylesheet/types.ts similarity index 100% rename from src/StyleSheet/types.ts rename to src/stylesheet/types.ts diff --git a/src/symbol.tsx b/src/symbol.tsx index 3bc9c4ce..fe2faba4 100644 --- a/src/symbol.tsx +++ b/src/symbol.tsx @@ -3,7 +3,7 @@ import * as PropTypes from 'prop-types'; import { FileFormat1 as FileFormat } from '@sketch-hq/sketch-file-format-ts'; import convertJsonToSketch from './jsonUtils/sketchJson/convertJsonToSketch'; import convertSketchToJson from './jsonUtils/sketchJson/convertSketchToJson'; -import StyleSheet from './StyleSheet'; +import StyleSheet from './stylesheet'; import { generateID } from './jsonUtils/models'; import ViewStylePropTypes from './components/ViewStylePropTypes'; import ResizingConstraintPropTypes from './components/ResizingConstraintPropTypes';