Skip to content

feat: experimental grid view#1

Open
TheUltDev wants to merge 25 commits into
masterfrom
grid
Open

feat: experimental grid view#1
TheUltDev wants to merge 25 commits into
masterfrom
grid

Conversation

@TheUltDev
Copy link
Copy Markdown
Contributor

@TheUltDev TheUltDev commented May 27, 2025

A work in progress grid component that supports CSS Grid syntax


Note

Introduces an experimental CSS Grid layout, a new RN ECharts Chart suite and Avatar, overhauls Icon with theming/remote support, adds a cross‑platform Sheet, applies Unistyles to inputs, and updates FS/KV with SSR-safe and POSIX helpers.

  • Layout:
    • Experimental Grid: Add GridView/GridViewItem with CSS Grid-like API and parsing/rendering utilities (layout/grid/**).
    • Sheet: New cross-platform bottom sheet (layout/sheet/**) using TrueSheet (native) and Vaul (web), with themed design.
  • Assets:
    • Charts: Add RN ECharts wrapper Chart with Skia renderer, design theme, loader/types, and multiple demos (assets/chart/**).
    • Avatar: New Avatar components for web/native with blo identicons (assets/avatar/**).
    • Icon: Refactor to Icon.base/Icon.design; add remote Icon (web/native); update exports.
  • Theming:
    • Add unistyles.ts helpers; wrap Picker and new TextInput with Unistyles defaults.
  • Services:
    • FS: Expose POSIX adapter (posix/**), add bytesize, make SSR-safe web utils, simplify backends.
    • KV: Switch to createMMKV and adjust remove API.
  • Fixes/Config:
    • Image: ensure numeric width/height in sources; minor docs/Vite config/tsconfig tweaks; add exports in index.ts.

Written by Cursor Bugbot for commit 0f8fa2b. This will update automatically on new commits. Configure here.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2025

Deploying exo-kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0f8fa2b
Status:🚫  Build failed.

View logs

@cursor
Copy link
Copy Markdown

cursor Bot commented Sep 23, 2025

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on October 6.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

// Auto-place items without explicit positioning
item.move(items, info.maxColumnRatioUnits);

// Calculate dimensions
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Negative Heights From Empty Data

When items array is empty (no valid grid children), Math.max(...items.map(...)) returns -Infinity instead of a valid row count. This causes incorrect height calculations passed to area.height(), potentially resulting in negative layout dimensions or rendering issues.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant