1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

[CL-256] Update Figma links in Storybook docs (#12901)

* Update Figma links

updated existing Figma links to point to the new file and added Figma links to components missing them

* Added last missing Figma links
This commit is contained in:
Danielle Flinn
2025-01-17 07:50:20 -08:00
committed by GitHub
parent e5f83ff086
commit 23227f5064
42 changed files with 88 additions and 32 deletions

View File

@@ -306,6 +306,10 @@ export default {
// Disable tests while we troubleshoot their flaky-ness // Disable tests while we troubleshoot their flaky-ness
disableSnapshot: true, disableSnapshot: true,
}, },
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-38889&t=k6OTDDPZOTtypRqo-11",
},
}, },
decorators: [ decorators: [
moduleMetadata({ moduleMetadata({

View File

@@ -13,7 +13,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A16994", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-26525&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -33,7 +33,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/f32LSg3jaegICkMu7rPARm/Tailwind-Component-Library-Update?node-id=1881%3A16956", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-26440&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -18,7 +18,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A16956", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-26440&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta<BadgeComponent>; } as Meta<BadgeComponent>;

View File

@@ -30,7 +30,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=2070%3A17207", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-26720&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
args: { args: {

View File

@@ -35,6 +35,12 @@ export default {
], ],
}), }),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-26962&t=b5tDKylm5sWm2yKo-4",
},
},
args: { args: {
items: [], items: [],
show: 3, show: 3,

View File

@@ -13,7 +13,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=5115%3A26950", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-28224&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta<ButtonComponent>; } as Meta<ButtonComponent>;

View File

@@ -30,7 +30,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17484", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-28300&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -34,6 +34,12 @@ export default {
(story) => `<div class="tw-bg-background-alt tw-p-10 tw-text-main">${story}</div>`, (story) => `<div class="tw-bg-background-alt tw-p-10 tw-text-main">${story}</div>`,
), ),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-28355&t=b5tDKylm5sWm2yKo-4",
},
},
} as Meta; } as Meta;
type Story = StoryObj<CardComponent>; type Story = StoryObj<CardComponent>;

View File

@@ -83,7 +83,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=3930%3A16850&t=xXPx6GJYsJfuMQPE-4", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-35837&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -30,6 +30,12 @@ export default {
], ],
}), }),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-29548&t=b5tDKylm5sWm2yKo-4",
},
},
} as Meta; } as Meta;
type Story = StoryObj<ChipSelectComponent & { value: any }>; type Story = StoryObj<ChipSelectComponent & { value: any }>;

View File

@@ -14,7 +14,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/6fvTDa3zfvgWdizLQ7nSTP/Numbered-Password", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21540-46261&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -93,7 +93,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-30495&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -68,7 +68,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-30495&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -176,7 +176,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21514-19247&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -89,7 +89,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21514-19247&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -17,7 +17,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21514-19247&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -13,6 +13,12 @@ export default {
imports: [DisclosureTriggerForDirective, DisclosureComponent, IconButtonModule], imports: [DisclosureTriggerForDirective, DisclosureComponent, IconButtonModule],
}), }),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21662-47329&t=k6OTDDPZOTtypRqo-11",
},
},
} as Meta<DisclosureComponent>; } as Meta<DisclosureComponent>;
type Story = StoryObj<DisclosureComponent>; type Story = StoryObj<DisclosureComponent>;

View File

