Skip to content

[WEB-5083] chore: add stories to propel#7888

Merged
sriramveeraghanta merged 1 commit intopreviewfrom
chore/add-stories-to-propel
Oct 6, 2025
Merged

[WEB-5083] chore: add stories to propel#7888
sriramveeraghanta merged 1 commit intopreviewfrom
chore/add-stories-to-propel

Conversation

@lifeiscontent
Copy link
Copy Markdown
Collaborator

@lifeiscontent lifeiscontent commented Oct 1, 2025

Description

Added comprehensive Storybook demos for many components (Accordion, Avatar, Card, Combobox, Command, Dialog, Menu, Popover, Switch, Table, Toast, Tooltip, Tabs, Toolbar, Spinners, ScrollArea, and more).

Type of Change

  • Improvement (change that would cause existing functionality to not work as expected)

Note

Adds extensive Storybook stories across Propel/UI components, refines Dialog/Switch/Accordion typings, and updates Storybook config to absolute addon resolution with dependency bumps.

  • Storybook:
    • Add rich stories and interactive demos for accordion, animated-counter, avatar, button, calendar, card, collapsible, combobox, command, context-menu, dialog, emoji-*, menu, pill, popover, portal, scrollarea, separator, skeleton, spinners, switch, table, tabs, toast, toolbar, tooltip.
    • Standardize story meta/args/render patterns; add tags and layouts; expand examples (sizes, variants, states, forms, lists, submenus, etc.).
    • Update .storybook/main.ts to resolve framework/addons via getAbsolutePath.
    • Bump Storybook-related dev deps to 9.1.10 and refresh lockfile.
  • Components:
    • Refactor dialog/root.tsx (memo/forwardRef, utilities), export types; keep public API.
    • Export prop interfaces in accordion/accordion.tsx and switch/root.tsx.
  • UI:
    • Refresh stories for Breadcrumbs, PopoverMenu, and Sortable with cleaner meta/args.

Written by Cursor Bugbot for commit d1ec29d. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • New Features

    • Added comprehensive Storybook demos for many components (Accordion, Avatar, Card, Combobox, Command, Dialog, Menu, Popover, Switch, Table, Toast, Tooltip, Tabs, Toolbar, Spinners, ScrollArea, and more).
  • Documentation

    • Expanded interactive examples (forms, confirmations, controlled/controlled-less variants, color picker, promise-based toasts, grouped avatars, nested menus, placements, large datasets).
  • Refactor

    • Standardized Storybook patterns and consolidated story implementations for consistency.
  • Chores

    • Upgraded Storybook dev dependencies and adjusted addon resolution paths.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants