Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/add-modal-recipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@styleframe/theme": minor
"styleframe": minor
---

Add Modal recipe with overlay, header, body, and footer parts

- Add `useModalRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants matching the Card recipe structure
- Add `useModalHeaderRecipe` and `useModalFooterRecipe` with separator border compound variants and setup functions for `:first-child`/`:last-child` border collapse
- Add `useModalBodyRecipe` with size-based padding and gap, no compound variants
- Add `useModalOverlayRecipe` with fixed-position full-screen backdrop (`rgba(0, 0, 0, 0.75)`) and centered flex layout
- Add Modal storybook components, grid previews, and stories with interactive open/close and fullscreen example
- Add Modal documentation page
Loading
Loading