Files
supabase/packages/ui-patterns
Claude 0b4eec5066 feat(ui-patterns): add adaptiveHeight to PromptPanel; use it in Workers dialog
- PromptPanel: new `adaptiveHeight?: boolean` prop. When true, only the active
  TabsContent renders and the panel resizes to fit that tab. Default false
  keeps the existing stacked-in-one-grid-cell behavior so the docs homepage
  still gets a stable frame across tabs
- WorkerPromptPanel passes adaptiveHeight so the tabbed snippets in the
  Deploy-a-worker dialog size to whichever tab is active (AI Prompt is short,
  config.toml/cURL are taller)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XQ5b58nwfCGsifA7PCheQb
2026-08-20 15:31:29 +00:00
..
2026-07-02 17:03:08 +02:00

Supabase UI Patterns

This package should be used for components which are built using NPM libraries (react-markdown, reactflow for example), which make no sense to be included in all apps. It should also be used for components which are constructed using various components from the ui package.

This package does not have a barrel file - each component has to be imported from its index (ui-patterns/PrivacySettings, for example). This is intentional so that adding a new component which is used only in 1 or 2 apps doesn't burden the rest of the apps.