@tachui/devtools 0.8.0-alpha → 0.8.5-alpha

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.
@@ -0,0 +1,87 @@
1
+ /**
2
+ * @tachui/devtools - Production Stubs
3
+ *
4
+ * Lightweight production stubs that get tree-shaken away.
5
+ * This file provides no-op implementations of all devtools exports
6
+ * to prevent devtools code from being included in production bundles.
7
+ */
8
+ export declare const enableDebug: () => void;
9
+ export declare const debugManager: {
10
+ enable: () => void;
11
+ disable: () => void;
12
+ log: () => void;
13
+ warn: () => void;
14
+ error: () => void;
15
+ group: () => void;
16
+ groupEnd: () => void;
17
+ time: () => void;
18
+ timeEnd: () => void;
19
+ clear: () => void;
20
+ isEnabled: () => boolean;
21
+ };
22
+ export declare const Inspector: {
23
+ create: () => {};
24
+ destroy: () => void;
25
+ inspect: () => {};
26
+ highlight: () => void;
27
+ unhighlight: () => void;
28
+ };
29
+ export declare const Profiler: {
30
+ start: () => void;
31
+ stop: () => void;
32
+ mark: () => void;
33
+ measure: () => void;
34
+ getEntries: () => never[];
35
+ };
36
+ export declare const TestingUtils: {
37
+ createTestRenderer: () => {};
38
+ waitFor: () => Promise<void>;
39
+ fireEvent: () => void;
40
+ };
41
+ export declare const BuildTimeValidator: {
42
+ validate: () => boolean;
43
+ getErrors: () => never[];
44
+ getWarnings: () => never[];
45
+ };
46
+ export declare const ErrorBoundary: () => null;
47
+ export declare const ErrorRecovery: {
48
+ recover: () => void;
49
+ reset: () => void;
50
+ };
51
+ export declare const ErrorReporting: {
52
+ report: () => void;
53
+ subscribe: () => () => void;
54
+ };
55
+ export declare const DevelopmentWarnings: {
56
+ warn: () => void;
57
+ suppress: () => void;
58
+ enable: () => void;
59
+ disable: () => void;
60
+ };
61
+ export declare const ValidationDebugger: {
62
+ log: () => void;
63
+ track: () => void;
64
+ getSnapshot: () => {};
65
+ };
66
+ export declare const ValidationDebugUtils: {
67
+ formatError: (err: any) => any;
68
+ getComponentInfo: () => {};
69
+ };
70
+ export declare const validationDebugger: {
71
+ log: () => void;
72
+ track: () => void;
73
+ getSnapshot: () => {};
74
+ };
75
+ export declare const PerformanceMonitor: {
76
+ start: () => void;
77
+ stop: () => void;
78
+ measure: () => void;
79
+ getMetrics: () => {};
80
+ };
81
+ export type ValidationDebugEventType = string;
82
+ export type ComponentDebugInfo = Record<string, any>;
83
+ export type PerformanceSnapshot = Record<string, any>;
84
+ export type ValidationDebugEvent = Record<string, any>;
85
+ export type ValidationDebugSession = Record<string, any>;
86
+ export declare const VERSION = "0.8.0-alpha";
87
+ //# sourceMappingURL=index.prod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.prod.d.ts","sourceRoot":"","sources":["../src/index.prod.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,eAAO,MAAM,WAAW,YAAW,CAAA;AACnC,eAAO,MAAM,YAAY;;;;;;;;;;;;CAYxB,CAAA;AAGD,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAA;AAGD,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAA;AAGD,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAGD,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAA;AAGD,eAAO,MAAM,aAAa,YAAa,CAAA;AACvC,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AACD,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAGD,eAAO,MAAM,mBAAmB;;;;;CAK/B,CAAA;AAGD,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAA;AACD,eAAO,MAAM,oBAAoB;uBACZ,GAAG;;CAEvB,CAAA;AACD,eAAO,MAAM,kBAAkB;;;;CAAqB,CAAA;AAGpD,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAGD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAA;AAC7C,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACpD,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACrD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACtD,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAGxD,eAAO,MAAM,OAAO,gBAAgB,CAAA"}
@@ -0,0 +1,120 @@
1
+ const enableDebug = () => {
2
+ };
3
+ const debugManager = {
4
+ enable: () => {
5
+ },
6
+ disable: () => {
7
+ },
8
+ log: () => {
9
+ },
10
+ warn: () => {
11
+ },
12
+ error: () => {
13
+ },
14
+ group: () => {
15
+ },
16
+ groupEnd: () => {
17
+ },
18
+ time: () => {
19
+ },
20
+ timeEnd: () => {
21
+ },
22
+ clear: () => {
23
+ },
24
+ isEnabled: () => false
25
+ };
26
+ const Inspector = {
27
+ create: () => ({}),
28
+ destroy: () => {
29
+ },
30
+ inspect: () => ({}),
31
+ highlight: () => {
32
+ },
33
+ unhighlight: () => {
34
+ }
35
+ };
36
+ const Profiler = {
37
+ start: () => {
38
+ },
39
+ stop: () => {
40
+ },
41
+ mark: () => {
42
+ },
43
+ measure: () => {
44
+ },
45
+ getEntries: () => []
46
+ };
47
+ const TestingUtils = {
48
+ createTestRenderer: () => ({}),
49
+ waitFor: async () => {
50
+ },
51
+ fireEvent: () => {
52
+ }
53
+ };
54
+ const BuildTimeValidator = {
55
+ validate: () => true,
56
+ getErrors: () => [],
57
+ getWarnings: () => []
58
+ };
59
+ const ErrorBoundary = () => null;
60
+ const ErrorRecovery = {
61
+ recover: () => {
62
+ },
63
+ reset: () => {
64
+ }
65
+ };
66
+ const ErrorReporting = {
67
+ report: () => {
68
+ },
69
+ subscribe: () => () => {
70
+ }
71
+ };
72
+ const DevelopmentWarnings = {
73
+ warn: () => {
74
+ },
75
+ suppress: () => {
76
+ },
77
+ enable: () => {
78
+ },
79
+ disable: () => {
80
+ }
81
+ };
82
+ const ValidationDebugger = {
83
+ log: () => {
84
+ },
85
+ track: () => {
86
+ },
87
+ getSnapshot: () => ({})
88
+ };
89
+ const ValidationDebugUtils = {
90
+ formatError: (err) => err?.message || "Unknown error",
91
+ getComponentInfo: () => ({})
92
+ };
93
+ const validationDebugger = ValidationDebugger;
94
+ const PerformanceMonitor = {
95
+ start: () => {
96
+ },
97
+ stop: () => {
98
+ },
99
+ measure: () => {
100
+ },
101
+ getMetrics: () => ({})
102
+ };
103
+ const VERSION = "0.8.0-alpha";
104
+ export {
105
+ BuildTimeValidator,
106
+ DevelopmentWarnings,
107
+ ErrorBoundary,
108
+ ErrorRecovery,
109
+ ErrorReporting,
110
+ Inspector,
111
+ PerformanceMonitor,
112
+ Profiler,
113
+ TestingUtils,
114
+ VERSION,
115
+ ValidationDebugUtils,
116
+ ValidationDebugger,
117
+ debugManager,
118
+ enableDebug,
119
+ validationDebugger
120
+ };
@@ -522,4 +522,3 @@ export {
522
522
  getDevTools,
523
523
  globalDevTools
524
524
  };
