diff --git a/apps/storybook/.storybook/main.ts b/apps/storybook/.storybook/main.ts index bc68cb15c0..ccc88c5c61 100644 --- a/apps/storybook/.storybook/main.ts +++ b/apps/storybook/.storybook/main.ts @@ -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: [ diff --git a/apps/storybook/postcss.config.js b/apps/storybook/postcss.config.js index 9d4fb12a8d..8616b1976f 100644 --- a/apps/storybook/postcss.config.js +++ b/apps/storybook/postcss.config.js @@ -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 diff --git a/packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx b/packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx index ca5e2bc08a..126e0a6f8d 100644 --- a/packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx +++ b/packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx @@ -209,7 +209,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
{t("value")}
- {...Object.keys(onBookingWriteToEventObjectMap).map((key) => ( + {Object.keys(onBookingWriteToEventObjectMap).map((key) => (
@@ -303,7 +303,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
{t("when_to_write")}
- {...Object.keys(onBookingWriteToRecordFields).map((key) => ( + {Object.keys(onBookingWriteToRecordFields).map((key) => (
diff --git a/packages/ui/components/buttonGroup/buttongroup.stories.mdx b/packages/ui/components/buttonGroup/buttongroup.stories.mdx index 7d83aa9f2c..ca570cc82e 100644 --- a/packages/ui/components/buttonGroup/buttongroup.stories.mdx +++ b/packages/ui/components/buttonGroup/buttongroup.stories.mdx @@ -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"; diff --git a/packages/ui/components/sheet/sheet.stories.mdx b/packages/ui/components/sheet/sheet.stories.mdx index dc92e316fe..521e8cf11a 100644 --- a/packages/ui/components/sheet/sheet.stories.mdx +++ b/packages/ui/components/sheet/sheet.stories.mdx @@ -21,7 +21,7 @@ import { SheetHeader, SheetTitle, SheetTrigger, -} from "./sheet"; +} from "./Sheet";