zss-engine 0.2.39 → 0.2.41

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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zss-engine",
3
- "version": "0.2.39",
3
+ "version": "0.2.41",
4
4
  "description": "Zero-runtime StyleSheet Engine",
5
5
  "keywords": [
6
6
  "zero-runtime",
package/types/index.d.ts CHANGED
@@ -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 { CreateVars, CreateTheme } from './types/main/vars';
4
+ export type { CreateValues, CreateTheme } from './types/main/vars';
5
+ export type { Join } from './types/main/join';
5
6
  export { isServer, isDevelopment, isDevAndTest } from './utils/helper.js';
6
7
  export { genBase36Hash } from './utils/hash.js';
7
8
  export { transpiler } from './utils/transpiler.js';
@@ -0,0 +1 @@
1
+ export type Join<T extends readonly string[]> = T extends [infer F extends string, ...infer R extends string[]] ? `${F}${Join<R>}` : '';
@@ -3,6 +3,6 @@ export type CSSVariableValue = `var(${CSSVariableKey})`;
3
3
  export type CSSVariableProperty = {
4
4
  [key: CSSVariableKey]: string | number;
5
5
  };
6
- export type CreateVars = Record<string, string | number>;
6
+ export type CreateValues = Record<string, string | number>;
7
7
  export type CreateTheme = Record<string, Record<string, string | number>>;
8
8
  export {};