@indoqa/style-system
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3
@@ -0,3 +1,5 @@ | ||
import enforceLonghands from 'fela-enforce-longhands'; | ||
import monolithic from 'fela-monolithic'; | ||
import namedKeys from 'fela-plugin-named-keys'; | ||
import validator from 'fela-plugin-validator'; | ||
import webPreset from 'fela-preset-web'; | ||
@@ -16,5 +18,10 @@ import sortMediaQueryMobileFirst from 'fela-sort-media-query-mobile-first'; | ||
plugins: [...webPreset, createNamedKeys(breakpoints)], | ||
enhancers: [sortMediaQueryMobileFirst()], | ||
enhancers: [sortMediaQueryMobileFirst(), enforceLonghands()], | ||
devMode: false, | ||
}; | ||
if (process.env.NODE_ENV === 'development' && !disableDevMode) { | ||
config.plugins = [...webPreset, createNamedKeys(breakpoints), validator()]; | ||
config.enhancers = [monolithic({ prettySelectors: true }), sortMediaQueryMobileFirst(), enforceLonghands()]; | ||
config.devMode = true; | ||
} | ||
if (selectorPrefix) { | ||
@@ -26,8 +33,4 @@ config.selectorPrefix = selectorPrefix; | ||
} | ||
if (process.env.NODE_ENV === 'development' && !disableDevMode) { | ||
config.enhancers = [monolithic({ prettySelectors: true }), sortMediaQueryMobileFirst()]; | ||
config.devMode = true; | ||
} | ||
return config; | ||
} | ||
//# sourceMappingURL=createFelaConfig.js.map |
@@ -1,2 +0,1 @@ | ||
export * from './components/extendBox'; | ||
export * from './components/Box'; | ||
@@ -16,5 +15,4 @@ export * from './components/Flex'; | ||
export * from './fela/createFelaConfig'; | ||
export * from './fela/withRenderer'; | ||
export * from './theming/baseTheme'; | ||
export * from './theming/mediaQueryHelper'; | ||
export * from './theming/sortBreakpoints'; |
@@ -1,2 +0,1 @@ | ||
export * from './components/extendBox'; | ||
export * from './components/Box'; | ||
@@ -16,3 +15,2 @@ export * from './components/Flex'; | ||
export * from './fela/createFelaConfig'; | ||
export * from './fela/withRenderer'; | ||
export * from './theming/baseTheme'; | ||
@@ -19,0 +17,0 @@ export * from './theming/mediaQueryHelper'; |
@@ -58,3 +58,2 @@ import { IStyle } from 'fela'; | ||
readonly shadows: BaseShadows; | ||
readonly layout: {}; | ||
} | ||
@@ -61,0 +60,0 @@ export declare const typeScale: (level: number) => number; |
@@ -80,4 +80,3 @@ const typeScaleFactor = 1.333; | ||
}, | ||
layout: {}, | ||
}; | ||
//# sourceMappingURL=baseTheme.js.map |
{ | ||
"name": "@indoqa/style-system", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.0-alpha.3", | ||
"author": "Indoqa Software Design und Beratung GmbH (https://www.indoqa.com)", | ||
@@ -32,13 +32,18 @@ "description": "A style system for React with Typescript typed theme support and several base components.", | ||
"peerDependencies": { | ||
"fela": ">=11", | ||
"fela-monolithic": ">=11", | ||
"fela-plugin-named-keys": ">=11", | ||
"fela-preset-web": ">=11", | ||
"fela": ">=11.6", | ||
"fela-enforce-longhands": "^11.6.1", | ||
"fela-monolithic": ">=11.6", | ||
"fela-plugin-named-keys": ">=11.6", | ||
"fela-plugin-validator": ">=11.6", | ||
"fela-preset-web": ">=11.6", | ||
"fela-sort-media-query-mobile-first": ">=11.6", | ||
"react": ">=17", | ||
"react-fela": ">=11" | ||
"react-fela": ">=11.6" | ||
}, | ||
"devDependencies": { | ||
"fela": "^11.6.1", | ||
"fela-enforce-longhands": "^11.6.1", | ||
"fela-monolithic": "^11.6.1", | ||
"fela-plugin-named-keys": "^11.6.1", | ||
"fela-plugin-validator": "^11.6.1", | ||
"fela-preset-web": "^11.6.1", | ||
@@ -52,3 +57,3 @@ "fela-sort-media-query-mobile-first": "^11.6.1", | ||
}, | ||
"gitHead": "2182989830011a11b431eb5d9a1bb828ceae3799" | ||
"gitHead": "bbf2a4967903e9ec74192412b64a3625b7bae7c6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
123994
72
1773
10
9