diff --git a/packages/ui/src/components/Card/Card.stories.tsx b/packages/ui/src/components/Card/Card.stories.tsx index d1d6c43327..d51c9ed5b3 100644 --- a/packages/ui/src/components/Card/Card.stories.tsx +++ b/packages/ui/src/components/Card/Card.stories.tsx @@ -208,40 +208,31 @@ export const SurfacesNested = meta.story({ export const SurfacesAutoIncrement = meta.story({ render: args => ( - - - Using surface="auto" automatically increments from the parent surface - level. This makes components more reusable as they don't need to know - their absolute surface level. Notice how each nested Card with - surface="auto" automatically increments: 0 → 1 → 2 → 3 (capped at 3). + + + + On surface 0 + Card auto → 1 + + + + + On surface 1 + Card auto → 2 + + + + + On surface 2 + Card auto → 3 + + + + + On surface 3 + Card auto → 3 (capped) + - - Surface 0 (explicit) - - - Surface auto (becomes 1) - - - - Surface auto (becomes 2) - - - Surface auto (becomes 3) - - - Surface auto (stays 3 - capped) - Capped at max surface level - - - - - - - - - ), });