@tachui/core 0.7.1-alpha → 0.8.0-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.
Files changed (265) hide show
  1. package/README.md +2 -2
  2. package/dist/bundles/common.d.ts +1 -1
  3. package/dist/bundles/common.d.ts.map +1 -1
  4. package/dist/bundles/minimal.d.ts +2 -16
  5. package/dist/bundles/minimal.d.ts.map +1 -1
  6. package/dist/bundles/production-minimal.d.ts +2 -16
  7. package/dist/bundles/production-minimal.d.ts.map +1 -1
  8. package/dist/common.js +403 -827
  9. package/dist/compiler/advanced-parser.d.ts.map +1 -1
  10. package/dist/compiler/index.js +14 -8
  11. package/dist/component-XAzF1xqs.js +487 -0
  12. package/dist/component-base-x2XmHFjy.js +255 -0
  13. package/dist/components/index.d.ts +4 -38
  14. package/dist/components/index.d.ts.map +1 -1
  15. package/dist/components/index.js +7 -4167
  16. package/dist/components/wrapper.d.ts +5 -152
  17. package/dist/components/wrapper.d.ts.map +1 -1
  18. package/dist/concatenated-component-ByPl3_FF.js +2933 -0
  19. package/dist/constants/index.d.ts +1 -1
  20. package/dist/constants/layout.d.ts +47 -4
  21. package/dist/constants/layout.d.ts.map +1 -1
  22. package/dist/constants/layout.js +84 -0
  23. package/dist/css-classes/index.js +176 -0
  24. package/dist/{dom-bridge-Cx-s6Ihx.js → dom-bridge-CAa1N2zX.js} +28 -28
  25. package/dist/{effect-CytAc9em.js → effect-B9Knft0b.js} +3 -3
  26. package/dist/essential.js +395 -825
  27. package/dist/index-DCPJFUm9.js +1407 -0
  28. package/dist/index-DIvMCJQO.js +268 -0
  29. package/dist/index-vdsiw6gQ.js +777 -0
  30. package/dist/index.d.ts +9 -9
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +395 -825
  33. package/dist/minimal-prod.js +101 -155
  34. package/dist/minimal.js +104 -170
  35. package/dist/modifiers/background.d.ts +41 -11
  36. package/dist/modifiers/background.d.ts.map +1 -1
  37. package/dist/modifiers/base.d.ts +6 -33
  38. package/dist/modifiers/base.d.ts.map +1 -1
  39. package/dist/modifiers/base.js +487 -0
  40. package/dist/modifiers/builder.d.ts +103 -195
  41. package/dist/modifiers/builder.d.ts.map +1 -1
  42. package/dist/modifiers/builder.js +9 -0
  43. package/dist/modifiers/core.d.ts +9 -401
  44. package/dist/modifiers/core.d.ts.map +1 -1
  45. package/dist/modifiers/{utils.d.ts → factories.d.ts} +18 -5
  46. package/dist/modifiers/factories.d.ts.map +1 -0
  47. package/dist/modifiers/index.d.ts +8 -52
  48. package/dist/modifiers/index.d.ts.map +1 -1
  49. package/dist/modifiers/index.js +38 -0
  50. package/dist/modifiers/presets.d.ts +368 -0
  51. package/dist/modifiers/presets.d.ts.map +1 -0
  52. package/dist/modifiers/registry.js +10 -0
  53. package/dist/modifiers/types.d.ts +39 -211
  54. package/dist/modifiers/types.d.ts.map +1 -1
  55. package/dist/modifiers/types.js +4 -0
  56. package/dist/performance-optimizer-stub-CtfXUwl4.js +38 -0
  57. package/dist/plugins/index.d.ts +5 -6
  58. package/dist/plugins/index.d.ts.map +1 -1
  59. package/dist/plugins/index.js +147 -297
  60. package/dist/plugins/simplified-index.d.ts +5 -6
  61. package/dist/plugins/simplified-index.d.ts.map +1 -1
  62. package/dist/production-minimal-BY_gMc-l.js +2532 -0
  63. package/dist/reactive/index.js +96 -95
  64. package/dist/reactive/types.js +4 -0
  65. package/dist/runtime/dom-bridge.js +5 -5
  66. package/dist/runtime/element-override.d.ts.map +1 -1
  67. package/dist/runtime/index.d.ts +0 -7
  68. package/dist/runtime/index.d.ts.map +1 -1
  69. package/dist/runtime/renderer.d.ts.map +1 -1
  70. package/dist/runtime/renderer.js +7 -8
  71. package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
  72. package/dist/runtime/types.js +1 -0
  73. package/dist/{scheduler-7SvC3a21.js → scheduler-BKeqwrYE.js} +130 -130
  74. package/dist/validation/build-time-stub.d.ts +33 -0
  75. package/dist/validation/build-time-stub.d.ts.map +1 -0
  76. package/dist/validation/debug-tools-stub.d.ts +67 -0
  77. package/dist/validation/debug-tools-stub.d.ts.map +1 -0
  78. package/dist/validation/index.d.ts +23 -78
  79. package/dist/validation/index.d.ts.map +1 -1
  80. package/dist/validation/index.js +609 -6470
  81. package/dist/validation/lifecycle-validation.d.ts.map +1 -1
  82. package/dist/validation/performance-optimizer-stub.d.ts +50 -0
  83. package/dist/validation/performance-optimizer-stub.d.ts.map +1 -0
  84. package/dist/validation/plugin-registration.d.ts +5 -1
  85. package/dist/validation/plugin-registration.d.ts.map +1 -1
  86. package/dist/validation/production-bypass-core.d.ts +69 -0
  87. package/dist/validation/production-bypass-core.d.ts.map +1 -0
  88. package/package.json +41 -5
  89. package/dist/ScrollView-h-6wYMAm.js +0 -515
  90. package/dist/Spacer-BbteDQ9I.js +0 -5337
  91. package/dist/binding-CmdpowkI.js +0 -2276
  92. package/dist/components/BasicInput.d.ts +0 -116
  93. package/dist/components/BasicInput.d.ts.map +0 -1
  94. package/dist/components/Button.d.ts +0 -252
  95. package/dist/components/Button.d.ts.map +0 -1
  96. package/dist/components/Divider.d.ts +0 -141
  97. package/dist/components/Divider.d.ts.map +0 -1
  98. package/dist/components/EnhancedLink.d.ts +0 -365
  99. package/dist/components/EnhancedLink.d.ts.map +0 -1
  100. package/dist/components/Form.d.ts +0 -141
  101. package/dist/components/Form.d.ts.map +0 -1
  102. package/dist/components/Grid.d.ts +0 -698
  103. package/dist/components/Grid.d.ts.map +0 -1
  104. package/dist/components/GridResponsive.d.ts +0 -214
  105. package/dist/components/GridResponsive.d.ts.map +0 -1
  106. package/dist/components/Image.d.ts +0 -162
  107. package/dist/components/Image.d.ts.map +0 -1
  108. package/dist/components/List.d.ts +0 -287
  109. package/dist/components/List.d.ts.map +0 -1
  110. package/dist/components/Menu.d.ts +0 -159
  111. package/dist/components/Menu.d.ts.map +0 -1
  112. package/dist/components/Picker.d.ts +0 -153
  113. package/dist/components/Picker.d.ts.map +0 -1
  114. package/dist/components/ScrollView.d.ts +0 -222
  115. package/dist/components/ScrollView.d.ts.map +0 -1
  116. package/dist/components/Section.d.ts +0 -153
  117. package/dist/components/Section.d.ts.map +0 -1
  118. package/dist/components/Show.d.ts +0 -64
  119. package/dist/components/Show.d.ts.map +0 -1
  120. package/dist/components/Spacer.d.ts +0 -35
  121. package/dist/components/Spacer.d.ts.map +0 -1
  122. package/dist/components/Text.d.ts +0 -242
  123. package/dist/components/Text.d.ts.map +0 -1
  124. package/dist/components/Toggle.d.ts +0 -207
  125. package/dist/components/Toggle.d.ts.map +0 -1
  126. package/dist/concatenated-component-DPcl2TEO.js +0 -6779
  127. package/dist/context--zQFIImS.js +0 -283
  128. package/dist/debug/index.d.ts +0 -61
  129. package/dist/debug/index.d.ts.map +0 -1
  130. package/dist/debug.js +0 -178
  131. package/dist/developer-experience/enhanced-errors.d.ts +0 -128
  132. package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
  133. package/dist/developer-experience/enhanced-types.d.ts +0 -281
  134. package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
  135. package/dist/developer-experience/index.d.ts +0 -44
  136. package/dist/developer-experience/index.d.ts.map +0 -1
  137. package/dist/index-Nfi2SBQh.js +0 -3268
  138. package/dist/modifiers/attributes.d.ts +0 -203
  139. package/dist/modifiers/attributes.d.ts.map +0 -1
  140. package/dist/modifiers/backdrop.d.ts +0 -59
  141. package/dist/modifiers/backdrop.d.ts.map +0 -1
  142. package/dist/modifiers/border.d.ts +0 -217
  143. package/dist/modifiers/border.d.ts.map +0 -1
  144. package/dist/modifiers/effects.d.ts +0 -159
  145. package/dist/modifiers/effects.d.ts.map +0 -1
  146. package/dist/modifiers/elements.d.ts +0 -240
  147. package/dist/modifiers/elements.d.ts.map +0 -1
  148. package/dist/modifiers/filters.d.ts +0 -275
  149. package/dist/modifiers/filters.d.ts.map +0 -1
  150. package/dist/modifiers/flexbox.d.ts +0 -82
  151. package/dist/modifiers/flexbox.d.ts.map +0 -1
  152. package/dist/modifiers/font.d.ts +0 -71
  153. package/dist/modifiers/font.d.ts.map +0 -1
  154. package/dist/modifiers/grid.d.ts +0 -92
  155. package/dist/modifiers/grid.d.ts.map +0 -1
  156. package/dist/modifiers/margin.d.ts +0 -128
  157. package/dist/modifiers/margin.d.ts.map +0 -1
  158. package/dist/modifiers/padding.d.ts +0 -204
  159. package/dist/modifiers/padding.d.ts.map +0 -1
  160. package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
  161. package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
  162. package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
  163. package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
  164. package/dist/modifiers/responsive/css-generator.d.ts +0 -100
  165. package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
  166. package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
  167. package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
  168. package/dist/modifiers/responsive/index.d.ts +0 -29
  169. package/dist/modifiers/responsive/index.d.ts.map +0 -1
  170. package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
  171. package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
  172. package/dist/modifiers/responsive/performance.d.ts +0 -130
  173. package/dist/modifiers/responsive/performance.d.ts.map +0 -1
  174. package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
  175. package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
  176. package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
  177. package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
  178. package/dist/modifiers/responsive/types.d.ts +0 -183
  179. package/dist/modifiers/responsive/types.d.ts.map +0 -1
  180. package/dist/modifiers/responsive/utilities.d.ts +0 -149
  181. package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
  182. package/dist/modifiers/scroll.d.ts +0 -143
  183. package/dist/modifiers/scroll.d.ts.map +0 -1
  184. package/dist/modifiers/shadows.d.ts +0 -114
  185. package/dist/modifiers/shadows.d.ts.map +0 -1
  186. package/dist/modifiers/size.d.ts +0 -113
  187. package/dist/modifiers/size.d.ts.map +0 -1
  188. package/dist/modifiers/text.d.ts +0 -147
  189. package/dist/modifiers/text.d.ts.map +0 -1
  190. package/dist/modifiers/transformations.d.ts +0 -329
  191. package/dist/modifiers/transformations.d.ts.map +0 -1
  192. package/dist/modifiers/transitions.d.ts +0 -98
  193. package/dist/modifiers/transitions.d.ts.map +0 -1
  194. package/dist/modifiers/typography.d.ts +0 -192
  195. package/dist/modifiers/typography.d.ts.map +0 -1
  196. package/dist/modifiers/utility.d.ts +0 -69
  197. package/dist/modifiers/utility.d.ts.map +0 -1
  198. package/dist/modifiers/utils.d.ts.map +0 -1
  199. package/dist/plugins/simplified-error-handler.d.ts +0 -83
  200. package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
  201. package/dist/runtime/dev-tools.d.ts +0 -240
  202. package/dist/runtime/dev-tools.d.ts.map +0 -1
  203. package/dist/runtime/development-warnings.d.ts +0 -42
  204. package/dist/runtime/development-warnings.d.ts.map +0 -1
  205. package/dist/runtime/error-boundary.d.ts +0 -302
  206. package/dist/runtime/error-boundary.d.ts.map +0 -1
  207. package/dist/runtime/error-recovery.d.ts +0 -267
  208. package/dist/runtime/error-recovery.d.ts.map +0 -1
  209. package/dist/runtime/error-reporting.d.ts +0 -287
  210. package/dist/runtime/error-reporting.d.ts.map +0 -1
  211. package/dist/runtime/error-utils.d.ts +0 -204
  212. package/dist/runtime/error-utils.d.ts.map +0 -1
  213. package/dist/runtime/performance.d.ts +0 -217
  214. package/dist/runtime/performance.d.ts.map +0 -1
  215. package/dist/sui-compat.d.ts +0 -110
  216. package/dist/sui-compat.d.ts.map +0 -1
  217. package/dist/validation/advanced-debugging.d.ts +0 -319
  218. package/dist/validation/advanced-debugging.d.ts.map +0 -1
  219. package/dist/validation/build-time/detection.d.ts +0 -32
  220. package/dist/validation/build-time/detection.d.ts.map +0 -1
  221. package/dist/validation/build-time/index.d.ts +0 -84
  222. package/dist/validation/build-time/index.d.ts.map +0 -1
  223. package/dist/validation/build-time/plugins.d.ts +0 -75
  224. package/dist/validation/build-time/plugins.d.ts.map +0 -1
  225. package/dist/validation/build-time/rules.d.ts +0 -73
  226. package/dist/validation/build-time/rules.d.ts.map +0 -1
  227. package/dist/validation/build-time/transformer.d.ts +0 -23
  228. package/dist/validation/build-time/transformer.d.ts.map +0 -1
  229. package/dist/validation/build-time/types.d.ts +0 -212
  230. package/dist/validation/build-time/types.d.ts.map +0 -1
  231. package/dist/validation/comprehensive.d.ts +0 -160
  232. package/dist/validation/comprehensive.d.ts.map +0 -1
  233. package/dist/validation/debug-tools.d.ts +0 -251
  234. package/dist/validation/debug-tools.d.ts.map +0 -1
  235. package/dist/validation/developer-experience.d.ts +0 -243
  236. package/dist/validation/developer-experience.d.ts.map +0 -1
  237. package/dist/validation/documentation-integration.d.ts +0 -269
  238. package/dist/validation/documentation-integration.d.ts.map +0 -1
  239. package/dist/validation/enhanced-runtime.d.ts +0 -279
  240. package/dist/validation/enhanced-runtime.d.ts.map +0 -1
  241. package/dist/validation/error-reporting.d.ts +0 -186
  242. package/dist/validation/error-reporting.d.ts.map +0 -1
  243. package/dist/validation/ide-integration.d.ts +0 -328
  244. package/dist/validation/ide-integration.d.ts.map +0 -1
  245. package/dist/validation/performance-optimizer.d.ts +0 -218
  246. package/dist/validation/performance-optimizer.d.ts.map +0 -1
  247. package/dist/validation/production-bypass.d.ts +0 -175
  248. package/dist/validation/production-bypass.d.ts.map +0 -1
  249. package/dist/validation/simple.d.ts +0 -111
  250. package/dist/validation/simple.d.ts.map +0 -1
  251. package/dist/viewport/adapters/web-adapter.d.ts +0 -227
  252. package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
  253. package/dist/viewport/components.d.ts +0 -131
  254. package/dist/viewport/components.d.ts.map +0 -1
  255. package/dist/viewport/environment.d.ts +0 -75
  256. package/dist/viewport/environment.d.ts.map +0 -1
  257. package/dist/viewport/index.d.ts +0 -138
  258. package/dist/viewport/index.d.ts.map +0 -1
  259. package/dist/viewport/index.js +0 -2085
  260. package/dist/viewport/platform-detection.d.ts +0 -59
  261. package/dist/viewport/platform-detection.d.ts.map +0 -1
  262. package/dist/viewport/types.d.ts +0 -301
  263. package/dist/viewport/types.d.ts.map +0 -1
  264. package/dist/viewport/viewport-manager.d.ts +0 -118
  265. package/dist/viewport/viewport-manager.d.ts.map +0 -1
