tailwind-styled-v4 5.0.36 → 5.0.37

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 (69) hide show
  1. package/dist/analyzer.d.mts +152 -5
  2. package/dist/analyzer.d.ts +152 -5
  3. package/dist/animate.d.mts +30 -3
  4. package/dist/animate.d.ts +30 -3
  5. package/dist/compiler.d.mts +5 -0
  6. package/dist/compiler.d.ts +5 -0
  7. package/dist/compiler.js.map +1 -1
  8. package/dist/compiler.mjs.map +1 -1
  9. package/dist/devtools.d.mts +88 -2
  10. package/dist/devtools.d.ts +88 -2
  11. package/dist/engine.d.mts +557 -6
  12. package/dist/engine.d.ts +557 -6
  13. package/dist/engine.js.map +1 -1
  14. package/dist/engine.mjs.map +1 -1
  15. package/dist/index.d.mts +236 -9
  16. package/dist/index.d.ts +236 -9
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/next.js.map +1 -1
  20. package/dist/next.mjs.map +1 -1
  21. package/dist/plugin-api.d.mts +4 -2
  22. package/dist/plugin-api.d.ts +4 -2
  23. package/dist/plugin-registry.js +39 -25
  24. package/dist/plugin-registry.js.map +1 -1
  25. package/dist/plugin-registry.mjs +39 -25
  26. package/dist/plugin-registry.mjs.map +1 -1
  27. package/dist/plugin.d.mts +165 -5
  28. package/dist/plugin.d.ts +165 -5
  29. package/dist/plugin.js +17 -0
  30. package/dist/plugin.js.map +1 -1
  31. package/dist/plugin.mjs +15 -1
  32. package/dist/plugin.mjs.map +1 -1
  33. package/dist/runtime.d.mts +38 -3
  34. package/dist/runtime.d.ts +38 -3
  35. package/dist/scanner.d.mts +58 -4
  36. package/dist/scanner.d.ts +58 -4
  37. package/dist/shared.d.mts +185 -3
  38. package/dist/shared.d.ts +185 -3
  39. package/dist/shared.js.map +1 -1
  40. package/dist/shared.mjs.map +1 -1
  41. package/dist/storybook-addon.d.mts +2 -2
  42. package/dist/storybook-addon.d.ts +2 -2
  43. package/dist/svelte.d.mts +2 -1
  44. package/dist/svelte.d.ts +2 -1
  45. package/dist/theme.d.mts +38 -3
  46. package/dist/theme.d.ts +38 -3
  47. package/dist/turbopackLoader.js.map +1 -1
  48. package/dist/turbopackLoader.mjs.map +1 -1
  49. package/dist/vite.js.map +1 -1
  50. package/dist/vite.mjs.map +1 -1
  51. package/dist/vue.d.mts +4 -1
  52. package/dist/vue.d.ts +4 -1
  53. package/native/tailwind-styled-native.linux-x64-gnu.node +0 -0
  54. package/native/tailwind-styled-native.node +0 -0
  55. package/package.json +1 -1
  56. package/dist/analyzeWorkspace-B1_XRfdl.d.ts +0 -134
  57. package/dist/analyzeWorkspace-hYfu4Hg3.d.mts +0 -134
  58. package/dist/index-DQI6O24n.d.mts +0 -464
  59. package/dist/index-NDINUhLN.d.mts +0 -90
  60. package/dist/index-NDINUhLN.d.ts +0 -90
  61. package/dist/index-UkYbyBkR.d.ts +0 -464
  62. package/dist/liveTokenEngine-CN9ian1R.d.ts +0 -38
  63. package/dist/liveTokenEngine-DKoWRtqH.d.mts +0 -38
  64. package/dist/schemas-DR-SLxZZ.d.mts +0 -59
  65. package/dist/schemas-DR-SLxZZ.d.ts +0 -59
  66. package/dist/trace-Dz4vmZdy.d.mts +0 -96
  67. package/dist/trace-Dz4vmZdy.d.ts +0 -96
  68. package/dist/types-DXr2PmGP.d.mts +0 -31
  69. package/dist/types-DXr2PmGP.d.ts +0 -31
