@navita/css 0.2.0 → 0.2.1

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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { StyleRule, GlobalStyleRule, CSSKeyframes, FontFaceRule, NullableTokens, ThemeVars, Tokens, Contract, MapLeafNodes, CSSVarFunction } from '@navita/types';
2
+ export * from '@navita/types';
2
3
 
3
4
  declare function style(rule: StyleRule): string;
4
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navita/css",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Public API for Navita",
5
5
  "keywords": [
6
6
  "api",
package/vars.cjs CHANGED
@@ -29,7 +29,7 @@ function fallbackVar(...values) {
29
29
  }
30
30
  function assignVars(varContract, tokens) {
31
31
  const varSetters = {};
32
- const { valid , diffString } = validateContract.validateContract(varContract, tokens);
32
+ const { valid, diffString } = validateContract.validateContract(varContract, tokens);
33
33
  if (!valid) {
34
34
  throw new Error(`Tokens don't match contract.\n${diffString}`);
35
35
  }
package/vars.mjs CHANGED
@@ -27,7 +27,7 @@ function fallbackVar(...values) {
27
27
  }
28
28
  function assignVars(varContract, tokens) {
29
29
  const varSetters = {};
30
- const { valid , diffString } = validateContract(varContract, tokens);
30
+ const { valid, diffString } = validateContract(varContract, tokens);
31
31
  if (!valid) {
32
32
  throw new Error(`Tokens don't match contract.\n${diffString}`);
33
33
  }