UNPKG

rharuow-ds

Version:

Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Te

107 lines (106 loc) 3.55 kB
{ "name": "rharuow-ds", "version": "4.1.0", "description": "Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Textarea, Select, AsyncSelect, MultiSelect, MultiAsyncSelect, RadioGroup, Tooltip, Accordion, AsideSheet, Sidebar, Modal, Toaster, ImageInput. Full React Hook Form integration, Tailwind CSS styling, CSS Variables for theme customization and dark mode support.", "main": "dist/rharuow-ds.cjs.js", "module": "dist/rharuow-ds.es.js", "types": "dist/types/src/components/index.d.ts", "exports": { ".": { "types": "./dist/types/src/components/index.d.ts", "import": "./dist/rharuow-ds.es.js", "require": "./dist/rharuow-ds.cjs.js" }, "./dist/styles.css": "./dist/styles.css" }, "homepage": "https://rharuow.github.io/rharuow-ds-docs", "repository": { "type": "git", "url": "https://github.com/Rharuow/rharuow-ds-docs.git" }, "bugs": { "url": "https://github.com/Rharuow/rharuow-ds-docs/issues" }, "keywords": [ "react", "components", "ui", "design-system", "tailwind", "tailwindcss", "react-hook-form", "typescript", "storybook", "table", "card", "input", "textarea", "select", "async-select", "multi-select", "radio-group", "button", "chip", "pill", "pagination", "tooltip", "accordion", "aside-sheet", "sidebar", "modal", "dialog", "toaster", "toast", "notifications", "image-input", "forms", "css-variables", "theme-customization", "dark-mode", "password-input", "floating-labels", "accessible" ], "author": "Rharuow", "license": "MIT", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:css": "npx tailwindcss -i ./src/styles/ds.css -o ./dist/styles.css --minify", "build:css:watch": "npx tailwindcss -i ./src/styles/ds.css -o ./dist/styles.css --watch", "build": "vite build && tsc --emitDeclarationOnly --declaration --declarationDir dist/types && npm run build:css", "storybook": "npm run build:css && storybook dev -p 6006", "storybook:dev": "npm run build:css && concurrently \"npm run build:css:watch\" \"storybook dev -p 6006\"", "build-storybook": "npm run build:css && storybook build", "deploy-storybook": "npx gh-pages -d storybook-static", "deploy-docs": "npm run build && npm run build-storybook && npm run deploy-storybook", "release:patch": "npm version patch && git push --follow-tags && git push origin --tags", "release:minor": "npm version minor && git push --follow-tags && git push origin --tags", "release:major": "npm version major && git push --follow-tags && git push origin --tags", "prepublishOnly": "npm run build" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "react-hook-form": "^7.59.0" }, "dependencies": { "clsx": "^2.1.1", "shadcn-ui": "^0.9.5" }, "devDependencies": { "@storybook/react-vite": "^9.0.14", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.6.0", "concurrently": "^9.2.0", "gh-pages": "^6.3.0", "storybook": "^9.0.14", "tailwindcss": "^3.4.3", "typescript": "^5.8.3" }, "files": [ "dist", "package.json", "README.md" ] }