forgecss 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fx.d.ts ADDED
@@ -0,0 +1 @@
1
+ export default function fx(classes: string): string;
package/fx.js ADDED
@@ -0,0 +1,3 @@
1
+ import forgeCSSExpressionTransformer from "./client/fx.js";
2
+
3
+ export default forgeCSSExpressionTransformer;
package/index.js CHANGED
@@ -2,9 +2,6 @@ import getAllFiles from "./lib/getAllFiles.js";
2
2
  import { extractStyles } from "./lib/styles.js";
3
3
  import { extractDeclarations } from "./lib/processFile.js";
4
4
  import { generateOutputCSS } from "./lib/generator.js";
5
- import forgeCSSExpressionTransformer from './client/fx.js';
6
-
7
- export const fx = forgeCSSExpressionTransformer;
8
5
 
9
6
  const DEFAULT_OPTIONS = {
10
7
  styles: {
package/lib/generator.js CHANGED
@@ -5,7 +5,6 @@ import { createMediaStyle } from "./styles.js";
5
5
  export async function generateOutputCSS(config) {
6
6
  const cache = {};
7
7
  const declarations = getDeclarations();
8
- console.log(declarations);
9
8
  Object.keys(declarations).map((file) => {
10
9
  Object.keys(declarations[file]).forEach(async (label) => {
11
10
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgecss",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "ForgeCSS turns strings into fully generated responsive CSS using a custom DSL.",
6
6
  "author": "Krasimir Tsonev",