{ "name": "@univerjs/design", "version": "1.0.0-rc.0", "private": false, "description": "Shared React design components, styles, and locale resources for Univer UI packages.", "author": "DreamNum Co., Ltd. ", "license": "Apache-2.0", "funding": { "type": "opencollective", "url": "https://opencollective.com/univer" }, "homepage": "https://univer.ai", "repository": { "type": "git", "url": "https://github.com/dream-num/univer" }, "bugs": { "url": "https://github.com/dream-num/univer/issues" }, "keywords": [ "univer", "design-system", "ui", "react", "components" ], "exports": { ".": "./src/index.ts", "./*": "./src/*", "./locale/*": "./src/locale/*.ts" }, "main": "./src/index.ts", "types": "./lib/types/index.d.ts", "publishConfig": { "access": "public", "main": "./lib/es/index.js", "module": "./lib/es/index.js", "exports": { ".": { "import": "./lib/es/index.js", "require": "./lib/cjs/index.js", "types": "./lib/types/index.d.ts" }, "./*": { "import": "./lib/es/*", "require": "./lib/cjs/*", "types": "./lib/types/index.d.ts" }, "./locale/*": { "import": "./lib/es/locale/*.js", "require": "./lib/cjs/locale/*.js", "types": "./lib/types/locale/*.d.ts" }, "./lib/*": "./lib/*" } }, "directories": { "lib": "lib" }, "files": [ "lib" ], "scripts": { "prepare": "node scripts/generate-clsx.mts", "test": "vitest run", "test:watch": "vitest", "coverage": "vitest run --coverage", "typecheck": "tsc --noEmit", "build:bundle": "univer-cli build", "build:types": "tsc -p tsconfig.node.json", "build": "pnpm run build:bundle && pnpm run build:types" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "dependencies": { "@radix-ui/react-dialog": "^1.1.23", "@radix-ui/react-direction": "^1.1.4", "@radix-ui/react-dropdown-menu": "^2.1.24", "@radix-ui/react-hover-card": "^1.1.23", "@radix-ui/react-popover": "^1.1.23", "@radix-ui/react-separator": "^1.1.15", "@radix-ui/react-slot": "^1.3.3", "@univerjs/icons": "1.38.0", "class-variance-authority": "^0.7.1", "cmdk": "1.1.1", "sonner": "^2.0.8" }, "devDependencies": { "@testing-library/jest-dom": "7.0.1", "@testing-library/react": "^16.3.3", "@univerjs-infra/shared": "workspace:*", "postcss": "^8.5.28", "react": "18.3.1", "react-dom": "18.3.1", "tailwind-merge": "2.6.0", "tailwindcss": "3.4.18", "tailwindcss-animate": "^1.0.7", "typescript": "^6.0.3", "vitest": "^5.0.0" } }