zss-engine 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.
@@ -1,4 +1,4 @@
1
- import type { CSSVariableValue } from './css-variables';
1
+ import type { CSSVariableValue } from '../main/vars';
2
2
  import type { Properties, Property } from 'csstype';
3
3
  type ColorValue = Exclude<Property.Color, '-moz-initial'> | (string & {});
4
4
  type CSSColorProperty = Exclude<ColorValue, SystemColorKeyword>;
@@ -1 +1,10 @@
1
1
  export type VarsDefinition = Record<string, string | Record<string, string>>;
2
+ type CSSVariableKey = `--${string}`;
3
+ export type CSSVariableValue = `var(${CSSVariableKey})`;
4
+ type CSSVariableProperties = {
5
+ [key: CSSVariableKey]: string | number;
6
+ };
7
+ export type VarsTransformed = {
8
+ [key: string]: CSSVariableProperties;
9
+ };
10
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zss-engine",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Zero-runtime Style Sheet Engine",
5
5
  "keywords": [
6
6
  "zero-runtime",
@@ -1,3 +0,0 @@
1
- type CSSVariableKey = `--${string}`;
2
- export type CSSVariableValue = `var(${CSSVariableKey})`;
3
- export {};
@@ -1 +0,0 @@
1
- export {};