[WEB-4835] feat: storybook enhancements (#7702)
* ✨ feat: integrate Storybook addons and enhance Tabs component - Added `@storybook/addon-designs` and `@storybook/addon-docs` to the project dependencies. - Enhanced the Tabs component stories to support dynamic tab options. - Introduced a custom theme for Storybook with a new manager configuration. - Added a new SVG logo for branding in Storybook. - Pinned the storybook and related packages version * ♻️ refactor: update Storybook manager configuration by removing unused import * ♻️ refactor: enhance Tabs story with size labels and layout adjustments * 🚨 fix: lint issues * 🚨 fix: lock file * ✏️ fix: update brand image path in Storybook manager configuration * ♻️ refactor: improve Tabs story by ensuring safe default value and enhancing content rendering
This commit is contained in:
parent
af1dcd335e
commit
a696b6039c
7 changed files with 291 additions and 116 deletions
14
packages/propel/.storybook/manager.ts
Normal file
14
packages/propel/.storybook/manager.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { addons } from "storybook/manager-api";
|
||||
import { create } from "storybook/theming";
|
||||
|
||||
const planeTheme = create({
|
||||
base: "dark",
|
||||
brandTitle: "Plane UI",
|
||||
brandUrl: "https://plane.so",
|
||||
brandImage: "plane-lockup-light.svg",
|
||||
brandTarget: "_self",
|
||||
});
|
||||
|
||||
addons.setConfig({
|
||||
theme: planeTheme,
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue