Files
supabase/packages/ui-patterns
Alaister Young 1d4520a832 fix: adapt tests to vitest 4 breaking changes
- Use explicit mock factory for fs/promises (automocking no longer
  creates mock functions for getter-based exports on Node built-ins)
- Use function keyword instead of arrow functions in mockImplementation
  for mocks called with new (vitest 4 enforces constructor semantics)
- Fix ResizeObserver mock in ui-patterns setup for same reason
2026-04-14 11:42:48 +09: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.