refactor: update shadcn components #77
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Greptile Overview
Greptile Summary
This PR updates shadcn components across the UI package, upgrading key dependencies and standardizing component styling.
Key Changes:
recharts(v2→v3),date-fns, andreact-day-pickerupgraded to allow minor/patch updates via caret rangesTypographyH1→H1) and exported asTypographynamespace, added table componentsnative-selectfor native HTML select elements with consistent stylingdata-*attributes beforeclassNamepropsadamantite typechecktotsc --noEmit, removed type generation step from CI workflowsidebar.tsxdependency arrays inuseCallbackhooks, simplified cookie handlingConfidence Score: 5/5
Important Files Changed
Sequence Diagram
sequenceDiagram participant Dev as Developer participant Shadcn as shadcn CLI participant UI as @init/ui Package participant Apps as Apps/Extensions Dev->>Shadcn: Run shadcn diff/update Shadcn->>UI: Update component files Note over UI: Import Standardization UI->>UI: Reorder imports (external → internal) UI->>UI: Move data-* before className Note over UI: Dependency Upgrades UI->>UI: Upgrade recharts (v2 → v3) UI->>UI: Update type imports from recharts UI->>UI: Upgrade react-day-picker UI->>UI: Update date-fns with caret Note over UI: Component Updates UI->>UI: Adjust sizes (h-9→h-8, p-6→p-4) UI->>UI: Update border radius (md→lg) UI->>UI: Add native-select component Note over UI: Typography Refactor UI->>UI: Rename components (TypographyH1→H1) UI->>UI: Export as Typography namespace UI->>UI: Add table components Note over UI: Bug Fixes UI->>UI: Fix sidebar useCallback deps UI->>UI: Simplify cookie handling UI->>Apps: Breaking API change Apps->>Apps: Update imports (Typography.H1) Dev->>UI: Update build config UI->>UI: Switch to tsc --noEmit Dev->>Apps: Update CI workflow Apps->>Apps: Remove typegen step