UNPKG

@mitcsutt/kiln-dnd

Version:

Kiln drag and drop: sortable lists, boards, drop zones and grid layouts with one keyboard model and one announcer, rendered through kiln-ui

97 lines • 2.75 kB
{ "name": "@mitcsutt/kiln-dnd", "version": "0.2.0", "description": "Kiln drag and drop: sortable lists, boards, drop zones and grid layouts with one keyboard model and one announcer, rendered through kiln-ui", "keywords": [ "kiln", "react", "drag-and-drop", "dnd", "sortable", "kanban", "grid-layout", "dashboard", "accessibility", "tanstack-intent" ], "homepage": "https://kiln.mitchellsutton.com", "bugs": "https://github.com/mitcsutt/kiln/issues", "repository": { "type": "git", "url": "git+https://github.com/mitcsutt/kiln.git", "directory": "packages/dnd" }, "license": "MIT", "type": "module", "sideEffects": [ "**/*.css" ], "imports": {}, "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./testing": { "types": "./dist/testing/index.d.ts", "default": "./dist/testing/index.js" }, "./styles.css": "./dist/styles.css", "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "files": [ "dist", "skills" ], "dependencies": { "@dnd-kit/abstract": "0.5.0", "@dnd-kit/dom": "0.5.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", "@mitcsutt/kiln-testing-react18": "0.0.0", "@mitcsutt/kiln-tsconfig": "0.2.0", "@mitcsutt/kiln-ui": "0.11.0", "@storybook/react-vite": "^10.6.1", "@tanstack/intent": "^0.5.3", "@testing-library/jest-dom": "^7.0.1", "@testing-library/react": "^16.3.3", "@testing-library/user-event": "^14.6.7", "@types/node": "^24.0.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", "axe-core": "^4.13.0", "eslint": "^10.12.0", "jsdom": "^26.1.0", "publint": "^0.3.25", "react": "^19.3.0", "react-dom": "^19.3.0", "storybook": "^10.6.1", "typescript": "~6.0.3", "vite": "^8.3.2", "vitest": "^5.0.3" }, "peerDependencies": { "@mitcsutt/kiln-ui": ">=0.6.0 <1.0.0", "react": "^18.3.0 || ^19.0.0", "react-dom": "^18.3.0 || ^19.0.0" }, "engines": { "node": ">=22.12.0" }, "scripts": { "build": "vite build", "build:watch": "vite build --watch", "check:package": "pnpm pack --out node_modules/.cache/kiln-pack/package.tgz > /dev/null && publint --pack pnpm --strict && attw node_modules/.cache/kiln-pack/package.tgz --profile esm-only --exclude-entrypoints ./styles.css", "check:skills": "intent validate", "lint": "eslint --max-warnings=0 .", "size": "node ../../size-report.ts", "test": "vitest run", "test:react18": "vitest run --config vitest.react18.config.ts", "typecheck": "tsc --noEmit" } }