@@ -1,96 +0,0 @@
1
- /**
2
- * Shared trace utilities for CLI, devtools, and dashboard
3
- *
4
- * Provides reusable trace snapshot handling, formatting, and analysis
5
- * across the tailwind-styled-v4 ecosystem without introducing coupling.
6
- */
7
- interface TraceSnapshot {
8
- generatedAt: string;
9
- buildMs: number | null;
10
- scanMs: number | null;
11
- analyzeMs: number | null;
12
- compileMs: number | null;
13
- memoryMb: {
14
- rss: number;
15
- heapUsed: number;
16
- heapTotal: number;
17
- } | null;
18
- classCount: number | null;
19
- fileCount: number | null;
20
- cssBytes: number | null;
21
- mode: string | null;
22
- eventsReceived?: number;
23
- eventsProcessed?: number;
24
- batchesProcessed?: number;
25
- incrementalUpdates?: number;
26
- fullRescans?: number;
27
- }
28
- interface TraceSummary {
29
- workspace: {
30
- totalPackages: number;
31
- totalFiles: number;
32
- totalClasses: number;
33
- lastScanDurationMs: number;
34
- lastBuildDurationMs: number;
35
- };
36
- cache: {
37
- hitRate: number;
38
- totalEntries: number;
39
- memoryUsageMb: number;
40
- };
41
- pipeline: {
42
- scanDurationMs: number;
43
- analyzeDurationMs: number;
44
- compileDurationMs: number;
45
- totalDurationMs: number;
46
- };
47
- health: {
48
- status: "healthy" | "degraded" | "unhealthy";
49
- issues: Array<{
50
- severity: string;
51
- message: string;
52
- }>;
53
- };
54
- }
55
- /**
56
- * Get health status color for UI rendering
57
- */
58
- declare function getHealthColor(status?: string): string;
59
- /**
60
- * Get mode color for UI rendering
61
- */
62
- declare function getModeColor(mode?: string | null): string;
63
- /**
64
- * Format memory in human-readable format
65
- */
66
- declare function formatMemory(bytes: number): string;
67
- /**
68
- * Format duration in human-readable format
69
- */
70
- declare function formatDuration(ms: number | null): string;
71
- /**
72
- * Calculate health status from metrics
73
- */
74
- declare function calculateHealth(metrics: TraceSnapshot, summary?: TraceSummary): "healthy" | "degraded" | "unhealthy";
75
- /**
76
- * Get color for build time indicator
77
- */
78
- declare function getBuildTimeColor(ms: number | null): string;
79
- /**
80
- * Get color for memory usage indicator
81
- */
82
- declare function getMemoryColor(mb: number): string;
83
- /**
84
- * Create trace snapshot from dashboard data
85
- */
86
- declare function createTraceSnapshot(data: Record<string, unknown>): TraceSnapshot;
87
- /**
88
- * Calculate pipeline time distribution
89
- */
90
- declare function getPipelinePercentages(metrics: TraceSnapshot): {
91
- scanPct: number;
92
- analyzePct: number;
93
- compilePct: number;
94
- };
95
-
96
- export { type TraceSnapshot as T, type TraceSummary as a, formatMemory as b, getHealthColor as c, getMemoryColor as d, getModeColor as e, formatDuration as f, getBuildTimeColor as g, getPipelinePercentages as h, calculateHealth as i, createTraceSnapshot as j };
@@ -1,96 +0,0 @@
1
- /**
2
- * Shared trace utilities for CLI, devtools, and dashboard
3
- *
4
- * Provides reusable trace snapshot handling, formatting, and analysis
5
- * across the tailwind-styled-v4 ecosystem without introducing coupling.
6
- */
7
- interface TraceSnapshot {
8
- generatedAt: string;
9
- buildMs: number | null;
10
- scanMs: number | null;
11
- analyzeMs: number | null;
12
- compileMs: number | null;
13
- memoryMb: {
14
- rss: number;
15
- heapUsed: number;
16
- heapTotal: number;
17
- } | null;
18
- classCount: number | null;
19
- fileCount: number | null;
20
- cssBytes: number | null;
21
- mode: string | null;
22
- eventsReceived?: number;
23
- eventsProcessed?: number;
24
- batchesProcessed?: number;
25
- incrementalUpdates?: number;
26
- fullRescans?: number;
27
- }
28
- interface TraceSummary {
29
- workspace: {
30
- totalPackages: number;
31
- totalFiles: number;
32
- totalClasses: number;
33
- lastScanDurationMs: number;
34
- lastBuildDurationMs: number;
35
- };
36
- cache: {
37
- hitRate: number;
38
- totalEntries: number;
39
- memoryUsageMb: number;
40
- };
41
- pipeline: {
42
- scanDurationMs: number;
43
- analyzeDurationMs: number;
44
- compileDurationMs: number;
45
- totalDurationMs: number;
46
- };
47
- health: {
48
- status: "healthy" | "degraded" | "unhealthy";
49
- issues: Array<{
50
- severity: string;
51
- message: string;
52
- }>;
53
- };
54
- }
55
- /**
56
- * Get health status color for UI rendering
57
- */
58
- declare function getHealthColor(status?: string): string;
59
- /**
60
- * Get mode color for UI rendering
61
- */
62
- declare function getModeColor(mode?: string | null): string;
63
- /**
64
- * Format memory in human-readable format
65
- */
66
- declare function formatMemory(bytes: number): string;
67
- /**
68
- * Format duration in human-readable format
69
- */
70
- declare function formatDuration(ms: number | null): string;
71
- /**
72
- * Calculate health status from metrics
73
- */
74
- declare function calculateHealth(metrics: TraceSnapshot, summary?: TraceSummary): "healthy" | "degraded" | "unhealthy";
75
- /**
76
- * Get color for build time indicator
77
- */
78
- declare function getBuildTimeColor(ms: number | null): string;
79
- /**
80
- * Get color for memory usage indicator
81
- */
82
- declare function getMemoryColor(mb: number): string;
83
- /**
84
- * Create trace snapshot from dashboard data
85
- */
86
- declare function createTraceSnapshot(data: Record<string, unknown>): TraceSnapshot;
87
- /**
88
- * Calculate pipeline time distribution
89
- */
90
- declare function getPipelinePercentages(metrics: TraceSnapshot): {
91
- scanPct: number;
92
- analyzePct: number;
93
- compilePct: number;
94
- };
95
-
96
- export { type TraceSnapshot as T, type TraceSummary as a, formatMemory as b, getHealthColor as c, getMemoryColor as d, getModeColor as e, formatDuration as f, getBuildTimeColor as g, getPipelinePercentages as h, calculateHealth as i, createTraceSnapshot as j };
@@ -1,31 +0,0 @@
1
- type CSSFillMode = "none" | "forwards" | "backwards" | "both";
2
- type CSSDirection = "normal" | "reverse" | "alternate" | "alternate-reverse";
3
- type CSSIterationCount = number | "infinite";
4
- type PresetEasing = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "step-start" | "step-end";
5
- type CubicBezierEasing = `cubic-bezier(${string})`;
6
- type StepsEasing = `steps(${string})`;
7
- type CSSEasing = PresetEasing | CubicBezierEasing | StepsEasing;
8
- interface AnimateOptions {
9
- from: string;
10
- to: string;
11
- duration?: number;
12
- easing?: CSSEasing;
13
- delay?: number;
14
- fill?: CSSFillMode;
15
- iterations?: CSSIterationCount;
16
- direction?: CSSDirection;
17
- name?: string;
18
- }
19
- interface KeyframesDefinition {
20
- [stop: string]: string;
21
- }
22
- interface CompiledAnimation {
23
- className: string;
24
- keyframesCss: string;
25
- animationCss: string;
26
- }
27
- interface AnimationRegistryOptions {
28
- cacheLimit?: number;
29
- }
30
-
31
- export type { AnimationRegistryOptions as A, CompiledAnimation as C, KeyframesDefinition as K, PresetEasing as P, StepsEasing as S, AnimateOptions as a, CSSDirection as b, CSSEasing as c, CSSFillMode as d, CSSIterationCount as e, CubicBezierEasing as f };
@@ -1,31 +0,0 @@
1
- type CSSFillMode = "none" | "forwards" | "backwards" | "both";
2
- type CSSDirection = "normal" | "reverse" | "alternate" | "alternate-reverse";
3
- type CSSIterationCount = number | "infinite";
4
- type PresetEasing = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "step-start" | "step-end";
5
- type CubicBezierEasing = `cubic-bezier(${string})`;
6
- type StepsEasing = `steps(${string})`;
7
- type CSSEasing = PresetEasing | CubicBezierEasing | StepsEasing;
8
- interface AnimateOptions {
9
- from: string;
10
- to: string;
11
- duration?: number;
12
- easing?: CSSEasing;
13
- delay?: number;
14
- fill?: CSSFillMode;
15
- iterations?: CSSIterationCount;
16
- direction?: CSSDirection;
17
- name?: string;
18
- }
19
- interface KeyframesDefinition {
20
- [stop: string]: string;
21
- }
22
- interface CompiledAnimation {
23
- className: string;
24
- keyframesCss: string;
25
- animationCss: string;
26
- }
27
- interface AnimationRegistryOptions {
28
- cacheLimit?: number;
29
- }
30
-
31
- export type { AnimationRegistryOptions as A, CompiledAnimation as C, KeyframesDefinition as K, PresetEasing as P, StepsEasing as S, AnimateOptions as a, CSSDirection as b, CSSEasing as c, CSSFillMode as d, CSSIterationCount as e, CubicBezierEasing as f };