diff --git a/components/partials/Sidebar.tsx b/components/partials/Sidebar.tsx index c34b4c2..3a01778 100644 --- a/components/partials/Sidebar.tsx +++ b/components/partials/Sidebar.tsx @@ -6,12 +6,12 @@ import { useEffect, useState } from "react"; import { useSidebarContext } from "@/context/SidebarContext"; import classNames from "classnames"; import { HiAdjustments, HiChartPie, HiCog } from "react-icons/hi"; -import isSmallScreen from "@/helpers/is-small-screen"; +import isSmallScreen from "@/lib/helpers/is-small-screen"; import { css } from "@emotion/css"; import { FaAngleUp, FaChevronDown, FaChevronUp } from "react-icons/fa"; import { Minimize } from "lucide-react"; import { SidebarLinkBetter } from "../ui/link-better"; -import { detectCase } from "@/utils/detectCase"; +import { detectCase } from "@/lib/utils/detectCase"; import { Skeleton } from "../ui/Skeleton"; import { useLocal } from "@/lib/utils/use-local"; interface TreeMenuItem { diff --git a/package.json b/package.json new file mode 100644 index 0000000..c9f7e47 --- /dev/null +++ b/package.json @@ -0,0 +1,56 @@ +{ + "name": "julong-flowbite", + "version": "0.1.0", + "private": true, + "dependencies": { + "@emotion/css": "^11.13.5", + "@faker-js/faker": "^9.2.0", + "@floating-ui/react": "^0.26.28", + "@radix-ui/react-alert-dialog": "^1.1.2", + "@radix-ui/react-checkbox": "^1.1.3", + "@radix-ui/react-dialog": "^1.1.4", + "@radix-ui/react-slot": "^1.1.0", + "@radix-ui/react-tabs": "^1.1.1", + "@react-pdf/renderer": "^4.1.5", + "@tanstack/react-table": "^8.20.5", + "@types/js-cookie": "^3.0.6", + "@types/lodash.get": "^4.4.9", + "@types/lodash.uniqby": "^4.7.9", + "autoprefixer": "^10.4.20", + "axios": "^1.7.8", + "class-variance-authority": "^0.7.1", + "classnames": "^2.5.1", + "clsx": "^2.1.1", + "cookie": "^1.0.2", + "dayjs": "^1.11.13", + "dotenv": "^16.4.7", + "downshift": "^9.0.8", + "embla-carousel": "^8.5.1", + "embla-carousel-react": "^8.5.1", + "flowbite": "^2.5.2", + "flowbite-react": "^0.10.2", + "js-cookie": "^3.0.5", + "julong-flowbite": "file:", + "lodash.get": "^4.4.2", + "lodash.uniqby": "^4.7.0", + "lucide-react": "^0.462.0", + "next": "15.0.3", + "react-icons": "^5.3.0", + "react-resizable-panels": "^2.1.7", + "react-slick": "^0.30.2", + "sonner": "^1.7.0", + "uuid": "^11.0.3", + "xlsx": "^0.18.5" + }, + "devDependencies": { + "@types/node": "^20", + "@types/react": "^18", + "@types/react-dom": "^18", + "@types/react-slick": "^0.23.13", + "eslint": "^8", + "eslint-config-next": "15.0.3", + "postcss": "^8", + "tailwindcss": "^3.4.1", + "typescript": "^5" + } +}