fix: Some errors breaking storybook build (#18767)

* fix: filters ui breaking in routing insights page

* fix: story book build errors

---------

Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
Cao Hoang
2025-02-24 14:24:33 +00:00
committed by GitHub
co-authored by Anik Dhabal Babu
parent a47cd5b106
commit 8f29811d5a
5 changed files with 6 additions and 7 deletions
-2
View File
@@ -9,8 +9,6 @@ const config: StorybookConfig = {
"../../../packages/ui/components/**/*.docs.mdx",
"../../../packages/features/**/*.stories.@(js|jsx|ts|tsx)",
"../../../packages/features/**/*.docs.mdx",
"../../../packages/atoms/**/*.stories.@(js|jsx|ts|tsx)",
"../../../packages/atoms/**/*.docs.mdx",
],
addons: [
+2 -1
View File
@@ -11,7 +11,8 @@ module.exports = {
* These styles will only be added in storybook, and will NOT
* end up in the final css bundle of apps using the components.
*/
"postcss-pseudo-companion-classes": {
[require.resolve("postcss-pseudo-companion-classes")]: {
prefix: "sb-pseudo--",
prefix: "sb-pseudo--",
// We have to keep a restrictTo list here, because otherwise
// this library will have issues processing tailwind's \: prefixed classes
@@ -209,7 +209,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
<div>{t("value")}</div>
</div>
<div>
{...Object.keys(onBookingWriteToEventObjectMap).map((key) => (
{Object.keys(onBookingWriteToEventObjectMap).map((key) => (
<div className="mt-2 grid grid-cols-3 gap-4" key={key}>
<div>
<InputField value={key} readOnly />
@@ -303,7 +303,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
<div>{t("when_to_write")}</div>
</div>
<div>
{...Object.keys(onBookingWriteToRecordFields).map((key) => (
{Object.keys(onBookingWriteToRecordFields).map((key) => (
<div className="mt-2 grid grid-cols-5 gap-4" key={key}>
<div>
<InputField value={key} readOnly />
@@ -12,7 +12,7 @@ import {
import { Icon } from "@calcom/ui/icon";
import { Button } from "@calcom/ui/button";
import { ButtonGroup } from "@calcom/ui/ButtonGroup";
import { ButtonGroup } from "@calcom/ui/buttonGroup";
<Meta title="UI/Button Group" component={ButtonGroup} />
@@ -21,7 +21,7 @@ import {
SheetHeader,
SheetTitle,
SheetTrigger,
} from "./sheet";
} from "./Sheet";
<Meta title="UI/Sheet" />