525
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ import type { ModifierRegistry } from '@tachui/registry';
2
+ export declare function registerModifierMetadata(registry?: ModifierRegistry): void;
3
+ export default registerModifierMetadata;
4
+ //# sourceMappingURL=modifier-metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modifier-metadata.d.ts","sourceRoot":"","sources":["../src/modifier-metadata.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAiExD,wBAAgB,wBAAwB,CACtC,QAAQ,GAAE,gBAAyC,GAClD,IAAI,CA8BN;AAED,eAAe,wBAAwB,CAAA"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * TachUI Modifier Parameter Insight System
3
+ *
4
+ * Provides comprehensive parameter documentation and validation for all modifiers
5
+ * across all TachUI plugins
6
+ */
7
+ export interface ModifierParameter {
8
+ name: string;
9
+ type: string;
10
+ required: boolean;
11
+ description: string;
12
+ defaultValue?: any;
13
+ examples: string[];
14
+ validation?: {
15
+ min?: number;
16
+ max?: number;
17
+ pattern?: RegExp;
18
+ enum?: string[];
19
+ };
20
+ category: 'layout' | 'appearance' | 'interaction' | 'animation' | 'responsive';
21
+ plugin: string;
22
+ swiftUIEquivalent?: string;
23
+ }
24
+ export interface ModifierSignature {
25
+ name: string;
26
+ plugin: string;
27
+ category: string;
28
+ description: string;
29
+ parameters: ModifierParameter[];
30
+ usage: {
31
+ basic: string[];
32
+ advanced: string[];
33
+ };
34
+ relatedModifiers?: string[];
35
+ swiftUIEquivalent?: string;
36
+ bundleSize: string;
37
+ }
38
+ export declare class ModifierParameterRegistry {
39
+ private modifiers;
40
+ constructor();
41
+ private registerCoreModifiers;
42
+ private registerPrimitivesModifiers;
43
+ private registerEffectsModifiers;
44
+ private registerResponsiveModifiers;
45
+ private registerModifiersPackage;
46
+ register(signature: ModifierSignature): void;
47
+ getModifier(name: string): ModifierSignature | undefined;
48
+ getAllModifiers(): ModifierSignature[];
49
+ getModifiersByPlugin(plugin: string): ModifierSignature[];
50
+ getModifiersByCategory(category: string): ModifierSignature[];
51
+ searchModifiers(query: string): ModifierSignature[];
52
+ /**
53
+ * Generate parameter hints for IDE integration
54
+ */
55
+ generateParameterHints(modifierName: string): string[];
56
+ /**
57
+ * Validate modifier parameters at runtime (dev mode)
58
+ */
59
+ validateParameters(modifierName: string, params: any): {
60
+ valid: boolean;
61
+ errors: string[];
62
+ };
63
+ /**
64
+ * Generate comprehensive documentation for all modifiers
65
+ */
66
+ generateDocumentation(): string;
67
+ }
68
+ export declare const modifierParameterRegistry: ModifierParameterRegistry;
69
+ //# sourceMappingURL=modifier-parameter-system.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modifier-parameter-system.d.ts","sourceRoot":"","sources":["../src/modifier-parameter-system.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,UAAU,CAAC,EAAE;QACX,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAChB,CAAA;IACD,QAAQ,EAAE,QAAQ,GAAG,YAAY,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,CAAA;IAC9E,MAAM,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,iBAAiB,EAAE,CAAA;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,EAAE,CAAA;QACf,QAAQ,EAAE,MAAM,EAAE,CAAA;KACnB,CAAA;IACD,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,qBAAa,yBAAyB;IACpC,OAAO,CAAC,SAAS,CAAuC;;IAUxD,OAAO,CAAC,qBAAqB;IAoH7B,OAAO,CAAC,2BAA2B;IAkFnC,OAAO,CAAC,wBAAwB;IA4FhC,OAAO,CAAC,2BAA2B;IAkCnC,OAAO,CAAC,wBAAwB;IAKhC,QAAQ,CAAC,SAAS,EAAE,iBAAiB;IAIrC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAIxD,eAAe,IAAI,iBAAiB,EAAE;IAItC,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB,EAAE;IAIzD,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,EAAE;IAI7D,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,EAAE;IAcnD;;OAEG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE;IAetD;;OAEG;IACH,kBAAkB,CAChB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,GAAG,GACV;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;IAwDvC;;OAEG;IACH,qBAAqB,IAAI,MAAM;CAuDhC;AAGD,eAAO,MAAM,yBAAyB,2BAAkC,CAAA"}
@@ -516,4 +516,3 @@ export {
516
516
  withMonitoredValidation,
517
517
  withPerformanceMonitoring
518
518
  };
