tailwind-styled-v4 5.1.21 → 5.1.23
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/README.md +216 -0
- package/dist/atomic.js +34 -4
- package/dist/atomic.js.map +1 -1
- package/dist/atomic.mjs +31 -2
- package/dist/atomic.mjs.map +1 -1
- package/dist/cli.d.mts +28 -16
- package/dist/cli.d.ts +28 -16
- package/dist/cli.js +392 -77
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +388 -75
- package/dist/cli.mjs.map +1 -1
- package/dist/compiler.d.mts +195 -1
- package/dist/compiler.d.ts +195 -1
- package/dist/compiler.js +356 -12
- package/dist/compiler.js.map +1 -1
- package/dist/compiler.mjs +340 -10
- package/dist/compiler.mjs.map +1 -1
- package/dist/engine.js +194 -164
- package/dist/engine.js.map +1 -1
- package/dist/engine.mjs +184 -155
- package/dist/engine.mjs.map +1 -1
- package/dist/index.browser.mjs +144 -14
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +45 -4
- package/dist/index.d.ts +45 -4
- package/dist/index.js +174 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +185 -21
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +489 -158
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +483 -153
- package/dist/next.mjs.map +1 -1
- package/dist/runtime-css.js +1 -1
- package/dist/runtime-css.js.map +1 -1
- package/dist/runtime-css.mjs +1 -1
- package/dist/runtime-css.mjs.map +1 -1
- package/dist/runtime.js +17 -0
- package/dist/runtime.js.map +1 -1
- package/dist/runtime.mjs +23 -0
- package/dist/runtime.mjs.map +1 -1
- package/dist/shared.js +91 -61
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs +85 -56
- package/dist/shared.mjs.map +1 -1
- package/dist/turbopackLoader.js +79 -49
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/turbopackLoader.mjs +76 -47
- package/dist/turbopackLoader.mjs.map +1 -1
- package/dist/tw.js +390 -77
- package/dist/tw.js.map +1 -1
- package/dist/tw.mjs +387 -75
- package/dist/tw.mjs.map +1 -1
- package/dist/vite.js +157 -127
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +150 -121
- package/dist/vite.mjs.map +1 -1
- package/dist/webpackLoader.js +39 -9
- package/dist/webpackLoader.js.map +1 -1
- package/dist/webpackLoader.mjs +36 -7
- package/dist/webpackLoader.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.d.mts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
1
2
|
import { Writable } from 'node:stream';
|
|
2
3
|
|
|
3
|
-
declare function runScanCli(rawArgs: string[]): Promise<void>;
|
|
4
|
-
|
|
5
|
-
interface ParsedCliInput {
|
|
6
|
-
argv: string[];
|
|
7
|
-
command: string | undefined;
|
|
8
|
-
restArgs: string[];
|
|
9
|
-
json: boolean;
|
|
10
|
-
debug: boolean;
|
|
11
|
-
verbose: boolean;
|
|
12
|
-
help: boolean;
|
|
13
|
-
helpCommand: string | undefined;
|
|
14
|
-
}
|
|
15
|
-
declare function ensureFlag(name: string, argv: string[]): string[];
|
|
16
|
-
declare function parseCliInput(argv: string[]): ParsedCliInput;
|
|
17
|
-
|
|
18
4
|
interface CliOutputOptions {
|
|
19
5
|
json?: boolean;
|
|
20
6
|
debug?: boolean;
|
|
@@ -58,4 +44,30 @@ interface CliOutput {
|
|
|
58
44
|
}
|
|
59
45
|
declare function createCliOutput(options?: CliOutputOptions): CliOutput;
|
|
60
46
|
|
|
61
|
-
|
|
47
|
+
interface CommandContext {
|
|
48
|
+
runtimeDir: string;
|
|
49
|
+
json: boolean;
|
|
50
|
+
debug: boolean;
|
|
51
|
+
verbose: boolean;
|
|
52
|
+
output: CliOutput;
|
|
53
|
+
cwd: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare function buildMainProgram(context: CommandContext): Command;
|
|
57
|
+
|
|
58
|
+
declare function runScanCli(rawArgs: string[]): Promise<void>;
|
|
59
|
+
|
|
60
|
+
interface ParsedCliInput {
|
|
61
|
+
argv: string[];
|
|
62
|
+
command: string | undefined;
|
|
63
|
+
restArgs: string[];
|
|
64
|
+
json: boolean;
|
|
65
|
+
debug: boolean;
|
|
66
|
+
verbose: boolean;
|
|
67
|
+
help: boolean;
|
|
68
|
+
helpCommand: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
declare function ensureFlag(name: string, argv: string[]): string[];
|
|
71
|
+
declare function parseCliInput(argv: string[]): ParsedCliInput;
|
|
72
|
+
|
|
73
|
+
export { buildMainProgram, createCliOutput, ensureFlag, parseCliInput as parseCliArgs, runScanCli };
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
1
2
|
import { Writable } from 'node:stream';
|
|
2
3
|
|
|
3
|
-
declare function runScanCli(rawArgs: string[]): Promise<void>;
|
|
4
|
-
|
|
5
|
-
interface ParsedCliInput {
|
|
6
|
-
argv: string[];
|
|
7
|
-
command: string | undefined;
|
|
8
|
-
restArgs: string[];
|
|
9
|
-
json: boolean;
|
|
10
|
-
debug: boolean;
|
|
11
|
-
verbose: boolean;
|
|
12
|
-
help: boolean;
|
|
13
|
-
helpCommand: string | undefined;
|
|
14
|
-
}
|
|
15
|
-
declare function ensureFlag(name: string, argv: string[]): string[];
|
|
16
|
-
declare function parseCliInput(argv: string[]): ParsedCliInput;
|
|
17
|
-
|
|
18
4
|
interface CliOutputOptions {
|
|
19
5
|
json?: boolean;
|
|
20
6
|
debug?: boolean;
|
|
@@ -58,4 +44,30 @@ interface CliOutput {
|
|
|
58
44
|
}
|
|
59
45
|
declare function createCliOutput(options?: CliOutputOptions): CliOutput;
|
|
60
46
|
|
|
61
|
-
|
|
47
|
+
interface CommandContext {
|
|
48
|
+
runtimeDir: string;
|
|
49
|
+
json: boolean;
|
|
50
|
+
debug: boolean;
|
|
51
|
+
verbose: boolean;
|
|
52
|
+
output: CliOutput;
|
|
53
|
+
cwd: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare function buildMainProgram(context: CommandContext): Command;
|
|
57
|
+
|
|
58
|
+
declare function runScanCli(rawArgs: string[]): Promise<void>;
|
|
59
|
+
|
|
60
|
+
interface ParsedCliInput {
|
|
61
|
+
argv: string[];
|
|
62
|
+
command: string | undefined;
|
|
63
|
+
restArgs: string[];
|
|
64
|
+
json: boolean;
|
|
65
|
+
debug: boolean;
|
|
66
|
+
verbose: boolean;
|
|
67
|
+
help: boolean;
|
|
68
|
+
helpCommand: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
declare function ensureFlag(name: string, argv: string[]): string[];
|
|
71
|
+
declare function parseCliInput(argv: string[]): ParsedCliInput;
|
|
72
|
+
|
|
73
|
+
export { buildMainProgram, createCliOutput, ensureFlag, parseCliInput as parseCliArgs, runScanCli };
|