@tokenami/css 0.0.81--canary.427.13998242760.0 → 0.0.81

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/dist/index.cjs CHANGED
@@ -159,10 +159,11 @@ function overrideLonghands(style, tokenProperty) {
159
159
  overrideLonghands(style, tokenPropertyLong);
160
160
  }
161
161
  }
162
- createCss({});
162
+ var css = createCss({});
163
163
 
164
164
  Object.defineProperty(exports, "createConfig", {
165
165
  enumerable: true,
166
166
  get: function () { return Tokenami.createConfig; }
167
167
  });
168
168
  exports.createCss = createCss;
169
+ exports.css = css;
package/dist/index.d.cts CHANGED
@@ -32,10 +32,14 @@ declare function createCss(config: Pick<Tokenami.Config, 'aliases'>, options?: C
32
32
  (allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
33
33
  compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V>;
34
34
  };
35
+ declare const css: {
36
+ (allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
37
+ compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V>;
38
+ };
35
39
 
36
40
  type TokenamiStyle<P> = Omit<P, 'style'> & {
37
41
  style?: (TokenamiProperties | TokenamiCSS) & ('style' extends keyof P ? P['style'] : {});
38
42
  };
39
43
  type Variants<T extends (...args: any) => any> = Parameters<T>[0] extends undefined | null ? {} : NonNullable<Parameters<T>[0]>;
40
44
 
41
- export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss };
45
+ export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss, css };
package/dist/index.d.ts CHANGED
@@ -32,10 +32,14 @@ declare function createCss(config: Pick<Tokenami.Config, 'aliases'>, options?: C
32
32
  (allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
33
33
  compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V>;
34
34
  };
35
+ declare const css: {
36
+ (allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
37
+ compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V>;
38
+ };
35
39
 
36
40
  type TokenamiStyle<P> = Omit<P, 'style'> & {
37
41
  style?: (TokenamiProperties | TokenamiCSS) & ('style' extends keyof P ? P['style'] : {});
38
42
  };
39
43
  type Variants<T extends (...args: any) => any> = Parameters<T>[0] extends undefined | null ? {} : NonNullable<Parameters<T>[0]>;
40
44
 
41
- export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss };
45
+ export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss, css };
package/dist/index.js CHANGED
@@ -138,6 +138,6 @@ function overrideLonghands(style, tokenProperty) {
138
138
  overrideLonghands(style, tokenPropertyLong);
139
139
  }
140
140
  }
141
- createCss({});
141
+ var css = createCss({});
142
142
 
143
- export { createCss };
143
+ export { createCss, css };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenami/css",
3
- "version": "0.0.81--canary.427.13998242760.0",
3
+ "version": "0.0.81",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -34,10 +34,10 @@
34
34
  "test:watch": "vitest"
35
35
  },
36
36
  "dependencies": {
37
- "@tokenami/config": "0.0.81--canary.427.13998242760.0"
37
+ "@tokenami/config": "0.0.81"
38
38
  },
39
39
  "devDependencies": {
40
- "tokenami": "0.0.81--canary.427.13998242760.0",
40
+ "tokenami": "0.0.81",
41
41
  "tsup": "^7.0.0",
42
42
  "typescript": "^5.1.3",
43
43
  "vitest": "^0.34.6"
@@ -46,5 +46,5 @@
46
46
  "tokenami": ">= 0",
47
47
  "typescript": ">= 5"
48
48
  },
49
- "gitHead": "8ee99b5b0addc29cc5bd70fb0f7d83c15fa2a0d3"
49
+ "gitHead": "ebf9ebecf6d23586be19b859f7d243de7346f9f7"
50
50
  }