mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 02:15:05 +03:00
* feat: add metrics block setup * feat: base block and props for metrics block * chore: add to do * feat: simplify metric block component further * feat: basic layout done * feat: metrics card orientation * feat: add variant for differential number * feat: basic sparkline for my metrics card * feat: some polish for the sparkline * feat: with xaxis for the sparkline * feat: remove the xaxis line * feat: add loading states * feat: rename to metricscard * fix: hydration issues * feat: add tooltip to sparkline * feat: add examples to docs * fix: remove hasLink and hasTooltip props * fix: re-add accidental removal of timestamps * fix: add timestamps in correct location * fix: add screen reader only and aria * fix: text contrast on label in light mode * fix: correct icon size * chore: smol copy update * chore: de-pluralize naming of component * chore: rebuild packages
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.