chore: remove storybook (#19659)

* remove storybook

* remove storybook trpc provider

* add user-event

* fix lockk file

---------

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
sean-brydonandBailey Pumfleet authored and GitHub committed 2025-03-04 14:14:56 -07:00
1 parent fff521e171
commit d38b35b626
79 files changed
+8751 -9265

No files matched your search

@@ -1,20 +0,0 @@
import { Canvas, Meta } from "@storybook/blocks";
import { Title, CustomArgsTable } from "@calcom/storybook/components";
import { TooltipProvider } from "@radix-ui/react-tooltip";
import { Tooltip } from "./Tooltip";
import * as TooltipStories from "./Tooltip.stories";
<Meta of={TooltipStories} />
<Title title="Tooltip" suffix="Brief" subtitle="Version 2.0 — Last Update: 06 Jan 2023" />
## Definition
Tooltip components can be used to provide additional information about an element when the user hovers over or focuses on the element.
<TooltipProvider>
<CustomArgsTable of={Tooltip} />
</TooltipProvider>
<Canvas of={TooltipStories.Default}/>
@@ -1,37 +0,0 @@
import type { Meta, StoryObj } from "@storybook/react";
import { VariantRow, VariantsTable } from "@calcom/storybook/components";
import { Tooltip } from "./Tooltip";
const meta: Meta<typeof Tooltip> = {
component: Tooltip,
title: "UI/Tooltip",
};
export default meta;
type Story = StoryObj<typeof Tooltip>;
export const Default: Story = {
name: "Tooltip",
parameters: {
hoverMsg: "Click to copy",
alertMsg: "Copied!",
content: "Copy me!",
},
render: (_, { parameters: { content, hoverMsg, alertMsg } }) => (
<VariantsTable titles={[]}>
<VariantRow variant="Default">
<Tooltip content={`${hoverMsg}`}>
<span
className="dark:text-darkgray-50 bg-brand-default dark:bg-darkgray-900 rounded-md p-2 text-gray-100 hover:cursor-pointer"
onClick={() => {
alert(`${alertMsg}`);
}}>
{content}
</span>
</Tooltip>
</VariantRow>
</VariantsTable>
),
};