@effect-tui/react 0.6.1 → 0.6.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-tui/react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "React bindings for @effect-tui/core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"prepublishOnly": "bun run typecheck && bun run build"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@effect-tui/core": "^0.6.
|
|
86
|
+
"@effect-tui/core": "^0.6.2",
|
|
87
87
|
"@effect/platform": "^0.94.0",
|
|
88
88
|
"@effect/platform-bun": "^0.87.0",
|
|
89
89
|
"@effect/rpc": "^0.73.0",
|
|
@@ -118,7 +118,7 @@ export function ListView<T>({
|
|
|
118
118
|
<scroll {...scrollProps} showScrollbar={showScrollbar}>
|
|
119
119
|
<vstack>
|
|
120
120
|
{/* Virtual top spacer */}
|
|
121
|
-
{topSpacerHeight > 0 && <spacer
|
|
121
|
+
{topSpacerHeight > 0 && <spacer minHeight={topSpacerHeight} />}
|
|
122
122
|
|
|
123
123
|
{/* Render only visible items */}
|
|
124
124
|
{visibleItems.map((item, i) => {
|
|
@@ -131,7 +131,7 @@ export function ListView<T>({
|
|
|
131
131
|
})}
|
|
132
132
|
|
|
133
133
|
{/* Virtual bottom spacer */}
|
|
134
|
-
{bottomSpacerHeight > 0 && <spacer
|
|
134
|
+
{bottomSpacerHeight > 0 && <spacer minHeight={bottomSpacerHeight} />}
|
|
135
135
|
</vstack>
|
|
136
136
|
</scroll>
|
|
137
137
|
)
|