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.
Files changed (62) hide show
  1. package/README.md +216 -0
  2. package/dist/atomic.js +34 -4
  3. package/dist/atomic.js.map +1 -1
  4. package/dist/atomic.mjs +31 -2
  5. package/dist/atomic.mjs.map +1 -1
  6. package/dist/cli.d.mts +28 -16
  7. package/dist/cli.d.ts +28 -16
  8. package/dist/cli.js +392 -77
  9. package/dist/cli.js.map +1 -1
  10. package/dist/cli.mjs +388 -75
  11. package/dist/cli.mjs.map +1 -1
  12. package/dist/compiler.d.mts +195 -1
  13. package/dist/compiler.d.ts +195 -1
  14. package/dist/compiler.js +356 -12
  15. package/dist/compiler.js.map +1 -1
  16. package/dist/compiler.mjs +340 -10
  17. package/dist/compiler.mjs.map +1 -1
  18. package/dist/engine.js +194 -164
  19. package/dist/engine.js.map +1 -1
  20. package/dist/engine.mjs +184 -155
  21. package/dist/engine.mjs.map +1 -1
  22. package/dist/index.browser.mjs +144 -14
  23. package/dist/index.browser.mjs.map +1 -1
  24. package/dist/index.d.mts +45 -4
  25. package/dist/index.d.ts +45 -4
  26. package/dist/index.js +174 -9
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.mjs +185 -21
  29. package/dist/index.mjs.map +1 -1
  30. package/dist/next.js +489 -158
  31. package/dist/next.js.map +1 -1
  32. package/dist/next.mjs +483 -153
  33. package/dist/next.mjs.map +1 -1
  34. package/dist/runtime-css.js +1 -1
  35. package/dist/runtime-css.js.map +1 -1
  36. package/dist/runtime-css.mjs +1 -1
  37. package/dist/runtime-css.mjs.map +1 -1
  38. package/dist/runtime.js +17 -0
  39. package/dist/runtime.js.map +1 -1
  40. package/dist/runtime.mjs +23 -0
  41. package/dist/runtime.mjs.map +1 -1
  42. package/dist/shared.js +91 -61
  43. package/dist/shared.js.map +1 -1
  44. package/dist/shared.mjs +85 -56
  45. package/dist/shared.mjs.map +1 -1
  46. package/dist/turbopackLoader.js +79 -49
  47. package/dist/turbopackLoader.js.map +1 -1
  48. package/dist/turbopackLoader.mjs +76 -47
  49. package/dist/turbopackLoader.mjs.map +1 -1
  50. package/dist/tw.js +390 -77
  51. package/dist/tw.js.map +1 -1
  52. package/dist/tw.mjs +387 -75
  53. package/dist/tw.mjs.map +1 -1
  54. package/dist/vite.js +157 -127
  55. package/dist/vite.js.map +1 -1
  56. package/dist/vite.mjs +150 -121
  57. package/dist/vite.mjs.map +1 -1
  58. package/dist/webpackLoader.js +39 -9
  59. package/dist/webpackLoader.js.map +1 -1
  60. package/dist/webpackLoader.mjs +36 -7
  61. package/dist/webpackLoader.mjs.map +1 -1
  62. 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
- export { createCliOutput, ensureFlag, parseCliInput as parseCliArgs, runScanCli };
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
- export { createCliOutput, ensureFlag, parseCliInput as parseCliArgs, runScanCli };
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 };