zss-engine 0.2.84 → 0.2.86

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.
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,8 @@
1
1
  export type { CSSProperties } from './types/common/css-properties';
2
2
  export type { CreateStyleType, ReturnType, CreateStyle } from './types/main/create';
3
3
  export type { CSSHTML, CreateKeyframes } from './types/main/global';
4
- export type { CreateValues, CreateTheme, ReturnVariableType, RxVariableSet, ReturnRx } from './types/main/vars';
4
+ export type { CreateValues, CreateTokens, ReturnVariableType, RxVariableSet, ReturnRx } from './types/main/variableTypes';
5
+ export type { ViewTransitionOptions } from './types/main/viewTransitionOptions';
5
6
  export { isServer, isDevelopment, isTestingDevelopment } from './utils/helper.js';
6
7
  export { genBase36Hash } from './utils/hash.js';
7
8
  export { transpile } from './utils/transpile.js';
@@ -1,4 +1,4 @@
1
- import type { CSSVariableValue, CSSVariableProperty } from '../main/vars';
1
+ import type { CSSVariableValue, CSSVariableProperty } from '../main/variableTypes';
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>;
@@ -4,7 +4,7 @@ export type CSSVariableProperty = {
4
4
  [key: CSSVariableKey]: string | number;
5
5
  };
6
6
  export type CreateValues = Record<string, string | number>;
7
- export type CreateTheme = Record<string, Record<string, string | number>>;
7
+ export type CreateTokens = Record<string, Record<string, string | number>>;
8
8
  export type ReturnVariableType<T> = {
9
9
  [K in keyof T]: CSSVariableValue;
10
10
  };
@@ -0,0 +1,5 @@
1
+ import { CSSProperties } from '../common/css-properties';
2
+ export type ViewTransitionOptions = {
3
+ new: CSSProperties;
4
+ old: CSSProperties;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zss-engine",
3
- "version": "0.2.84",
3
+ "version": "0.2.86",
4
4
  "description": "Zero-runtime StyleSheet Engine",
5
5
  "keywords": [
6
6
  "zero-runtime",