@tokenami/css 0.0.80 → 0.0.81--canary.424.13995587941.0
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 +2 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -175,10 +175,11 @@ function convertToMediaStyles(bp, styles) {
|
|
|
175
175
|
});
|
|
176
176
|
return Object.fromEntries(updatedEntries);
|
|
177
177
|
}
|
|
178
|
-
createCss({});
|
|
178
|
+
var css = createCss({});
|
|
179
179
|
|
|
180
180
|
Object.defineProperty(exports, "createConfig", {
|
|
181
181
|
enumerable: true,
|
|
182
182
|
get: function () { return Tokenami.createConfig; }
|
|
183
183
|
});
|
|
184
184
|
exports.createCss = createCss;
|
|
185
|
+
exports.css = css;
|
package/dist/index.d.cts
CHANGED
|
@@ -40,10 +40,14 @@ declare function createCss(config: Pick<Tokenami.Config, 'aliases'>, options?: C
|
|
|
40
40
|
(allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
|
|
41
41
|
compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V, R>;
|
|
42
42
|
};
|
|
43
|
+
declare const css: {
|
|
44
|
+
(allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
|
|
45
|
+
compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V, R>;
|
|
46
|
+
};
|
|
43
47
|
|
|
44
48
|
type TokenamiStyle<P> = Omit<P, 'style'> & {
|
|
45
49
|
style?: (TokenamiProperties | TokenamiCSS) & ('style' extends keyof P ? P['style'] : {});
|
|
46
50
|
};
|
|
47
51
|
type Variants<T extends (...args: any) => any> = Parameters<T>[0] extends undefined | null ? {} : NonNullable<Parameters<T>[0]>;
|
|
48
52
|
|
|
49
|
-
export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss };
|
|
53
|
+
export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss, css };
|
package/dist/index.d.ts
CHANGED
|
@@ -40,10 +40,14 @@ declare function createCss(config: Pick<Tokenami.Config, 'aliases'>, options?: C
|
|
|
40
40
|
(allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
|
|
41
41
|
compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V, R>;
|
|
42
42
|
};
|
|
43
|
+
declare const css: {
|
|
44
|
+
(allStyles_0: TokenamiProperties, ...allStyles_1: Override[]): TokenamiCSS;
|
|
45
|
+
compose<V extends VariantsConfig | undefined, R extends VariantsConfig | undefined>(styleConfig: TokenamiComposeInput<V, R>): TokenamiComposeResult<V, R>;
|
|
46
|
+
};
|
|
43
47
|
|
|
44
48
|
type TokenamiStyle<P> = Omit<P, 'style'> & {
|
|
45
49
|
style?: (TokenamiProperties | TokenamiCSS) & ('style' extends keyof P ? P['style'] : {});
|
|
46
50
|
};
|
|
47
51
|
type Variants<T extends (...args: any) => any> = Parameters<T>[0] extends undefined | null ? {} : NonNullable<Parameters<T>[0]>;
|
|
48
52
|
|
|
49
|
-
export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss };
|
|
53
|
+
export { type TokenamiCSS, type TokenamiStyle, type Variants, createCss, css };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenami/css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.81--canary.424.13995587941.0",
|
|
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.
|
|
37
|
+
"@tokenami/config": "0.0.81--canary.424.13995587941.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"tokenami": "0.0.
|
|
40
|
+
"tokenami": "0.0.81--canary.424.13995587941.0",
|
|
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": "
|
|
49
|
+
"gitHead": "e344201941bbc79a5dc1c0ef786a64bf5dafedb9"
|
|
50
50
|
}
|