@tachui/core 0.7.1-alpha → 0.8.1-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.
- package/README.md +20 -2
- package/dist/bundles/assets.d.ts +19 -0
- package/dist/bundles/assets.d.ts.map +1 -0
- package/dist/bundles/common.d.ts +1 -1
- package/dist/bundles/common.d.ts.map +1 -1
- package/dist/bundles/context.d.ts +22 -0
- package/dist/bundles/context.d.ts.map +1 -0
- package/dist/bundles/minimal.d.ts +8 -18
- package/dist/bundles/minimal.d.ts.map +1 -1
- package/dist/bundles/production-minimal.d.ts +2 -16
- package/dist/bundles/production-minimal.d.ts.map +1 -1
- package/dist/common.js +405 -828
- package/dist/compiler/advanced-parser.d.ts.map +1 -1
- package/dist/compiler/codegen.d.ts.map +1 -1
- package/dist/compiler/index.js +6 -1387
- package/dist/compiler/parser.d.ts +1 -1
- package/dist/compiler/parser.d.ts.map +1 -1
- package/dist/compiler/plugin.d.ts.map +1 -1
- package/dist/compiler/types.d.ts +28 -0
- package/dist/compiler/types.d.ts.map +1 -1
- package/dist/component-XAzF1xqs.js +487 -0
- package/dist/component-base-x2XmHFjy.js +255 -0
- package/dist/components/index.d.ts +4 -38
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -4167
- package/dist/components/wrapper.d.ts +5 -152
- package/dist/components/wrapper.d.ts.map +1 -1
- package/dist/concatenated-component-ByPl3_FF.js +2933 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/layout.d.ts +47 -4
- package/dist/constants/layout.d.ts.map +1 -1
- package/dist/constants/layout.js +84 -0
- package/dist/css-classes/index.js +176 -0
- package/dist/{dom-bridge-Cx-s6Ihx.js → dom-bridge-CAa1N2zX.js} +28 -28
- package/dist/{effect-CytAc9em.js → effect-B9Knft0b.js} +3 -3
- package/dist/essential.js +397 -826
- package/dist/index-DEBd8cq7.js +1144 -0
- package/dist/index-DIvMCJQO.js +268 -0
- package/dist/index-vdsiw6gQ.js +777 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +397 -826
- package/dist/minimal-prod.js +101 -155
- package/dist/minimal.js +118 -170
- package/dist/modifiers/background.d.ts +41 -11
- package/dist/modifiers/background.d.ts.map +1 -1
- package/dist/modifiers/base.d.ts +6 -33
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +487 -0
- package/dist/modifiers/builder.d.ts +103 -195
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +9 -0
- package/dist/modifiers/core.d.ts +9 -401
- package/dist/modifiers/core.d.ts.map +1 -1
- package/dist/modifiers/{utils.d.ts → factories.d.ts} +18 -5
- package/dist/modifiers/factories.d.ts.map +1 -0
- package/dist/modifiers/index.d.ts +8 -52
- package/dist/modifiers/index.d.ts.map +1 -1
- package/dist/modifiers/index.js +38 -0
- package/dist/modifiers/presets.d.ts +368 -0
- package/dist/modifiers/presets.d.ts.map +1 -0
- package/dist/modifiers/registry.js +10 -0
- package/dist/modifiers/types.d.ts +39 -211
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +4 -0
- package/dist/observed-object-Cos-FtjP.js +269 -0
- package/dist/performance-optimizer-stub-CtfXUwl4.js +38 -0
- package/dist/plugin-BCAdZXKq.js +1680 -0
- package/dist/plugins/index.d.ts +5 -6
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +147 -297
- package/dist/plugins/simplified-index.d.ts +5 -6
- package/dist/plugins/simplified-index.d.ts.map +1 -1
- package/dist/production-minimal-BY_gMc-l.js +2532 -0
- package/dist/reactive/index.js +96 -95
- package/dist/reactive/types.js +4 -0
- package/dist/runtime/concatenation-aria.d.ts +24 -0
- package/dist/runtime/concatenation-aria.d.ts.map +1 -0
- package/dist/runtime/concatenation-aria.js +53 -0
- package/dist/runtime/concatenation-full.d.ts +30 -0
- package/dist/runtime/concatenation-full.d.ts.map +1 -0
- package/dist/runtime/concatenation-full.js +77 -0
- package/dist/runtime/concatenation-minimal.d.ts +25 -0
- package/dist/runtime/concatenation-minimal.d.ts.map +1 -0
- package/dist/runtime/concatenation-minimal.js +40 -0
- package/dist/runtime/dom-bridge.js +5 -5
- package/dist/runtime/element-override.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +0 -7
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +7 -8
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -0
- package/dist/{scheduler-7SvC3a21.js → scheduler-BKeqwrYE.js} +130 -130
- package/dist/validation/build-time-stub.d.ts +33 -0
- package/dist/validation/build-time-stub.d.ts.map +1 -0
- package/dist/validation/debug-tools-stub.d.ts +67 -0
- package/dist/validation/debug-tools-stub.d.ts.map +1 -0
- package/dist/validation/index.d.ts +23 -78
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +609 -6470
- package/dist/validation/lifecycle-validation.d.ts.map +1 -1
- package/dist/validation/performance-optimizer-stub.d.ts +50 -0
- package/dist/validation/performance-optimizer-stub.d.ts.map +1 -0
- package/dist/validation/plugin-registration.d.ts +5 -1
- package/dist/validation/plugin-registration.d.ts.map +1 -1
- package/dist/validation/production-bypass-core.d.ts +69 -0
- package/dist/validation/production-bypass-core.d.ts.map +1 -0
- package/package.json +61 -5
- package/dist/ScrollView-h-6wYMAm.js +0 -515
- package/dist/Spacer-BbteDQ9I.js +0 -5337
- package/dist/binding-CmdpowkI.js +0 -2276
- package/dist/components/BasicInput.d.ts +0 -116
- package/dist/components/BasicInput.d.ts.map +0 -1
- package/dist/components/Button.d.ts +0 -252
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Divider.d.ts +0 -141
- package/dist/components/Divider.d.ts.map +0 -1
- package/dist/components/EnhancedLink.d.ts +0 -365
- package/dist/components/EnhancedLink.d.ts.map +0 -1
- package/dist/components/Form.d.ts +0 -141
- package/dist/components/Form.d.ts.map +0 -1
- package/dist/components/Grid.d.ts +0 -698
- package/dist/components/Grid.d.ts.map +0 -1
- package/dist/components/GridResponsive.d.ts +0 -214
- package/dist/components/GridResponsive.d.ts.map +0 -1
- package/dist/components/Image.d.ts +0 -162
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/List.d.ts +0 -287
- package/dist/components/List.d.ts.map +0 -1
- package/dist/components/Menu.d.ts +0 -159
- package/dist/components/Menu.d.ts.map +0 -1
- package/dist/components/Picker.d.ts +0 -153
- package/dist/components/Picker.d.ts.map +0 -1
- package/dist/components/ScrollView.d.ts +0 -222
- package/dist/components/ScrollView.d.ts.map +0 -1
- package/dist/components/Section.d.ts +0 -153
- package/dist/components/Section.d.ts.map +0 -1
- package/dist/components/Show.d.ts +0 -64
- package/dist/components/Show.d.ts.map +0 -1
- package/dist/components/Spacer.d.ts +0 -35
- package/dist/components/Spacer.d.ts.map +0 -1
- package/dist/components/Text.d.ts +0 -242
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Toggle.d.ts +0 -207
- package/dist/components/Toggle.d.ts.map +0 -1
- package/dist/concatenated-component-DPcl2TEO.js +0 -6779
- package/dist/context--zQFIImS.js +0 -283
- package/dist/debug/index.d.ts +0 -61
- package/dist/debug/index.d.ts.map +0 -1
- package/dist/debug.js +0 -178
- package/dist/developer-experience/enhanced-errors.d.ts +0 -128
- package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
- package/dist/developer-experience/enhanced-types.d.ts +0 -281
- package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
- package/dist/developer-experience/index.d.ts +0 -44
- package/dist/developer-experience/index.d.ts.map +0 -1
- package/dist/index-Nfi2SBQh.js +0 -3268
- package/dist/modifiers/attributes.d.ts +0 -203
- package/dist/modifiers/attributes.d.ts.map +0 -1
- package/dist/modifiers/backdrop.d.ts +0 -59
- package/dist/modifiers/backdrop.d.ts.map +0 -1
- package/dist/modifiers/border.d.ts +0 -217
- package/dist/modifiers/border.d.ts.map +0 -1
- package/dist/modifiers/effects.d.ts +0 -159
- package/dist/modifiers/effects.d.ts.map +0 -1
- package/dist/modifiers/elements.d.ts +0 -240
- package/dist/modifiers/elements.d.ts.map +0 -1
- package/dist/modifiers/filters.d.ts +0 -275
- package/dist/modifiers/filters.d.ts.map +0 -1
- package/dist/modifiers/flexbox.d.ts +0 -82
- package/dist/modifiers/flexbox.d.ts.map +0 -1
- package/dist/modifiers/font.d.ts +0 -71
- package/dist/modifiers/font.d.ts.map +0 -1
- package/dist/modifiers/grid.d.ts +0 -92
- package/dist/modifiers/grid.d.ts.map +0 -1
- package/dist/modifiers/margin.d.ts +0 -128
- package/dist/modifiers/margin.d.ts.map +0 -1
- package/dist/modifiers/padding.d.ts +0 -204
- package/dist/modifiers/padding.d.ts.map +0 -1
- package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
- package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
- package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
- package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
- package/dist/modifiers/responsive/css-generator.d.ts +0 -100
- package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
- package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
- package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
- package/dist/modifiers/responsive/index.d.ts +0 -29
- package/dist/modifiers/responsive/index.d.ts.map +0 -1
- package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
- package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
- package/dist/modifiers/responsive/performance.d.ts +0 -130
- package/dist/modifiers/responsive/performance.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
- package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
- package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
- package/dist/modifiers/responsive/types.d.ts +0 -183
- package/dist/modifiers/responsive/types.d.ts.map +0 -1
- package/dist/modifiers/responsive/utilities.d.ts +0 -149
- package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
- package/dist/modifiers/scroll.d.ts +0 -143
- package/dist/modifiers/scroll.d.ts.map +0 -1
- package/dist/modifiers/shadows.d.ts +0 -114
- package/dist/modifiers/shadows.d.ts.map +0 -1
- package/dist/modifiers/size.d.ts +0 -113
- package/dist/modifiers/size.d.ts.map +0 -1
- package/dist/modifiers/text.d.ts +0 -147
- package/dist/modifiers/text.d.ts.map +0 -1
- package/dist/modifiers/transformations.d.ts +0 -329
- package/dist/modifiers/transformations.d.ts.map +0 -1
- package/dist/modifiers/transitions.d.ts +0 -98
- package/dist/modifiers/transitions.d.ts.map +0 -1
- package/dist/modifiers/typography.d.ts +0 -192
- package/dist/modifiers/typography.d.ts.map +0 -1
- package/dist/modifiers/utility.d.ts +0 -69
- package/dist/modifiers/utility.d.ts.map +0 -1
- package/dist/modifiers/utils.d.ts.map +0 -1
- package/dist/plugins/simplified-error-handler.d.ts +0 -83
- package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
- package/dist/runtime/dev-tools.d.ts +0 -240
- package/dist/runtime/dev-tools.d.ts.map +0 -1
- package/dist/runtime/development-warnings.d.ts +0 -42
- package/dist/runtime/development-warnings.d.ts.map +0 -1
- package/dist/runtime/error-boundary.d.ts +0 -302
- package/dist/runtime/error-boundary.d.ts.map +0 -1
- package/dist/runtime/error-recovery.d.ts +0 -267
- package/dist/runtime/error-recovery.d.ts.map +0 -1
- package/dist/runtime/error-reporting.d.ts +0 -287
- package/dist/runtime/error-reporting.d.ts.map +0 -1
- package/dist/runtime/error-utils.d.ts +0 -204
- package/dist/runtime/error-utils.d.ts.map +0 -1
- package/dist/runtime/performance.d.ts +0 -217
- package/dist/runtime/performance.d.ts.map +0 -1
- package/dist/sui-compat.d.ts +0 -110
- package/dist/sui-compat.d.ts.map +0 -1
- package/dist/validation/advanced-debugging.d.ts +0 -319
- package/dist/validation/advanced-debugging.d.ts.map +0 -1
- package/dist/validation/build-time/detection.d.ts +0 -32
- package/dist/validation/build-time/detection.d.ts.map +0 -1
- package/dist/validation/build-time/index.d.ts +0 -84
- package/dist/validation/build-time/index.d.ts.map +0 -1
- package/dist/validation/build-time/plugins.d.ts +0 -75
- package/dist/validation/build-time/plugins.d.ts.map +0 -1
- package/dist/validation/build-time/rules.d.ts +0 -73
- package/dist/validation/build-time/rules.d.ts.map +0 -1
- package/dist/validation/build-time/transformer.d.ts +0 -23
- package/dist/validation/build-time/transformer.d.ts.map +0 -1
- package/dist/validation/build-time/types.d.ts +0 -212
- package/dist/validation/build-time/types.d.ts.map +0 -1
- package/dist/validation/comprehensive.d.ts +0 -160
- package/dist/validation/comprehensive.d.ts.map +0 -1
- package/dist/validation/debug-tools.d.ts +0 -251
- package/dist/validation/debug-tools.d.ts.map +0 -1
- package/dist/validation/developer-experience.d.ts +0 -243
- package/dist/validation/developer-experience.d.ts.map +0 -1
- package/dist/validation/documentation-integration.d.ts +0 -269
- package/dist/validation/documentation-integration.d.ts.map +0 -1
- package/dist/validation/enhanced-runtime.d.ts +0 -279
- package/dist/validation/enhanced-runtime.d.ts.map +0 -1
- package/dist/validation/error-reporting.d.ts +0 -186
- package/dist/validation/error-reporting.d.ts.map +0 -1
- package/dist/validation/ide-integration.d.ts +0 -328
- package/dist/validation/ide-integration.d.ts.map +0 -1
- package/dist/validation/performance-optimizer.d.ts +0 -218
- package/dist/validation/performance-optimizer.d.ts.map +0 -1
- package/dist/validation/production-bypass.d.ts +0 -175
- package/dist/validation/production-bypass.d.ts.map +0 -1
- package/dist/validation/simple.d.ts +0 -111
- package/dist/validation/simple.d.ts.map +0 -1
- package/dist/viewport/adapters/web-adapter.d.ts +0 -227
- package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
- package/dist/viewport/components.d.ts +0 -131
- package/dist/viewport/components.d.ts.map +0 -1
- package/dist/viewport/environment.d.ts +0 -75
- package/dist/viewport/environment.d.ts.map +0 -1
- package/dist/viewport/index.d.ts +0 -138
- package/dist/viewport/index.d.ts.map +0 -1
- package/dist/viewport/index.js +0 -2085
- package/dist/viewport/platform-detection.d.ts +0 -59
- package/dist/viewport/platform-detection.d.ts.map +0 -1
- package/dist/viewport/types.d.ts +0 -301
- package/dist/viewport/types.d.ts.map +0 -1
- package/dist/viewport/viewport-manager.d.ts +0 -118
- package/dist/viewport/viewport-manager.d.ts.map +0 -1
|
@@ -30,117 +30,6 @@ export declare function withModifiers<P extends ComponentProps>(component: Compo
|
|
|
30
30
|
export declare function createReactiveWrapper<P extends ComponentProps>(renderFn: (props: P) => DOMNode | DOMNode[], options?: WrapperOptions): (props: P) => ModifiableComponent<P> & {
|
|
31
31
|
modifier: ModifierBuilder<ModifiableComponent<P>>;
|
|
32
32
|
};
|
|
33
|
-
/**
|
|
34
|
-
* Simple HTML element wrappers with modifier support
|
|
35
|
-
*
|
|
36
|
-
* These are basic HTML element wrappers for simple use cases.
|
|
37
|
-
* For enhanced SwiftUI-style components with advanced features,
|
|
38
|
-
* use the main component exports (Button, Image, Text, etc.).
|
|
39
|
-
*/
|
|
40
|
-
export declare const HTML: {
|
|
41
|
-
/**
|
|
42
|
-
* Create a div element with modifier support
|
|
43
|
-
*/
|
|
44
|
-
div: (props?: {
|
|
45
|
-
children?: any;
|
|
46
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
47
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Create a span element with modifier support
|
|
51
|
-
*/
|
|
52
|
-
span: (props?: {
|
|
53
|
-
children?: any;
|
|
54
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
55
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Create a paragraph element with modifier support
|
|
59
|
-
*/
|
|
60
|
-
p: (props?: {
|
|
61
|
-
children?: any;
|
|
62
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
63
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Create a button element with modifier support
|
|
67
|
-
*
|
|
68
|
-
* Note: For enhanced button features (press states, variants, accessibility),
|
|
69
|
-
* use the main Button component instead.
|
|
70
|
-
*/
|
|
71
|
-
button: (props?: {
|
|
72
|
-
children?: any;
|
|
73
|
-
onClick?: () => void;
|
|
74
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
75
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Create an input element with modifier support
|
|
79
|
-
*/
|
|
80
|
-
input: (props?: {
|
|
81
|
-
type?: string;
|
|
82
|
-
value?: string;
|
|
83
|
-
placeholder?: string;
|
|
84
|
-
onChange?: (value: string) => void;
|
|
85
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
86
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Create an image element with modifier support
|
|
90
|
-
*
|
|
91
|
-
* Note: For enhanced image features (loading states, content modes, progressive loading),
|
|
92
|
-
* use the main Image component instead.
|
|
93
|
-
*/
|
|
94
|
-
img: (props: {
|
|
95
|
-
src: string;
|
|
96
|
-
alt?: string;
|
|
97
|
-
width?: number | string;
|
|
98
|
-
height?: number | string;
|
|
99
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
100
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Create a heading element with modifier support
|
|
104
|
-
*/
|
|
105
|
-
heading: (level: 1 | 2 | 3 | 4 | 5 | 6) => (props?: {
|
|
106
|
-
children?: any;
|
|
107
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
108
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Shorthand for heading elements
|
|
113
|
-
*/
|
|
114
|
-
export declare const H1: (props?: {
|
|
115
|
-
children?: any;
|
|
116
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
117
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
118
|
-
};
|
|
119
|
-
export declare const H2: (props?: {
|
|
120
|
-
children?: any;
|
|
121
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
122
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
123
|
-
};
|
|
124
|
-
export declare const H3: (props?: {
|
|
125
|
-
children?: any;
|
|
126
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
127
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
128
|
-
};
|
|
129
|
-
export declare const H4: (props?: {
|
|
130
|
-
children?: any;
|
|
131
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
132
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
133
|
-
};
|
|
134
|
-
export declare const H5: (props?: {
|
|
135
|
-
children?: any;
|
|
136
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
137
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
138
|
-
};
|
|
139
|
-
export declare const H6: (props?: {
|
|
140
|
-
children?: any;
|
|
141
|
-
}) => ModifiableComponent<ComponentProps> & {
|
|
142
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
143
|
-
};
|
|
144
33
|
/**
|
|
145
34
|
* Layout container components with modifier support
|
|
146
35
|
*/
|
|
@@ -175,42 +64,6 @@ export declare const Layout: {
|
|
|
175
64
|
modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
|
|
176
65
|
};
|
|
177
66
|
};
|
|
178
|
-
/**
|
|
179
|
-
* SwiftUI-aligned direct exports for layout components
|
|
180
|
-
* These provide the same functionality as Layout.VStack, Layout.HStack, Layout.ZStack
|
|
181
|
-
* but with direct component names for better SwiftUI syntax alignment
|
|
182
|
-
*/
|
|
183
|
-
export declare function VStack(props?: {
|
|
184
|
-
children?: ComponentInstance[];
|
|
185
|
-
spacing?: number;
|
|
186
|
-
alignment?: 'leading' | 'center' | 'trailing';
|
|
187
|
-
debugLabel?: string;
|
|
188
|
-
element?: string;
|
|
189
|
-
}): ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps> & {
|
|
190
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
|
|
191
|
-
};
|
|
192
|
-
export declare function HStack(props?: {
|
|
193
|
-
children?: ComponentInstance[];
|
|
194
|
-
spacing?: number;
|
|
195
|
-
alignment?: 'top' | 'center' | 'bottom';
|
|
196
|
-
debugLabel?: string;
|
|
197
|
-
element?: string;
|
|
198
|
-
}): ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps> & {
|
|
199
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
|
|
200
|
-
};
|
|
201
|
-
export declare function ZStack(props?: {
|
|
202
|
-
children?: ComponentInstance[];
|
|
203
|
-
alignment?: 'topLeading' | 'top' | 'topTrailing' | 'leading' | 'center' | 'trailing' | 'bottomLeading' | 'bottom' | 'bottomTrailing';
|
|
204
|
-
element?: string;
|
|
205
|
-
}): ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps> & {
|
|
206
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* Simple Text component with modifier support
|
|
210
|
-
*/
|
|
211
|
-
export declare function Text(content: string | (() => string)): ModifiableComponent<ComponentProps> & {
|
|
212
|
-
modifier: ModifierBuilder<ModifiableComponent<ComponentProps>>;
|
|
213
|
-
};
|
|
214
67
|
/**
|
|
215
68
|
* Utility to wrap any component with modifier support
|
|
216
69
|
*/
|
|
@@ -224,16 +77,16 @@ export declare function withModifierSupport<P extends ComponentProps>(ComponentC
|
|
|
224
77
|
new (props: P): {
|
|
225
78
|
_modifiableComponent?: ModifiableComponent<P>;
|
|
226
79
|
get modifier(): ModifierBuilder<ModifiableComponent<P>>;
|
|
227
|
-
get modifiers(): import("
|
|
80
|
+
get modifiers(): import("..").Modifier<{}>[];
|
|
228
81
|
type: "component";
|
|
229
|
-
render: import("
|
|
82
|
+
render: import("..").RenderFunction;
|
|
230
83
|
props: P;
|
|
231
84
|
prevProps?: P | undefined;
|
|
232
|
-
children?: import("
|
|
233
|
-
context?: import("
|
|
85
|
+
children?: import("..").ComponentChildren;
|
|
86
|
+
context?: import("..").ComponentContext;
|
|
234
87
|
cleanup?: import("../runtime/types").LifecycleCleanup[];
|
|
235
88
|
id: string;
|
|
236
|
-
ref?: import("
|
|
89
|
+
ref?: import("..").Ref | undefined;
|
|
237
90
|
mounted?: boolean;
|
|
238
91
|
domElements?: Map<string, Element>;
|
|
239
92
|
primaryElement?: Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/components/wrapper.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAE9E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/components/wrapper.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAE9E,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,OAAO,EACR,MAAM,kBAAkB,CAAA;AAGzB,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,C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