@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
|
@@ -1,698 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Grid Layout Components (Phase 1)
|
|
3
|
-
*
|
|
4
|
-
* SwiftUI-inspired Grid components with CSS Grid integration.
|
|
5
|
-
* Provides Grid, GridRow, LazyVGrid, and LazyHGrid components
|
|
6
|
-
* that mirror SwiftUI's grid system while leveraging modern CSS Grid capabilities.
|
|
7
|
-
*/
|
|
8
|
-
import type { ModifiableComponent, ModifierBuilder } from '../modifiers/types';
|
|
9
|
-
import type { ComponentInstance, ComponentProps } from '../runtime/types';
|
|
10
|
-
import { type ElementOverrideProps } from '../runtime/element-override';
|
|
11
|
-
import { ComponentWithCSSClasses, type CSSClassesProps } from '../css-classes';
|
|
12
|
-
import type { ResponsiveValue } from '../modifiers/responsive/types';
|
|
13
|
-
import { GridDebugger, GridPerformanceMonitor, type EnhancedResponsiveGridConfig } from './GridResponsive';
|
|
14
|
-
/**
|
|
15
|
-
* GridItem sizing configuration (SwiftUI-equivalent)
|
|
16
|
-
*/
|
|
17
|
-
export interface GridItemConfig {
|
|
18
|
-
type: 'fixed' | 'flexible' | 'adaptive';
|
|
19
|
-
size?: number;
|
|
20
|
-
minimum?: number;
|
|
21
|
-
maximum?: number;
|
|
22
|
-
spacing?: number;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Grid item spanning configuration (Phase 3)
|
|
26
|
-
*/
|
|
27
|
-
export interface GridSpanConfig {
|
|
28
|
-
columnSpan?: number;
|
|
29
|
-
rowSpan?: number;
|
|
30
|
-
columnStart?: number;
|
|
31
|
-
rowStart?: number;
|
|
32
|
-
area?: string;
|
|
33
|
-
alignment?: 'start' | 'center' | 'end' | 'stretch';
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Enhanced grid item with spanning support (Phase 3)
|
|
37
|
-
*/
|
|
38
|
-
export interface EnhancedGridItemConfig extends GridItemConfig {
|
|
39
|
-
span?: GridSpanConfig;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* GridItem factory class - matches SwiftUI GridItem exactly
|
|
43
|
-
*/
|
|
44
|
-
export declare class GridItem {
|
|
45
|
-
/**
|
|
46
|
-
* Fixed-size grid column/row
|
|
47
|
-
*/
|
|
48
|
-
static fixed(size: number, spacing?: number): GridItemConfig;
|
|
49
|
-
/**
|
|
50
|
-
* Flexible grid column/row with optional constraints
|
|
51
|
-
*/
|
|
52
|
-
static flexible(minimum?: number, maximum?: number): GridItemConfig;
|
|
53
|
-
/**
|
|
54
|
-
* Adaptive grid column/row with minimum size
|
|
55
|
-
*/
|
|
56
|
-
static adaptive(minimum: number, maximum?: number): GridItemConfig;
|
|
57
|
-
/**
|
|
58
|
-
* Create spanning configuration for grid items (Phase 3)
|
|
59
|
-
*/
|
|
60
|
-
static spanning(config: GridSpanConfig): GridSpanConfig;
|
|
61
|
-
/**
|
|
62
|
-
* Create enhanced grid item with spanning support (Phase 3)
|
|
63
|
-
*/
|
|
64
|
-
static withSpan(baseConfig: GridItemConfig, spanConfig: GridSpanConfig): EnhancedGridItemConfig;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Responsive grid configuration for breakpoint-aware layouts
|
|
68
|
-
*/
|
|
69
|
-
export type ResponsiveGridItemConfig = {
|
|
70
|
-
base?: GridItemConfig[];
|
|
71
|
-
sm?: GridItemConfig[];
|
|
72
|
-
md?: GridItemConfig[];
|
|
73
|
-
lg?: GridItemConfig[];
|
|
74
|
-
xl?: GridItemConfig[];
|
|
75
|
-
xxl?: GridItemConfig[];
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Grid alignment options (SwiftUI-equivalent)
|
|
79
|
-
*/
|
|
80
|
-
export type GridAlignment = 'topLeading' | 'top' | 'topTrailing' | 'leading' | 'center' | 'trailing' | 'bottomLeading' | 'bottom' | 'bottomTrailing';
|
|
81
|
-
/**
|
|
82
|
-
* Base Grid component properties
|
|
83
|
-
*/
|
|
84
|
-
export interface BaseGridProps extends ComponentProps, ElementOverrideProps, CSSClassesProps {
|
|
85
|
-
children?: ComponentInstance[];
|
|
86
|
-
alignment?: GridAlignment;
|
|
87
|
-
spacing?: number | {
|
|
88
|
-
horizontal?: number;
|
|
89
|
-
vertical?: number;
|
|
90
|
-
};
|
|
91
|
-
debugLabel?: string;
|
|
92
|
-
/** Animation configuration for grid layout changes (Phase 3) */
|
|
93
|
-
animations?: GridAnimationConfig;
|
|
94
|
-
/** Accessibility configuration for grid components (Phase 3) */
|
|
95
|
-
accessibility?: GridAccessibilityConfig;
|
|
96
|
-
/** Advanced styling configuration for grid components (Phase 3) */
|
|
97
|
-
styling?: GridStylingConfig;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Grid component properties (explicit row/column control)
|
|
101
|
-
*/
|
|
102
|
-
export interface GridProps extends BaseGridProps {
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* LazyVGrid component properties (vertical scrolling with flexible columns)
|
|
106
|
-
*/
|
|
107
|
-
export interface LazyVGridProps extends BaseGridProps {
|
|
108
|
-
columns: GridItemConfig[] | ResponsiveGridItemConfig | ResponsiveValue<GridItemConfig[]>;
|
|
109
|
-
pinnedViews?: ('sectionHeaders' | 'sectionFooters')[];
|
|
110
|
-
/** Enhanced responsive configuration (Phase 2) */
|
|
111
|
-
responsive?: EnhancedResponsiveGridConfig;
|
|
112
|
-
/** Sectioned data with headers/footers (Phase 3) */
|
|
113
|
-
sections?: GridSection[];
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* LazyHGrid component properties (horizontal scrolling with flexible rows)
|
|
117
|
-
*/
|
|
118
|
-
export interface LazyHGridProps extends BaseGridProps {
|
|
119
|
-
rows: GridItemConfig[] | ResponsiveGridItemConfig | ResponsiveValue<GridItemConfig[]>;
|
|
120
|
-
pinnedViews?: ('sectionHeaders' | 'sectionFooters')[];
|
|
121
|
-
/** Enhanced responsive configuration (Phase 2) */
|
|
122
|
-
responsive?: EnhancedResponsiveGridConfig;
|
|
123
|
-
/** Sectioned data with headers/footers (Phase 3) */
|
|
124
|
-
sections?: GridSection[];
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Grid animation configuration (Phase 3)
|
|
128
|
-
*/
|
|
129
|
-
export interface GridAnimationConfig {
|
|
130
|
-
/** Enable layout animations when grid structure changes */
|
|
131
|
-
layoutChanges?: boolean | {
|
|
132
|
-
duration?: number;
|
|
133
|
-
easing?: string;
|
|
134
|
-
delay?: number;
|
|
135
|
-
};
|
|
136
|
-
/** Enable animations when items are added/removed */
|
|
137
|
-
itemChanges?: boolean | {
|
|
138
|
-
enter?: {
|
|
139
|
-
duration?: number;
|
|
140
|
-
easing?: string;
|
|
141
|
-
delay?: number;
|
|
142
|
-
from?: 'fade' | 'scale' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right';
|
|
143
|
-
};
|
|
144
|
-
exit?: {
|
|
145
|
-
duration?: number;
|
|
146
|
-
easing?: string;
|
|
147
|
-
delay?: number;
|
|
148
|
-
to?: 'fade' | 'scale' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right';
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
/** Enable animations for responsive breakpoint changes */
|
|
152
|
-
responsive?: boolean | {
|
|
153
|
-
duration?: number;
|
|
154
|
-
easing?: string;
|
|
155
|
-
delay?: number;
|
|
156
|
-
};
|
|
157
|
-
/** Enable animations for section header/footer changes */
|
|
158
|
-
sections?: boolean | {
|
|
159
|
-
duration?: number;
|
|
160
|
-
easing?: string;
|
|
161
|
-
delay?: number;
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Grid accessibility configuration (Phase 3)
|
|
166
|
-
*/
|
|
167
|
-
export interface GridAccessibilityConfig {
|
|
168
|
-
/** Main accessibility label for the grid */
|
|
169
|
-
label?: string;
|
|
170
|
-
/** Description of the grid's purpose */
|
|
171
|
-
description?: string;
|
|
172
|
-
/** ARIA role override (defaults to 'grid' for data grids, 'group' for layout grids) */
|
|
173
|
-
role?: 'grid' | 'group' | 'list' | 'region';
|
|
174
|
-
/** Enable keyboard navigation between grid items */
|
|
175
|
-
keyboardNavigation?: boolean | {
|
|
176
|
-
enabled?: boolean;
|
|
177
|
-
/** Arrow key behavior: 'grid' for 2D navigation, 'list' for linear navigation */
|
|
178
|
-
mode?: 'grid' | 'list';
|
|
179
|
-
/** Enable page up/down navigation */
|
|
180
|
-
pageNavigation?: boolean;
|
|
181
|
-
/** Enable home/end navigation */
|
|
182
|
-
homeEndNavigation?: boolean;
|
|
183
|
-
};
|
|
184
|
-
/** Enable focus management */
|
|
185
|
-
focusManagement?: boolean | {
|
|
186
|
-
enabled?: boolean;
|
|
187
|
-
/** Focus trap within grid */
|
|
188
|
-
trapFocus?: boolean;
|
|
189
|
-
/** Restore focus when grid is unmounted */
|
|
190
|
-
restoreFocus?: boolean;
|
|
191
|
-
/** Skip links for screen readers */
|
|
192
|
-
skipLinks?: boolean;
|
|
193
|
-
};
|
|
194
|
-
/** Screen reader optimizations */
|
|
195
|
-
screenReader?: boolean | {
|
|
196
|
-
enabled?: boolean;
|
|
197
|
-
/** Announce grid structure changes */
|
|
198
|
-
announceChanges?: boolean;
|
|
199
|
-
/** Provide row/column count information */
|
|
200
|
-
announceStructure?: boolean;
|
|
201
|
-
/** Announce item positions */
|
|
202
|
-
announcePositions?: boolean;
|
|
203
|
-
};
|
|
204
|
-
/** Reduced motion support */
|
|
205
|
-
reducedMotion?: boolean | {
|
|
206
|
-
respectPreference?: boolean;
|
|
207
|
-
fallbackBehavior?: 'disable' | 'reduce' | 'instant';
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Advanced grid styling configuration (Phase 3)
|
|
212
|
-
*/
|
|
213
|
-
export interface GridStylingConfig {
|
|
214
|
-
/** Custom grid template areas for named grid positioning */
|
|
215
|
-
templateAreas?: string[];
|
|
216
|
-
/** Advanced gap configuration with different spacing for different breakpoints */
|
|
217
|
-
advancedGap?: {
|
|
218
|
-
row?: number | string | {
|
|
219
|
-
[breakpoint: string]: number | string;
|
|
220
|
-
};
|
|
221
|
-
column?: number | string | {
|
|
222
|
-
[breakpoint: string]: number | string;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
/** Grid debugging and overlay styles */
|
|
226
|
-
debug?: boolean | {
|
|
227
|
-
enabled?: boolean;
|
|
228
|
-
/** Show grid lines */
|
|
229
|
-
showLines?: boolean;
|
|
230
|
-
/** Show grid areas */
|
|
231
|
-
showAreas?: boolean;
|
|
232
|
-
/** Grid line color */
|
|
233
|
-
lineColor?: string;
|
|
234
|
-
/** Grid line style */
|
|
235
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
236
|
-
/** Show item numbers */
|
|
237
|
-
showItemNumbers?: boolean;
|
|
238
|
-
};
|
|
239
|
-
/** Theme integration */
|
|
240
|
-
theme?: {
|
|
241
|
-
/** Use theme-based grid colors */
|
|
242
|
-
useThemeColors?: boolean;
|
|
243
|
-
/** Custom theme variant */
|
|
244
|
-
variant?: string;
|
|
245
|
-
/** Grid-specific theme overrides */
|
|
246
|
-
overrides?: Record<string, string | number>;
|
|
247
|
-
};
|
|
248
|
-
/** Advanced hover and focus states */
|
|
249
|
-
itemStates?: {
|
|
250
|
-
/** Grid item hover effects */
|
|
251
|
-
hover?: {
|
|
252
|
-
enabled?: boolean;
|
|
253
|
-
transform?: 'scale' | 'lift' | 'glow' | 'highlight';
|
|
254
|
-
transition?: string;
|
|
255
|
-
customCSS?: Record<string, string>;
|
|
256
|
-
};
|
|
257
|
-
/** Grid item focus effects */
|
|
258
|
-
focus?: {
|
|
259
|
-
enabled?: boolean;
|
|
260
|
-
style?: 'ring' | 'outline' | 'background' | 'border';
|
|
261
|
-
color?: string;
|
|
262
|
-
customCSS?: Record<string, string>;
|
|
263
|
-
};
|
|
264
|
-
/** Grid item active/pressed effects */
|
|
265
|
-
active?: {
|
|
266
|
-
enabled?: boolean;
|
|
267
|
-
transform?: 'scale' | 'inset' | 'darken';
|
|
268
|
-
customCSS?: Record<string, string>;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
/** Grid container styling */
|
|
272
|
-
container?: {
|
|
273
|
-
/** Background patterns or overlays */
|
|
274
|
-
background?: string | {
|
|
275
|
-
pattern?: 'dots' | 'lines' | 'grid' | 'none';
|
|
276
|
-
color?: string;
|
|
277
|
-
opacity?: number;
|
|
278
|
-
};
|
|
279
|
-
/** Container border and shadow */
|
|
280
|
-
border?: string;
|
|
281
|
-
borderRadius?: number | string;
|
|
282
|
-
boxShadow?: string;
|
|
283
|
-
/** Container padding */
|
|
284
|
-
padding?: number | string | {
|
|
285
|
-
top?: number | string;
|
|
286
|
-
right?: number | string;
|
|
287
|
-
bottom?: number | string;
|
|
288
|
-
left?: number | string;
|
|
289
|
-
};
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* Grid section configuration (Phase 3)
|
|
294
|
-
*/
|
|
295
|
-
export interface GridSection {
|
|
296
|
-
id: string;
|
|
297
|
-
header?: ComponentInstance | string;
|
|
298
|
-
footer?: ComponentInstance | string;
|
|
299
|
-
items: ComponentInstance[];
|
|
300
|
-
headerStyle?: 'automatic' | 'grouped' | 'plain' | 'sticky';
|
|
301
|
-
footerStyle?: 'automatic' | 'grouped' | 'plain' | 'sticky';
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* Grid section header/footer properties (Phase 3)
|
|
305
|
-
*/
|
|
306
|
-
export interface GridSectionHeaderProps extends ComponentProps, ElementOverrideProps, CSSClassesProps {
|
|
307
|
-
content: ComponentInstance | string;
|
|
308
|
-
sectionId: string;
|
|
309
|
-
type: 'header' | 'footer';
|
|
310
|
-
style: 'automatic' | 'grouped' | 'plain' | 'sticky';
|
|
311
|
-
debugLabel?: string;
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* GridRow component properties
|
|
315
|
-
*/
|
|
316
|
-
export interface GridRowProps extends ComponentProps, ElementOverrideProps, CSSClassesProps {
|
|
317
|
-
children?: ComponentInstance[];
|
|
318
|
-
alignment?: 'leading' | 'center' | 'trailing';
|
|
319
|
-
debugLabel?: string;
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* CSS Grid generation utilities
|
|
323
|
-
*/
|
|
324
|
-
declare class GridCSSGenerator {
|
|
325
|
-
/**
|
|
326
|
-
* Generate CSS grid-template-columns from GridItem configurations
|
|
327
|
-
*/
|
|
328
|
-
static generateColumns(items: GridItemConfig[]): string;
|
|
329
|
-
/**
|
|
330
|
-
* Generate CSS grid-template-rows from GridItem configurations
|
|
331
|
-
*/
|
|
332
|
-
static generateRows(items: GridItemConfig[]): string;
|
|
333
|
-
/**
|
|
334
|
-
* Generate responsive CSS for grid layouts
|
|
335
|
-
*/
|
|
336
|
-
static generateResponsiveGridCSS(config: ResponsiveGridItemConfig, property: 'grid-template-columns' | 'grid-template-rows'): Record<string, string | Record<string, string>>;
|
|
337
|
-
/**
|
|
338
|
-
* Convert spacing configuration to CSS gap values
|
|
339
|
-
*/
|
|
340
|
-
static generateSpacing(spacing?: number | {
|
|
341
|
-
horizontal?: number;
|
|
342
|
-
vertical?: number;
|
|
343
|
-
}): string;
|
|
344
|
-
/**
|
|
345
|
-
* Convert GridAlignment to CSS grid alignment properties
|
|
346
|
-
*/
|
|
347
|
-
static generateAlignment(alignment: GridAlignment): {
|
|
348
|
-
justifyItems?: string;
|
|
349
|
-
alignItems?: string;
|
|
350
|
-
};
|
|
351
|
-
/**
|
|
352
|
-
* Generate CSS for section header/footer styling (Phase 3)
|
|
353
|
-
*/
|
|
354
|
-
static generateSectionHeaderCSS(style: 'automatic' | 'grouped' | 'plain' | 'sticky', type: 'header' | 'footer', columnSpan: number): Record<string, string>;
|
|
355
|
-
/**
|
|
356
|
-
* Generate CSS animations for grid layout changes (Phase 3)
|
|
357
|
-
*/
|
|
358
|
-
static generateGridAnimationCSS(animations: GridAnimationConfig): Record<string, string>;
|
|
359
|
-
/**
|
|
360
|
-
* Generate item entrance/exit animation keyframes (Phase 3)
|
|
361
|
-
*/
|
|
362
|
-
static generateItemAnimationKeyframes(type: 'enter' | 'exit', animation: 'fade' | 'scale' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right'): Record<string, string>;
|
|
363
|
-
/**
|
|
364
|
-
* Generate accessibility attributes for grid elements (Phase 3)
|
|
365
|
-
*/
|
|
366
|
-
static generateAccessibilityAttributes(accessibility: GridAccessibilityConfig, gridType: 'grid' | 'lazy-vgrid' | 'lazy-hgrid', columnCount?: number, rowCount?: number): Record<string, string | number | boolean>;
|
|
367
|
-
/**
|
|
368
|
-
* Generate reduced motion CSS based on user preferences (Phase 3)
|
|
369
|
-
*/
|
|
370
|
-
static generateReducedMotionCSS(accessibility?: GridAccessibilityConfig): Record<string, string>;
|
|
371
|
-
/**
|
|
372
|
-
* Generate advanced styling CSS for grid components (Phase 3)
|
|
373
|
-
*/
|
|
374
|
-
static generateAdvancedStylingCSS(styling: GridStylingConfig): Record<string, string>;
|
|
375
|
-
/**
|
|
376
|
-
* Generate item state CSS (hover, focus, active) (Phase 3)
|
|
377
|
-
*/
|
|
378
|
-
static generateItemStateCSS(itemStates: NonNullable<GridStylingConfig['itemStates']>): Record<string, string>;
|
|
379
|
-
/**
|
|
380
|
-
* Get media query for breakpoint (helper function)
|
|
381
|
-
*/
|
|
382
|
-
private static getMediaQueryForBreakpoint;
|
|
383
|
-
}
|
|
384
|
-
/**
|
|
385
|
-
* Grid Section Header/Footer component (Phase 3)
|
|
386
|
-
*/
|
|
387
|
-
declare class GridSectionHeaderComponent extends ComponentWithCSSClasses implements ComponentInstance<GridSectionHeaderProps> {
|
|
388
|
-
props: GridSectionHeaderProps;
|
|
389
|
-
readonly type: "component";
|
|
390
|
-
readonly id: string;
|
|
391
|
-
mounted: boolean;
|
|
392
|
-
cleanup: (() => void)[];
|
|
393
|
-
private effectiveTag;
|
|
394
|
-
private validationResult;
|
|
395
|
-
constructor(props: GridSectionHeaderProps);
|
|
396
|
-
render(): {
|
|
397
|
-
type: "element";
|
|
398
|
-
tag: string;
|
|
399
|
-
props: any;
|
|
400
|
-
children: any;
|
|
401
|
-
componentMetadata: {
|
|
402
|
-
originalType: string;
|
|
403
|
-
overriddenTo: string | undefined;
|
|
404
|
-
validationResult: any;
|
|
405
|
-
};
|
|
406
|
-
}[];
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* Base Grid component class with CSS Grid layout
|
|
410
|
-
*/
|
|
411
|
-
declare class BaseGridComponent extends ComponentWithCSSClasses implements ComponentInstance<BaseGridProps> {
|
|
412
|
-
props: BaseGridProps;
|
|
413
|
-
protected gridType: 'grid' | 'lazy-vgrid' | 'lazy-hgrid';
|
|
414
|
-
children: ComponentInstance[];
|
|
415
|
-
readonly type: "component";
|
|
416
|
-
readonly id: string;
|
|
417
|
-
mounted: boolean;
|
|
418
|
-
cleanup: (() => void)[];
|
|
419
|
-
protected effectiveTag: string;
|
|
420
|
-
protected validationResult: any;
|
|
421
|
-
constructor(props: BaseGridProps, gridType: 'grid' | 'lazy-vgrid' | 'lazy-hgrid', children?: ComponentInstance[]);
|
|
422
|
-
/**
|
|
423
|
-
* Generate animation styles for grid layout (Phase 3)
|
|
424
|
-
*/
|
|
425
|
-
protected generateAnimationStyles(animations?: GridAnimationConfig): Record<string, string>;
|
|
426
|
-
/**
|
|
427
|
-
* Apply item animations to child elements (Phase 3)
|
|
428
|
-
*/
|
|
429
|
-
protected applyItemAnimations(children: ComponentInstance[], animations?: GridAnimationConfig): ComponentInstance[];
|
|
430
|
-
/**
|
|
431
|
-
* Generate accessibility attributes for grid (Phase 3)
|
|
432
|
-
*/
|
|
433
|
-
protected generateAccessibilityAttributes(accessibility?: GridAccessibilityConfig, columnCount?: number, rowCount?: number): Record<string, any>;
|
|
434
|
-
/**
|
|
435
|
-
* Generate advanced styling CSS for grid (Phase 3)
|
|
436
|
-
*/
|
|
437
|
-
protected generateStylingCSS(styling?: GridStylingConfig): Record<string, string>;
|
|
438
|
-
/**
|
|
439
|
-
* Handle keyboard navigation events (Phase 3)
|
|
440
|
-
*/
|
|
441
|
-
protected setupKeyboardNavigation(element: HTMLElement, accessibility?: GridAccessibilityConfig): void;
|
|
442
|
-
/**
|
|
443
|
-
* Navigate within grid structure (Phase 3)
|
|
444
|
-
*/
|
|
445
|
-
private navigateGrid;
|
|
446
|
-
/**
|
|
447
|
-
* Navigate in list mode (Phase 3)
|
|
448
|
-
*/
|
|
449
|
-
private navigateList;
|
|
450
|
-
/**
|
|
451
|
-
* Navigate to first/last elements (Phase 3)
|
|
452
|
-
*/
|
|
453
|
-
private navigateToFirst;
|
|
454
|
-
private navigateToLast;
|
|
455
|
-
/**
|
|
456
|
-
* Navigate by page (Phase 3)
|
|
457
|
-
*/
|
|
458
|
-
private navigatePage;
|
|
459
|
-
private setupLifecycleHooks;
|
|
460
|
-
/**
|
|
461
|
-
* Find DOM elements for child components (reusing pattern from LayoutComponent)
|
|
462
|
-
*/
|
|
463
|
-
private findChildDOMElements;
|
|
464
|
-
render(): any[];
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* Grid component class (explicit row/column control)
|
|
468
|
-
*/
|
|
469
|
-
declare class GridComponent extends BaseGridComponent {
|
|
470
|
-
props: GridProps;
|
|
471
|
-
constructor(props: GridProps, children?: ComponentInstance[]);
|
|
472
|
-
render(): {
|
|
473
|
-
type: "element";
|
|
474
|
-
tag: string;
|
|
475
|
-
props: any;
|
|
476
|
-
children: import("../runtime/types").DOMNode[];
|
|
477
|
-
componentMetadata: {
|
|
478
|
-
originalType: string;
|
|
479
|
-
overriddenTo: string | undefined;
|
|
480
|
-
validationResult: any;
|
|
481
|
-
};
|
|
482
|
-
}[];
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* GridRow component class
|
|
486
|
-
*/
|
|
487
|
-
declare class GridRowComponent extends ComponentWithCSSClasses implements ComponentInstance<GridRowProps> {
|
|
488
|
-
props: GridRowProps;
|
|
489
|
-
children: ComponentInstance[];
|
|
490
|
-
readonly type: "component";
|
|
491
|
-
readonly id: string;
|
|
492
|
-
mounted: boolean;
|
|
493
|
-
cleanup: (() => void)[];
|
|
494
|
-
private effectiveTag;
|
|
495
|
-
private validationResult;
|
|
496
|
-
constructor(props: GridRowProps, children?: ComponentInstance[]);
|
|
497
|
-
render(): {
|
|
498
|
-
type: "element";
|
|
499
|
-
tag: string;
|
|
500
|
-
props: any;
|
|
501
|
-
children: import("../runtime/types").DOMNode[];
|
|
502
|
-
componentMetadata: {
|
|
503
|
-
originalType: string;
|
|
504
|
-
overriddenTo: string | undefined;
|
|
505
|
-
validationResult: any;
|
|
506
|
-
};
|
|
507
|
-
}[];
|
|
508
|
-
}
|
|
509
|
-
/**
|
|
510
|
-
* LazyVGrid component class (vertical scrolling with flexible columns)
|
|
511
|
-
*/
|
|
512
|
-
declare class LazyVGridComponent extends BaseGridComponent {
|
|
513
|
-
props: LazyVGridProps;
|
|
514
|
-
constructor(props: LazyVGridProps, children?: ComponentInstance[]);
|
|
515
|
-
render(): {
|
|
516
|
-
type: "element";
|
|
517
|
-
tag: string;
|
|
518
|
-
props: any;
|
|
519
|
-
children: any[];
|
|
520
|
-
componentMetadata: any;
|
|
521
|
-
}[];
|
|
522
|
-
/**
|
|
523
|
-
* Render sectioned data with headers and footers (Phase 3)
|
|
524
|
-
*/
|
|
525
|
-
private renderSections;
|
|
526
|
-
/**
|
|
527
|
-
* Get the number of columns in the grid (Phase 3 helper)
|
|
528
|
-
*/
|
|
529
|
-
private getColumnCount;
|
|
530
|
-
/**
|
|
531
|
-
* Generate columns from GridItemConfig array (Phase 2 helper)
|
|
532
|
-
*/
|
|
533
|
-
private generateColumnsFromConfig;
|
|
534
|
-
}
|
|
535
|
-
/**
|
|
536
|
-
* LazyHGrid component class (horizontal scrolling with flexible rows)
|
|
537
|
-
*/
|
|
538
|
-
declare class LazyHGridComponent extends BaseGridComponent {
|
|
539
|
-
props: LazyHGridProps;
|
|
540
|
-
constructor(props: LazyHGridProps, children?: ComponentInstance[]);
|
|
541
|
-
render(): {
|
|
542
|
-
type: "element";
|
|
543
|
-
tag: string;
|
|
544
|
-
props: any;
|
|
545
|
-
children: any[];
|
|
546
|
-
componentMetadata: any;
|
|
547
|
-
}[];
|
|
548
|
-
/**
|
|
549
|
-
* Render sectioned data with headers and footers (Phase 3)
|
|
550
|
-
*/
|
|
551
|
-
private renderSections;
|
|
552
|
-
/**
|
|
553
|
-
* Get the number of rows in the grid (Phase 3 helper)
|
|
554
|
-
*/
|
|
555
|
-
private getRowCount;
|
|
556
|
-
/**
|
|
557
|
-
* Generate rows from GridItemConfig array (Phase 2 helper)
|
|
558
|
-
*/
|
|
559
|
-
private generateRowsFromConfig;
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* Grid component factory function with modifier support
|
|
563
|
-
*/
|
|
564
|
-
export declare function Grid(props?: GridProps): ModifiableComponent<GridProps> & {
|
|
565
|
-
modifier: ModifierBuilder<ModifiableComponent<GridProps>>;
|
|
566
|
-
};
|
|
567
|
-
/**
|
|
568
|
-
* GridRow component factory function with modifier support
|
|
569
|
-
*/
|
|
570
|
-
export declare function GridRow(children?: ComponentInstance[], props?: Omit<GridRowProps, 'children'>): ModifiableComponent<GridRowProps> & {
|
|
571
|
-
modifier: ModifierBuilder<ModifiableComponent<GridRowProps>>;
|
|
572
|
-
};
|
|
573
|
-
/**
|
|
574
|
-
* LazyVGrid component factory function with modifier support
|
|
575
|
-
*/
|
|
576
|
-
export declare function LazyVGrid(props: LazyVGridProps): ModifiableComponent<LazyVGridProps> & {
|
|
577
|
-
modifier: ModifierBuilder<ModifiableComponent<LazyVGridProps>>;
|
|
578
|
-
};
|
|
579
|
-
/**
|
|
580
|
-
* LazyHGrid component factory function with modifier support
|
|
581
|
-
*/
|
|
582
|
-
export declare function LazyHGrid(props: LazyHGridProps): ModifiableComponent<LazyHGridProps> & {
|
|
583
|
-
modifier: ModifierBuilder<ModifiableComponent<LazyHGridProps>>;
|
|
584
|
-
};
|
|
585
|
-
/**
|
|
586
|
-
* Create a grid section with header, footer, and items (Phase 3)
|
|
587
|
-
*/
|
|
588
|
-
export declare function createGridSection(config: {
|
|
589
|
-
id: string;
|
|
590
|
-
header?: ComponentInstance | string;
|
|
591
|
-
footer?: ComponentInstance | string;
|
|
592
|
-
items: ComponentInstance[];
|
|
593
|
-
headerStyle?: 'automatic' | 'grouped' | 'plain' | 'sticky';
|
|
594
|
-
footerStyle?: 'automatic' | 'grouped' | 'plain' | 'sticky';
|
|
595
|
-
}): GridSection;
|
|
596
|
-
/**
|
|
597
|
-
* Grid section header factory (Phase 3)
|
|
598
|
-
*/
|
|
599
|
-
export declare function GridSectionHeader(props: GridSectionHeaderProps): ModifiableComponent<GridSectionHeaderProps> & {
|
|
600
|
-
modifier: ModifierBuilder<ModifiableComponent<GridSectionHeaderProps>>;
|
|
601
|
-
};
|
|
602
|
-
/**
|
|
603
|
-
* Grid animation preset functions (Phase 3)
|
|
604
|
-
*/
|
|
605
|
-
export declare const GridAnimations: {
|
|
606
|
-
/**
|
|
607
|
-
* Basic fade-in animation for new items
|
|
608
|
-
*/
|
|
609
|
-
fadeIn(duration?: number, delay?: number): GridAnimationConfig;
|
|
610
|
-
/**
|
|
611
|
-
* Scale animation for new items
|
|
612
|
-
*/
|
|
613
|
-
scaleIn(duration?: number, delay?: number): GridAnimationConfig;
|
|
614
|
-
/**
|
|
615
|
-
* Slide animation for new items
|
|
616
|
-
*/
|
|
617
|
-
slideIn(direction?: "up" | "down" | "left" | "right", duration?: number): GridAnimationConfig;
|
|
618
|
-
/**
|
|
619
|
-
* Smooth layout changes when grid structure changes
|
|
620
|
-
*/
|
|
621
|
-
smoothLayout(duration?: number): GridAnimationConfig;
|
|
622
|
-
/**
|
|
623
|
-
* Responsive breakpoint animations
|
|
624
|
-
*/
|
|
625
|
-
smoothResponsive(duration?: number): GridAnimationConfig;
|
|
626
|
-
/**
|
|
627
|
-
* Comprehensive animation configuration
|
|
628
|
-
*/
|
|
629
|
-
comprehensive(itemDuration?: number, layoutDuration?: number): GridAnimationConfig;
|
|
630
|
-
/**
|
|
631
|
-
* Staggered entrance animation for multiple items
|
|
632
|
-
*/
|
|
633
|
-
staggered(itemDuration?: number): GridAnimationConfig;
|
|
634
|
-
};
|
|
635
|
-
/**
|
|
636
|
-
* Grid accessibility preset functions (Phase 3)
|
|
637
|
-
*/
|
|
638
|
-
export declare const GridAccessibility: {
|
|
639
|
-
/**
|
|
640
|
-
* Full accessibility support with keyboard navigation and screen reader optimizations
|
|
641
|
-
*/
|
|
642
|
-
full(label: string, description?: string): GridAccessibilityConfig;
|
|
643
|
-
/**
|
|
644
|
-
* Basic accessibility support for simple grids
|
|
645
|
-
*/
|
|
646
|
-
basic(label: string): GridAccessibilityConfig;
|
|
647
|
-
/**
|
|
648
|
-
* Screen reader focused accessibility
|
|
649
|
-
*/
|
|
650
|
-
screenReader(label: string, description?: string): GridAccessibilityConfig;
|
|
651
|
-
/**
|
|
652
|
-
* Keyboard navigation focused accessibility
|
|
653
|
-
*/
|
|
654
|
-
keyboardOnly(label: string): GridAccessibilityConfig;
|
|
655
|
-
};
|
|
656
|
-
/**
|
|
657
|
-
* Grid styling preset functions (Phase 3)
|
|
658
|
-
*/
|
|
659
|
-
export declare const GridStyling: {
|
|
660
|
-
/**
|
|
661
|
-
* Debug grid with visible lines and areas
|
|
662
|
-
*/
|
|
663
|
-
debug(options?: {
|
|
664
|
-
lineColor?: string;
|
|
665
|
-
showAreas?: boolean;
|
|
666
|
-
}): GridStylingConfig;
|
|
667
|
-
/**
|
|
668
|
-
* Interactive grid with hover and focus effects
|
|
669
|
-
*/
|
|
670
|
-
interactive(hoverTransform?: "scale" | "lift" | "glow" | "highlight"): GridStylingConfig;
|
|
671
|
-
/**
|
|
672
|
-
* Card-style grid with background and borders
|
|
673
|
-
*/
|
|
674
|
-
card(options?: {
|
|
675
|
-
shadow?: string;
|
|
676
|
-
borderRadius?: number;
|
|
677
|
-
padding?: number;
|
|
678
|
-
}): GridStylingConfig;
|
|
679
|
-
/**
|
|
680
|
-
* Custom template areas grid
|
|
681
|
-
*/
|
|
682
|
-
templateAreas(areas: string[]): GridStylingConfig;
|
|
683
|
-
/**
|
|
684
|
-
* Grid with background pattern
|
|
685
|
-
*/
|
|
686
|
-
backgroundPattern(pattern: "dots" | "lines" | "grid", color?: string, opacity?: number): GridStylingConfig;
|
|
687
|
-
/**
|
|
688
|
-
* Comprehensive styling with multiple features
|
|
689
|
-
*/
|
|
690
|
-
comprehensive(options?: {
|
|
691
|
-
debug?: boolean;
|
|
692
|
-
interactive?: boolean;
|
|
693
|
-
card?: boolean;
|
|
694
|
-
pattern?: "dots" | "lines" | "grid";
|
|
695
|
-
}): GridStylingConfig;
|
|
696
|
-
};
|
|
697
|
-
export { BaseGridComponent, GridComponent as EnhancedGrid, GridRowComponent as EnhancedGridRow, LazyVGridComponent as EnhancedLazyVGrid, LazyHGridComponent as EnhancedLazyHGrid, GridCSSGenerator, GridSectionHeaderComponent, GridDebugger, GridPerformanceMonitor };
|
|
698
|
-
//# sourceMappingURL=Grid.d.ts.map
|