@@ -35,7 +35,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/f32LSg3jaegICkMu7rPARm/Tailwind-Component-Library-Update?node-id=1881%3A17689", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -34,7 +34,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17689", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -108,7 +108,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17689", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -56,7 +56,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=5600%3A24278", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -27,7 +27,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/f32LSg3jaegICkMu7rPARm/Tailwind-Component-Library-Update?node-id=1881%3A17689", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
docs: { docs: {
description: { description: {

View File

@@ -64,7 +64,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17689", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -13,7 +13,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=4369%3A16686", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-37011&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta<BitIconButtonComponent>; } as Meta<BitIconButtonComponent>;

View File

@@ -6,6 +6,12 @@ import * as GenericIcons from "./icons";
export default { export default {
title: "Component Library/Icon", title: "Component Library/Icon",
component: BitIconComponent, component: BitIconComponent,
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21662-50335&t=k6OTDDPZOTtypRqo-11",
},
},
} as Meta; } as Meta;
type Story = StoryObj<BitIconComponent>; type Story = StoryObj<BitIconComponent>;

View File

@@ -53,6 +53,12 @@ export default {
}), }),
componentWrapperDecorator((story) => `<div class="tw-bg-background-alt tw-p-2">${story}</div>`), componentWrapperDecorator((story) => `<div class="tw-bg-background-alt tw-p-2">${story}</div>`),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-37011&t=b5tDKylm5sWm2yKo-11",
},
},
} as Meta; } as Meta;
type Story = StoryObj<ItemGroupComponent>; type Story = StoryObj<ItemGroupComponent>;

View File

@@ -31,6 +31,10 @@ export default {
], ],
parameters: { parameters: {
chromatic: { viewports: [640, 1280] }, chromatic: { viewports: [640, 1280] },
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21662-51009&t=k6OTDDPZOTtypRqo-11",
},
}, },
} as Meta; } as Meta;

View File

@@ -19,7 +19,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17419", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-39582&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -17,7 +17,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17952", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40144&t=b5tDKylm5sWm2yKo-11",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -62,7 +62,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=4687%3A86642", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40145&t=b5tDKylm5sWm2yKo-4",
}, },
chromatic: { viewports: [640, 1280] }, chromatic: { viewports: [640, 1280] },
}, },

View File

@@ -39,7 +39,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=4687%3A86642", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40145&t=b5tDKylm5sWm2yKo-4",
}, },
chromatic: { viewports: [640, 1280] }, chromatic: { viewports: [640, 1280] },
}, },

View File

@@ -13,6 +13,12 @@ export default {
imports: [ButtonModule, NoItemsModule], imports: [ButtonModule, NoItemsModule],
}), }),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21665-25102&t=k6OTDDPZOTtypRqo-11",
},
},
} as Meta; } as Meta;
type Story = StoryObj<NoItemsComponent>; type Story = StoryObj<NoItemsComponent>;

View File

@@ -30,7 +30,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1717-15868", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40852&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
argTypes: { argTypes: {

View File

@@ -8,7 +8,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A18185&t=AM0acaIJ00BUhZKz-4", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-40933&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
args: { args: {

View File

@@ -31,7 +31,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=3930%3A16850&t=xXPx6GJYsJfuMQPE-4", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-35836&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta<RadioGroupComponent>; } as Meta<RadioGroupComponent>;

View File

@@ -22,6 +22,12 @@ export default {
}), }),
componentWrapperDecorator((story) => `<div class="tw-text-main">${story}</div>`), componentWrapperDecorator((story) => `<div class="tw-text-main">${story}</div>`),
], ],
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=21666-19363&t=k6OTDDPZOTtypRqo-11",
},
},
} as Meta; } as Meta;
type Story = StoryObj<SectionComponent>; type Story = StoryObj<SectionComponent>;

View File

@@ -33,7 +33,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/3tWtMSYoLB0ZLEimLNzYsm/End-user-%26-admin-Vault-Refresh?t=7QEmGA69YTOF8sXU-0", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=13213-55392&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -21,7 +21,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A18371", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-41282&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -74,7 +74,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17922", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-41432&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -63,7 +63,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=16329-41506&t=b5tDKylm5sWm2yKo-11",
}, },
}, },
} as Meta; } as Meta;

View File

@@ -19,7 +19,7 @@ export default {
parameters: { parameters: {
design: { design: {
type: "figma", type: "figma",
url: "https://www.figma.com/file/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881%3A17157", url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?node-id=1881-17157&t=b5tDKylm5sWm2yKo-4",
}, },
}, },
} as Meta; } as Meta;