diff --git a/optiblogai-site/package-lock.json b/optiblogai-site/package-lock.json index 58a264a..82ab95a 100644 --- a/optiblogai-site/package-lock.json +++ b/optiblogai-site/package-lock.json @@ -14,9 +14,9 @@ "framer-motion": "^12.23.6", "lucide-react": "^0.525.0", "mermaid": "^11.9.0", - "next": "15.4.1", - "react": "19.1.0", - "react-dom": "19.1.0", + "next": "^15.4.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "react-icons": "^5.5.0", "react-syntax-highlighter": "^15.6.1", "tailwind-merge": "^3.3.1" @@ -302,9 +302,9 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.3.tgz", - "integrity": "sha512-1+WqvgNMhmlAambTvT3KPtCl/Ibr68VldY2XY40SL1CE0ZXiakFR/cbTspaF5HsnpDMvcYYoJHfl4980NBjGag==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1373,6 +1373,66 @@ "node": ">=14.0.0" } }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { + "version": "1.4.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.0.2", + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { + "version": "1.4.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { + "version": "1.0.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.11", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@tybys/wasm-util": "^0.9.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { + "version": "0.9.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": { + "version": "2.8.0", + "dev": true, + "inBundle": true, + "license": "0BSD", + "optional": true + }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.11.tgz", diff --git a/optiblogai-site/package.json b/optiblogai-site/package.json index 90e8118..e91b403 100644 --- a/optiblogai-site/package.json +++ b/optiblogai-site/package.json @@ -15,9 +15,9 @@ "framer-motion": "^12.23.6", "lucide-react": "^0.525.0", "mermaid": "^11.9.0", - "next": "15.4.1", - "react": "19.1.0", - "react-dom": "19.1.0", + "next": "^15.4.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "react-icons": "^5.5.0", "react-syntax-highlighter": "^15.6.1", "tailwind-merge": "^3.3.1" diff --git a/optiblogai-site/src/app/components/ui/input.tsx b/optiblogai-site/src/app/components/ui/input.tsx new file mode 100644 index 0000000..0d989fd --- /dev/null +++ b/optiblogai-site/src/app/components/ui/input.tsx @@ -0,0 +1,22 @@ +import * as React from "react"; + +import { cn } from "@/app/lib/utils"; + +const Input = React.forwardRef>( + ({ className, type, ...props }, ref) => { + return ( + + ); + }, +); +Input.displayName = "Input"; + +export { Input }; diff --git a/optiblogai-site/src/app/components/ui/label.tsx b/optiblogai-site/src/app/components/ui/label.tsx new file mode 100644 index 0000000..811b76b --- /dev/null +++ b/optiblogai-site/src/app/components/ui/label.tsx @@ -0,0 +1,44 @@ +// import * as React from "react"; +// import * as LabelPrimitive from "@radix-ui/react-label"; +// import { cva, type VariantProps } from "class-variance-authority"; +// import { cn } from "@/app/lib/utils"; + +// const labelVariants = cva( +// "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", +// ); + +// const Label = React.forwardRef< +// React.ElementRef, +// React.ComponentPropsWithoutRef & +// VariantProps +// >(({ className, ...props }, ref) => ( +// +// )); +// Label.displayName = LabelPrimitive.Root.displayName; + +// export { Label }; +import * as React from "react"; +import { cn } from "@/app/lib/utils"; + +// export interface LabelProps extends React.LabelHTMLAttributes {} +export type LabelProps = React.LabelHTMLAttributes; + +const Label = React.forwardRef( + ({ className, ...props }, ref) => ( +