519
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Runtime Modifier Parameter Validation & Development Helpers
3
+ *
4
+ * Provides development-time validation, warnings, and helpful error messages for modifier usage
5
+ */
6
+ interface ValidationError {
7
+ modifier: string;
8
+ parameter?: string;
9
+ message: string;
10
+ suggestion?: string;
11
+ severity: 'error' | 'warning' | 'info';
12
+ type?: string;
13
+ }
14
+ interface UsageStats {
15
+ modifier: string;
16
+ usageCount: number;
17
+ bundleContribution: string;
18
+ alternatives?: string[];
19
+ }
20
+ export declare class RuntimeModifierValidator {
21
+ private usageStats;
22
+ private validationErrors;
23
+ private isDevMode;
24
+ /**
25
+ * Validate modifier parameters when modifier is applied
26
+ */
27
+ validateModifier(modifierName: string, parameters: any, componentName?: string): ValidationError[];
28
+ private findSimilarModifier;
29
+ private calculateSimilarity;
30
+ private levenshteinDistance;
31
+ private checkPerformanceConcerns;
32
+ private parseBundleSize;
33
+ private suggestAlternatives;
34
+ private trackUsage;
35
+ private logValidationErrors;
36
+ /**
37
+ * Generate usage report for development insights
38
+ */
39
+ generateUsageReport(): {
40
+ summary: UsageStats[];
41
+ totalBundleSize: string;
42
+ recommendations: string[];
43
+ };
44
+ private generateRecommendations;
45
+ /**
46
+ * Clear validation errors and usage stats
47
+ */
48
+ reset(): void;
49
+ /**
50
+ * Get all validation errors
51
+ */
52
+ getValidationErrors(): ValidationError[];
53
+ /**
54
+ * Display development dashboard
55
+ */
56
+ showDevelopmentDashboard(): void;
57
+ }
58
+ export declare const runtimeValidator: RuntimeModifierValidator;
59
+ /**
60
+ * Development helper: log modifier parameters
61
+ */
62
+ export declare function logModifierUsage(modifierName: string, parameters: any, componentName?: string): void;
63
+ /**
64
+ * Development helper: validate and provide hints
65
+ */
66
+ export declare function validateAndHint(modifierName: string, parameters: any, componentName?: string): ValidationError[];
67
+ /**
68
+ * Auto-setup development helpers (call once in development)
69
+ */
70
+ export declare function setupDevelopmentHelpers(): void;
71
+ export {};
72
+ //# sourceMappingURL=runtime-modifier-validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-modifier-validation.d.ts","sourceRoot":"","sources":["../src/runtime-modifier-validation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,UAAU,UAAU;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB;AAED,qBAAa,wBAAwB;IACnC,OAAO,CAAC,UAAU,CAA4B;IAC9C,OAAO,CAAC,gBAAgB,CAAwB;IAChD,OAAO,CAAC,SAAS,CACyD;IAE1E;;OAEG;IACH,gBAAgB,CACd,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,GAAG,EACf,aAAa,CAAC,EAAE,MAAM,GACrB,eAAe,EAAE;IAqDpB,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IA4B3B,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,mBAAmB;IA6B3B,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,mBAAmB;IAyB3B;;OAEG;IACH,mBAAmB,IAAI;QACrB,OAAO,EAAE,UAAU,EAAE,CAAA;QACrB,eAAe,EAAE,MAAM,CAAA;QACvB,eAAe,EAAE,MAAM,EAAE,CAAA;KAC1B;IAkCD,OAAO,CAAC,uBAAuB;IAiC/B;;OAEG;IACH,KAAK;IAKL;;OAEG;IACH,mBAAmB,IAAI,eAAe,EAAE;IAIxC;;OAEG;IACH,wBAAwB;CA4BzB;AAGD,eAAO,MAAM,gBAAgB,0BAAiC,CAAA;AAE9D;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,GAAG,EACf,aAAa,CAAC,EAAE,MAAM,QAUvB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,GAAG,EACf,aAAa,CAAC,EAAE,MAAM,qBAwBvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,SAetC"}
@@ -44,4 +44,3 @@ export {
44
44
  MockProvider,
45
45
  SnapshotTester
46
46
  };
