Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Errors breaking story book build #18766

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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--",
// We have to keep a restrictTo list here, because otherwise
// this library will have issues processing tailwind's \: prefixed classes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down Expand Up @@ -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 />
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/buttonGroup/buttongroup.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/sheet/sheet.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
SheetHeader,
SheetTitle,
SheetTrigger,
} from "./sheet";
} from "./Sheet";

<Meta title="UI/Sheet" />

Expand Down
Loading