Skip to content

Commit

Permalink
Remove clsx dependency (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdax98 authored Jan 7, 2025
1 parent bf7429d commit fe8b50e
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 26 deletions.
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"@mui/material": "^5.0.0",
"@mui/system": "^5.0.0",
"@mui/x-data-grid": "^5.17.6",
"clsx": "^1.2.1",
"draft-js": "^0.11.7",
"final-form": "^4.20.9",
"graphql": "^15.0.0",
Expand Down
3 changes: 1 addition & 2 deletions docs/src/theme/Playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ import type { ThemeConfig } from "@docusaurus/theme-live-codeblock";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import useIsBrowser from "@docusaurus/useIsBrowser";
import type { Props } from "@theme/Playground";
import clsx from "clsx";
import React from "react";
import { LiveEditor, LiveError, LivePreview, LiveProvider } from "react-live";

import { Button } from "./Button";
import styles from "./styles.module.css";

function Header({ children }: { children: React.ReactNode }) {
return <div className={clsx(styles.playgroundHeader)}>{children}</div>;
return <div className={styles.playgroundHeader}>{children}</div>;
}

function LivePreviewLoader() {
Expand Down
1 change: 0 additions & 1 deletion packages/admin/admin-color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"dependencies": {
"@comet/admin": "workspace:^7.10.0",
"@comet/admin-icons": "workspace:^7.10.0",
"clsx": "^1.1.1",
"react-colorful": "^5.5.1",
"tinycolor2": "^1.4.1",
"use-debounce": "^6.0.0"
Expand Down
1 change: 0 additions & 1 deletion packages/admin/admin-date-time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@comet/admin": "workspace:^7.10.0",
"@comet/admin-icons": "workspace:^7.10.0",
"@mui/utils": "^5.4.1",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
"react-date-range": "^1.4.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/admin/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@comet/admin-theme": "workspace:^7.10.0",
"@mui/lab": "^5.0.0-alpha.76",
"@mui/private-theming": "^5.0.0",
"clsx": "^1.1.1",
"exceljs": "^3.4.0",
"file-saver": "^2.0.2",
"final-form-set-field-data": "^1.0.2",
Expand Down
1 change: 0 additions & 1 deletion packages/admin/blocks-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@comet/admin-icons": "workspace:^7.10.0",
"@mui/lab": "^5.0.0-alpha.76",
"clipboard-copy": "^4.0.0",
"clsx": "^1.1.1",
"lodash.isequal": "^4.0.0",
"rimraf": "^3.0.0",
"scroll-into-view-if-needed": "^2.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/admin/cms-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"axios": "^0.21.0",
"change-case": "^4.1.2",
"class-validator": "^0.14.1",
"clsx": "^1.1.1",
"commander": "^10.0.1",
"date-fns": "^2.0.0",
"file-saver": "^2.0.0",
Expand Down
18 changes: 0 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe8b50e

Please sign in to comment.