@@ -1,242 +0,0 @@
1
- /**
2
- * Enhanced Text Component (Phase 5.1)
3
- *
4
- * SwiftUI-inspired Text component with full typography support,
5
- * text formatting, and advanced styling capabilities.
6
- */
7
- import type { ModifiableComponent, ModifierBuilder } from '../modifiers/types';
8
- import type { Signal } from '../reactive/types';
9
- import type { ComponentInstance, ComponentProps } from '../runtime/types';
10
- import type { Concatenatable, ComponentSegment } from '../concatenation/types';
11
- import { ConcatenatedComponent } from '../concatenation/concatenated-component';
12
- import { type ElementOverrideProps } from '../runtime/element-override';
13
- import { ComponentWithCSSClasses, type CSSClassesProps } from '../css-classes';
14
- /**
15
- * Text component properties with element override support and CSS classes
16
- */
17
- export interface TextProps extends ComponentProps, ElementOverrideProps, CSSClassesProps {
18
- content?: string | (() => string) | Signal<string>;
19
- font?: {
20
- family?: string;
21
- size?: number | string;
22
- weight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
23
- style?: 'normal' | 'italic' | 'oblique';
24
- variant?: 'normal' | 'small-caps';
25
- };
26
- color?: string | Signal<string>;
27
- backgroundColor?: string | Signal<string>;
28
- textAlign?: 'left' | 'center' | 'right' | 'justify';
29
- textDecoration?: 'none' | 'underline' | 'line-through' | 'overline';
30
- textTransform?: 'none' | 'uppercase' | 'lowercase' | 'capitalize';
31
- lineHeight?: number | string;
32
- letterSpacing?: number | string;
33
- wordSpacing?: number | string;
34
- lineLimit?: number;
35
- truncationMode?: 'head' | 'tail' | 'middle';
36
- allowsSelection?: boolean;
37
- accessibilityLabel?: string;
38
- accessibilityRole?: 'text' | 'heading' | 'label';
39
- accessibilityLevel?: 1 | 2 | 3 | 4 | 5 | 6;
40
- onTap?: () => void;
41
- onLongPress?: () => void;
42
- }
43
- /**
44
- * Text formatting options
45
- */
46
- export interface TextFormatting {
47
- bold?: boolean;
48
- italic?: boolean;
49
- underline?: boolean;
50
- strikethrough?: boolean;
51
- monospace?: boolean;
52
- smallCaps?: boolean;
53
- }
54
- /**
55
- * Typography presets following SwiftUI patterns
56
- */
57
- export declare const Typography: {
58
- largeTitle: {
59
- size: number;
60
- weight: "400";
61
- lineHeight: number;
62
- };
63
- title: {
64
- size: number;
65
- weight: "400";
66
- lineHeight: number;
67
- };
68
- title2: {
69
- size: number;
70
- weight: "400";
71
- lineHeight: number;
72
- };
73
- title3: {
74
- size: number;
75
- weight: "400";
76
- lineHeight: number;
77
- };
78
- headline: {
79
- size: number;
80
- weight: "600";
81
- lineHeight: number;
82
- };
83
- body: {
84
- size: number;
85
- weight: "400";
86
- lineHeight: number;
87
- };
88
- callout: {
89
- size: number;
90
- weight: "400";
91
- lineHeight: number;
92
- };
93
- subheadline: {
94
- size: number;
95
- weight: "400";
96
- lineHeight: number;
97
- };
98
- footnote: {
99
- size: number;
100
- weight: "400";
101
- lineHeight: number;
102
- };
103
- caption: {
104
- size: number;
105
- weight: "400";
106
- lineHeight: number;
107
- };
108
- caption2: {
109
- size: number;
110
- weight: "400";
111
- lineHeight: number;
112
- };
113
- };
114
- /**
115
- * Enhanced Text component class with reactive content handling, concatenation support, element override, and CSS classes
116
- */
117
- export declare class EnhancedText extends ComponentWithCSSClasses implements ComponentInstance<TextProps>, Concatenatable<TextProps> {
118
- props: TextProps;
119
- readonly type: "component";
120
- readonly id: string;
121
- mounted: boolean;
122
- cleanup: (() => void)[];
123
- private effectiveTag;
124
- private validationResult;
125
- constructor(props: TextProps);
126
- /**
127
- * Render the text component with reactive content handling, element override support, and CSS classes
128
- */
129
- render(): import("../runtime").DOMNode[];
130
- /**
131
- * Concatenate this text component with another concatenatable component
132
- */
133
- concat<U extends Concatenatable<any>>(other: U): ConcatenatedComponent<TextProps | U>;
134
- /**
135
- * Convert this text component to a segment for concatenation
136
- */
137
- toSegment(): ComponentSegment;
138
- /**
139
- * Check if this component supports concatenation
140
- */
141
- isConcatenatable(): boolean;
142
- /**
143
- * Get the text content for accessibility purposes
144
- */
145
- getTextContent(): string;
146
- /**
147
- * Determine accessibility role when concatenating with another component
148
- */
149
- private determineAccessibilityRole;
150
- /**
151
- * Determine semantic structure when concatenating with another component
152
- */
153
- private determineSemanticStructure;
154
- /**
155
- * Merge accessibility roles
156
- */
157
- private mergeAccessibilityRoles;
158
- /**
159
- * Merge semantic structures
160
- */
161
- private mergeSemanticStructures;
162
- }
163
- /**
164
- * Create enhanced Text component with modifier support
165
- */
166
- export declare function Text(content: string | (() => string) | Signal<string>, props?: Omit<TextProps, 'content'>): ModifiableComponent<TextProps> & {
167
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
168
- };
169
- /**
170
- * Typography preset components
171
- */
172
- export declare const TextStyles: {
173
- LargeTitle: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
174
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
175
- };
176
- Title: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
177
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
178
- };
179
- Title2: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
180
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
181
- };
182
- Title3: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
183
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
184
- };
185
- Headline: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
186
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
187
- };
188
- Body: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
189
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
190
- };
191
- Callout: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
192
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
193
- };
194
- Subheadline: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
195
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
196
- };
197
- Footnote: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
198
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
199
- };
200
- Caption: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
201
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
202
- };
203
- Caption2: (content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content" | "font">) => ModifiableComponent<TextProps> & {
204
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
205
- };
206
- };
207
- /**
208
- * Text formatting utilities
209
- */
210
- export declare const TextFormat: {
211
- /**
212
- * Apply multiple formatting options to text
213
- */
214
- formatted(content: string | (() => string) | Signal<string>, formatting: TextFormatting, props?: Omit<TextProps, "content">): ModifiableComponent<TextProps> & {
215
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
216
- };
217
- /**
218
- * Create bold text
219
- */
220
- bold(content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content">): ModifiableComponent<TextProps> & {
221
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
222
- };
223
- /**
224
- * Create italic text
225
- */
226
- italic(content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content">): ModifiableComponent<TextProps> & {
227
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
228
- };
229
- /**
230
- * Create underlined text
231
- */
232
- underline(content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content">): ModifiableComponent<TextProps> & {
233
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
234
- };
235
- /**
236
- * Create monospace text
237
- */
238
- monospace(content: string | (() => string) | Signal<string>, props?: Omit<TextProps, "content">): ModifiableComponent<TextProps> & {
239
- modifier: ModifierBuilder<ModifiableComponent<TextProps>>;
240
- };
241
- };
242
- //# sourceMappingURL=Text.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEzE,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAEjB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AAC/E,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,uBAAuB,EACvB,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAA;AAGvB;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,cAAc,EAAE,oBAAoB,EAAE,eAAe;IACtF,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;IAGlD,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QACtB,MAAM,CAAC,EACH,QAAQ,GACR,MAAM,GACN,KAAK,G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AAE,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAA;KAC1D;IAuBD;;OAEG;kBACW,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,UAAS,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;kBA3B7E,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;IA+B3D;;OAEG;oBAEQ,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,UAC1C,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;kBApCvB,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;IAyC3D;;OAEG;uBAEQ,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,UAC1C,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;kBA9CvB,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;IAmD3D;;OAEG;uBAEQ,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,UAC1C,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC;kBAxDvB,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;;CA4D5D,CAAA"}
@@ -1,207 +0,0 @@
1
- /**
2
- * Enhanced Toggle Component (Phase 6.4.5)
3
- *
4
- * SwiftUI-inspired Toggle component with switch-style boolean controls,
5
- * smooth animations, and multiple style variants.
6
- */
7
- import type { ModifiableComponent, ModifierBuilder } from '../modifiers/types';
8
- import type { Signal } from '../reactive/types';
9
- import type { ComponentInstance, ComponentProps, DOMNode } from '../runtime/types';
10
- /**
11
- * Toggle component properties
12
- */
13
- export interface ToggleProps extends ComponentProps {
14
- isOn: boolean | Signal<boolean>;
15
- onToggle?: (isOn: boolean) => void;
16
- label?: string | (() => string) | Signal<string> | ComponentInstance;
17
- variant?: 'switch' | 'checkbox' | 'button';
18
- size?: 'small' | 'medium' | 'large';
19
- color?: string;
20
- offColor?: string;
21
- thumbColor?: string;
22
- disabled?: boolean | Signal<boolean>;
23
- animated?: boolean;
24
- labelPosition?: 'leading' | 'trailing';
25
- spacing?: number;
26
- accessibilityLabel?: string;
27
- accessibilityHint?: string;
28
- }
29
- /**
30
- * Enhanced Toggle component class
31
- */
32
- export declare class EnhancedToggle implements ComponentInstance<ToggleProps> {
33
- props: ToggleProps;
34
- readonly type: "component";
35
- readonly id: string;
36
- mounted: boolean;
37
- cleanup: (() => void)[];
38
- private toggleElement;
39
- private setIsAnimating;
40
- constructor(props: ToggleProps);
41
- /**
42
- * Get current toggle state
43
- */
44
- private getIsOn;
45
- /**
46
- * Check if toggle is disabled
47
- */
48
- private isDisabled;
49
- /**
50
- * Resolve label content
51
- */
52
- private resolveLabel;
53
- /**
54
- * Helper to render component content safely
55
- */
56
- private renderComponentContent;
57
- /**
58
- * Handle toggle change
59
- */
60
- private handleToggle;
61
- /**
62
- * Get toggle size styles
63
- */
64
- private getSizeStyles;
65
- /**
66
- * Render switch variant
67
- */
68
- private renderSwitch;
69
- /**
70
- * Render checkbox variant
71
- */
72
- private renderCheckbox;
73
- /**
74
- * Render button variant
75
- */
76
- private renderButton;
77
- /**
78
- * Render toggle control based on variant
79
- */
80
- private renderToggleControl;
81
- /**
82
- * Render label content
83
- */
84
- private renderLabel;
85
- render(): DOMNode;
86
- }
87
- /**
88
- * Toggle component function
89
- */
90
- export declare function Toggle(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, 'isOn'>): ModifiableComponent<ToggleProps> & {
91
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
92
- };
93
- /**
94
- * Toggle with label
95
- */
96
- export declare function ToggleWithLabel(label: string | (() => string) | Signal<string> | ComponentInstance, isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, 'isOn' | 'label'>): ModifiableComponent<ToggleProps> & {
97
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
98
- };
99
- /**
100
- * Toggle style variants
101
- */
102
- export declare const ToggleStyles: {
103
- /**
104
- * Switch toggle (default)
105
- */
106
- Switch(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "variant">): ModifiableComponent<ToggleProps> & {
107
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
108
- };
109
- /**
110
- * Checkbox toggle
111
- */
112
- Checkbox(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "variant">): ModifiableComponent<ToggleProps> & {
113
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
114
- };
115
- /**
116
- * Button toggle
117
- */
118
- Button(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "variant">): ModifiableComponent<ToggleProps> & {
119
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
120
- };
121
- /**
122
- * Small toggle
123
- */
124
- Small(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "size">): ModifiableComponent<ToggleProps> & {
125
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
126
- };
127
- /**
128
- * Large toggle
129
- */
130
- Large(isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "size">): ModifiableComponent<ToggleProps> & {
131
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
132
- };
133
- /**
134
- * Custom color toggle
135
- */
136
- CustomColor(isOn: boolean | Signal<boolean>, color: string, props?: Omit<ToggleProps, "isOn" | "color">): ModifiableComponent<ToggleProps> & {
137
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
138
- };
139
- /**
140
- * Toggle with leading label
141
- */
142
- WithLeadingLabel(label: string | (() => string) | Signal<string> | ComponentInstance, isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "label" | "labelPosition">): ModifiableComponent<ToggleProps> & {
143
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
144
- };
145
- /**
146
- * Toggle with trailing label (default)
147
- */
148
- WithTrailingLabel(label: string | (() => string) | Signal<string> | ComponentInstance, isOn: boolean | Signal<boolean>, props?: Omit<ToggleProps, "isOn" | "label" | "labelPosition">): ModifiableComponent<ToggleProps> & {
149
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
150
- };
151
- };
152
- /**
153
- * Toggle utilities
154
- */
155
- export declare const ToggleUtils: {
156
- /**
157
- * Create a toggle group with multiple options
158
- */
159
- createGroup(options: Array<{
160
- key: string;
161
- label: string;
162
- isOn: boolean | Signal<boolean>;
163
- onToggle?: (isOn: boolean) => void;
164
- }>, props?: Omit<ToggleProps, "isOn" | "label" | "onToggle">): (ModifiableComponent<ToggleProps> & {
165
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
166
- })[];
167
- /**
168
- * Create exclusive toggle group (radio-like behavior)
169
- */
170
- createExclusiveGroup(options: Array<{
171
- key: string;
172
- label: string;
173
- }>, selectedKey: string | Signal<string>, onSelectionChange?: (key: string) => void, props?: Omit<ToggleProps, "isOn" | "label" | "onToggle">): (ModifiableComponent<ToggleProps> & {
174
- modifier: ModifierBuilder<ModifiableComponent<ToggleProps>>;
175
- })[];
176
- /**
177
- * Batch toggle operations
178
- */
179
- batch: {
180
- /**
181
- * Toggle all items in a group
182
- */
183
- toggleAll(toggles: Array<{
184
- isOn: boolean | Signal<boolean>;
185
- onToggle?: (isOn: boolean) => void;
186
- }>, newState: boolean): void;
187
- /**
188
- * Get state of all toggles in a group
189
- */
190
- getStates(toggles: Array<{
191
- isOn: boolean | Signal<boolean>;
192
- }>): boolean[];
193
- /**
194
- * Check if all toggles are on
195
- */
196
- allOn(toggles: Array<{
197
- isOn: boolean | Signal<boolean>;
198
- }>): boolean;
199
- /**
200
- * Check if any toggle is on
201
- */
202
- anyOn(toggles: Array<{
203
- isOn: boolean | Signal<boolean>;
204
- }>): boolean;
205
- };
206
- };
207
- //# sourceMappingURL=Toggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"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