@stacksjs/ts-css 0.1.0 → 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.
- package/CHANGELOG.md +51 -0
- package/dist/index.d.ts +12 -12
- package/dist/index.js +57 -7831
- package/dist/optimize/clean/comment.d.ts +1 -1
- package/dist/optimize/clean/declaration.d.ts +1 -1
- package/dist/optimize/compress/color.d.ts +5 -0
- package/dist/optimize/compress/index.d.ts +1 -1
- package/dist/optimize/compress/number.d.ts +9 -0
- package/dist/optimize/index.d.ts +2 -2
- package/dist/optimize/index.js +1 -3389
- package/dist/optimize/minify.d.ts +1 -1
- package/dist/optimize/specificity.d.ts +2 -2
- package/dist/parse/index.d.ts +1 -1
- package/dist/parse/index.js +1 -2368
- package/dist/select/attributes.d.ts +3 -0
- package/dist/select/general.d.ts +6 -0
- package/dist/select/helpers/always-true.d.ts +6 -0
- package/dist/select/helpers/querying.d.ts +10 -0
- package/dist/select/index.d.ts +1 -1
- package/dist/select/index.js +1 -1288
- package/dist/select/pseudo-selectors/index.d.ts +10 -0
- package/dist/select/pseudo-selectors/selectors.d.ts +4 -0
- package/dist/what/index.js +1 -513
- package/package.json +6 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CssNode } from '../parse';
|
|
1
|
+
import type { CssNode } from '../parse/index';
|
|
2
2
|
export declare function minify(source: string, options?: MinifyOptions): MinifyResult;
|
|
3
3
|
export declare function minifyBlock(source: string, options?: MinifyOptions): MinifyResult;
|
|
4
4
|
export declare interface MinifyOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CssNode } from '../parse';
|
|
2
|
-
import type { Selector as WhatSelector } from '../what';
|
|
1
|
+
import type { CssNode } from '../parse/index';
|
|
2
|
+
import type { Selector as WhatSelector } from '../what/index';
|
|
3
3
|
export declare function specificity(input: CssNode | WhatSelector[][] | WhatSelector[] | string): Specificity;
|
|
4
4
|
export declare function specificityToString(s: Specificity): string;
|
|
5
5
|
export type Specificity = [number, number, number];
|
package/dist/parse/index.d.ts
CHANGED
|
@@ -53,6 +53,6 @@ export type { WalkContext, WalkVisitor } from './walker';
|
|
|
53
53
|
export { clone } from './clone';
|
|
54
54
|
export { generate } from './generator';
|
|
55
55
|
export { CssList as List, makeList } from './list';
|
|
56
|
-
export { parse, TokenType } from './parser';
|
|
56
|
+
export { parse, TokenType } from './parser/index';
|
|
57
57
|
export { decodeName, Tokenizer } from './tokenizer';
|
|
58
58
|
export { walk } from './walker';
|