47
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Vite Plugin for TachUI Import Optimization
3
+ *
4
+ * Automatically optimizes imports during build for better bundle size
5
+ */
6
+ import type { Plugin } from 'vite';
7
+ interface TachUIImportOptimizerOptions {
8
+ /**
9
+ * Enable automatic import optimization
10
+ * @default true
11
+ */
12
+ autoOptimize?: boolean;
13
+ /**
14
+ * Show bundle size warnings
15
+ * @default true
16
+ */
17
+ showWarnings?: boolean;
18
+ /**
19
+ * Target bundle size goals (in KB)
20
+ */
21
+ bundleTargets?: {
22
+ minimal: number;
23
+ standard: number;
24
+ full: number;
25
+ };
26
+ /**
27
+ * Import transformation rules
28
+ */
29
+ transforms?: Record<string, string | ((namedImports: string[]) => string)>;
30
+ }
31
+ export declare function tachUIImportOptimizer(options?: TachUIImportOptimizerOptions): Plugin;
32
+ export {};
33
+ //# sourceMappingURL=vite-plugin-import-optimizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite-plugin-import-optimizer.d.ts","sourceRoot":"","sources":["../src/vite-plugin-import-optimizer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIlC,UAAU,4BAA4B;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE;QACd,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,MAAM,CAAA;QAChB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IAED;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,CAAC,CAAA;CAC3E;AA+CD,wBAAgB,qBAAqB,CACnC,OAAO,GAAE,4BAAiC,GACzC,MAAM,CAkMR"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * VS Code Extension for TachUI Modifier IntelliSense
3
+ *
4
+ * Provides parameter hints, autocomplete, and documentation for all modifiers
5
+ */
6
+ import * as vscode from 'vscode';
7
+ export declare class TachUIModifierProvider implements vscode.CompletionItemProvider, vscode.HoverProvider {
8
+ /**
9
+ * Provide completion items for modifier methods
10
+ */
11
+ provideCompletionItems(document: vscode.TextDocument, position: vscode.Position, _token: vscode.CancellationToken, _context: vscode.CompletionContext): vscode.ProviderResult<vscode.CompletionItem[]>;
12
+ /**
13
+ * Provide hover information for modifiers
14
+ */
15
+ provideHover(document: vscode.TextDocument, position: vscode.Position, _token: vscode.CancellationToken): vscode.ProviderResult<vscode.Hover>;
16
+ private isInModifierContext;
17
+ }
18
+ /**
19
+ * Signature help provider for modifier parameters
20
+ */
21
+ export declare class TachUISignatureHelpProvider implements vscode.SignatureHelpProvider {
22
+ provideSignatureHelp(document: vscode.TextDocument, position: vscode.Position, _token: vscode.CancellationToken, _context: vscode.SignatureHelpContext): vscode.ProviderResult<vscode.SignatureHelp>;
23
+ private buildSignatureLabel;
24
+ }
25
+ /**
26
+ * Code action provider for modifier optimization
27
+ */
28
+ export declare class TachUICodeActionProvider implements vscode.CodeActionProvider {
29
+ provideCodeActions(document: vscode.TextDocument, range: vscode.Range | vscode.Selection, context: vscode.CodeActionContext, _token: vscode.CancellationToken): vscode.ProviderResult<vscode.CodeAction[]>;
30
+ private parseParameters;
31
+ }
32
+ /**
33
+ * Register all providers
34
+ */
35
+ export declare function activate(context: vscode.ExtensionContext): void;
36
+ //# sourceMappingURL=modifier-intellisense.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modifier-intellisense.d.ts","sourceRoot":"","sources":["../../src/vscode-extension/modifier-intellisense.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAMhC,qBAAa,sBACX,YAAW,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,aAAa;IAE9D;;OAEG;IACH,sBAAsB,CACpB,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,MAAM,EAAE,MAAM,CAAC,iBAAiB,EAChC,QAAQ,EAAE,MAAM,CAAC,iBAAiB,GACjC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IAmFjD;;OAEG;IACH,YAAY,CACV,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,MAAM,EAAE,MAAM,CAAC,iBAAiB,GAC/B,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC;IAmDtC,OAAO,CAAC,mBAAmB;CAc5B;AAED;;GAEG;AACH,qBAAa,2BACX,YAAW,MAAM,CAAC,qBAAqB;IAEvC,oBAAoB,CAClB,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,MAAM,EAAE,MAAM,CAAC,iBAAiB,EAChC,QAAQ,EAAE,MAAM,CAAC,oBAAoB,GACpC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,aAAa,CAAC;IAyC9C,OAAO,CAAC,mBAAmB;CAc5B;AAED;;GAEG;AACH,qBAAa,wBAAyB,YAAW,MAAM,CAAC,kBAAkB;IACxE,kBAAkB,CAChB,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,KAAK,EAAE,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,SAAS,EACtC,OAAO,EAAE,MAAM,CAAC,iBAAiB,EACjC,MAAM,EAAE,MAAM,CAAC,iBAAiB,GAC/B,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;IAuC7C,OAAO,CAAC,eAAe;CAcxB;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,gBAAgB,QAwDxD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachui/devtools",
3
- "version": "0.8.0-alpha",
3
+ "version": "0.8.5-alpha",
4
4
  "description": "Development & debugging tools for tachUI framework",
