tailwind-styled-v4 5.0.35 → 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.
- package/README.md +458 -339
- package/dist/analyzer.d.mts +152 -5
- package/dist/analyzer.d.ts +152 -5
- package/dist/animate.d.mts +30 -3
- package/dist/animate.d.ts +30 -3
- package/dist/cli.js +9 -6
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +9 -6
- package/dist/cli.mjs.map +1 -1
- package/dist/compiler.d.mts +5 -0
- package/dist/compiler.d.ts +5 -0
- package/dist/compiler.js.map +1 -1
- package/dist/compiler.mjs.map +1 -1
- package/dist/devtools.d.mts +88 -2
- package/dist/devtools.d.ts +88 -2
- package/dist/engine.d.mts +557 -6
- package/dist/engine.d.ts +557 -6
- package/dist/engine.js.map +1 -1
- package/dist/engine.mjs.map +1 -1
- package/dist/index.browser.mjs +689 -508
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +236 -9
- package/dist/index.d.ts +236 -9
- package/dist/index.js +38 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -20
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +240 -170
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +240 -170
- package/dist/next.mjs.map +1 -1
- package/dist/plugin-api.d.mts +4 -2
- package/dist/plugin-api.d.ts +4 -2
- package/dist/plugin-registry.js +39 -25
- package/dist/plugin-registry.js.map +1 -1
- package/dist/plugin-registry.mjs +39 -25
- package/dist/plugin-registry.mjs.map +1 -1
- package/dist/plugin.d.mts +165 -5
- package/dist/plugin.d.ts +165 -5
- package/dist/plugin.js +17 -0
- package/dist/plugin.js.map +1 -1
- package/dist/plugin.mjs +15 -1
- package/dist/plugin.mjs.map +1 -1
- package/dist/runtime.d.mts +38 -3
- package/dist/runtime.d.ts +38 -3
- package/dist/scanner.d.mts +58 -4
- package/dist/scanner.d.ts +58 -4
- package/dist/shared.d.mts +185 -3
- package/dist/shared.d.ts +185 -3
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs.map +1 -1
- package/dist/storybook-addon.d.mts +2 -2
- package/dist/storybook-addon.d.ts +2 -2
- package/dist/svelte.d.mts +2 -1
- package/dist/svelte.d.ts +2 -1
- package/dist/svelte.js +4 -4
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +4 -4
- package/dist/svelte.mjs.map +1 -1
- package/dist/theme.d.mts +38 -3
- package/dist/theme.d.ts +38 -3
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/turbopackLoader.mjs.map +1 -1
- package/dist/tw.js +9 -6
- package/dist/tw.js.map +1 -1
- package/dist/tw.mjs +9 -6
- package/dist/tw.mjs.map +1 -1
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs.map +1 -1
- package/dist/vue.d.mts +4 -1
- package/dist/vue.d.ts +4 -1
- package/dist/vue.js +4 -4
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +4 -4
- package/dist/vue.mjs.map +1 -1
- package/native/tailwind-styled-native.linux-x64-gnu.node +0 -0
- package/native/tailwind-styled-native.node +0 -0
- package/package.json +7 -5
- package/dist/analyzeWorkspace-B1_XRfdl.d.ts +0 -134
- package/dist/analyzeWorkspace-hYfu4Hg3.d.mts +0 -134
- package/dist/index-DQI6O24n.d.mts +0 -464
- package/dist/index-NDINUhLN.d.mts +0 -90
- package/dist/index-NDINUhLN.d.ts +0 -90
- package/dist/index-UkYbyBkR.d.ts +0 -464
- package/dist/liveTokenEngine-CN9ian1R.d.ts +0 -38
- package/dist/liveTokenEngine-DKoWRtqH.d.mts +0 -38
- package/dist/schemas-DR-SLxZZ.d.mts +0 -59
- package/dist/schemas-DR-SLxZZ.d.ts +0 -59
- package/dist/trace-Dz4vmZdy.d.mts +0 -96
- package/dist/trace-Dz4vmZdy.d.ts +0 -96
- package/dist/types-DXr2PmGP.d.mts +0 -31
- 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 };
|
package/dist/trace-Dz4vmZdy.d.ts
DELETED
|
@@ -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 };
|
package/dist/types-DXr2PmGP.d.ts
DELETED
|
@@ -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 };
|