5
5
  "homepage": "https://tachui.dev/",
6
6
  "type": "module",
@@ -9,6 +9,14 @@
9
9
  "types": "./dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "development": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "production": {
17
+ "types": "./dist/index.prod.d.ts",
18
+ "import": "./dist/index.prod.js"
19
+ },
12
20
  "types": "./dist/index.d.ts",
13
21
  "import": "./dist/index.js"
14
22
  },
@@ -33,12 +41,15 @@
33
41
  "dist"
34
42
  ],
35
43
  "dependencies": {
36
- "@tachui/primitives": "0.8.0-alpha",
37
- "@tachui/core": "0.8.0-alpha"
44
+ "magic-string": "^0.30.0",
45
+ "@tachui/core": "0.8.5-alpha",
46
+ "@tachui/primitives": "0.8.5-alpha",
47
+ "@tachui/registry": "0.8.5-alpha"
38
48
  },
39
49
  "devDependencies": {
40
50
  "@types/node": "^20.0.0",
41
51
  "@types/jsdom": "^21.1.6",
52
+ "@types/vscode": "^1.80.0",
42
53
  "@vitest/coverage-v8": "^3.2.4",
43
54
  "jsdom": "^23.2.0",
44
55
  "typescript": "^5.8.0",
@@ -66,7 +77,9 @@
66
77
  },
67
78
  "sideEffects": false,
68
79
  "scripts": {
69
- "build": "vite build && tsc --emitDeclarationOnly",
80
+ "build": "vite build && tsc --project tsconfig.json --emitDeclarationOnly",
81
+ "build:dev": "vite build --mode development && tsc --project tsconfig.json --emitDeclarationOnly",
82
+ "build:prod": "vite build --mode production && tsc --project tsconfig.json --emitDeclarationOnly",
70
83
  "dev": "vite build --watch",
71
84
  "clean": "rm -rf dist",
72
85
  "test": "vitest run",