Files
tansy-ui/package.json
T
thekhalidsha 23e67006d3 Make every component and the landing page responsive (v0.3.1)
Every story and the landing page now fit from a 320px phone to a wide
desktop without scrolling sideways.

- Inputs in flex rows (Input, FeaturedInput, NumberInput, Combobox) shrink
  instead of holding their native width
- Tab rows and ToggleGroup scroll within themselves on narrow screens;
  vertical tabs stack above their panel on phones
- Positioned popups cap at Base UI's --available-width
- Landing page: tablet header no longer crowds; code sample fits at 1024px
- Storybook a11y panel skips page-level rules that can't apply to a story
- check-stories.mjs gains --width and fails on horizontal overflow; all
  423 stories pass at 320, 375, 768 and desktop widths in both modes
2026-09-28 22:47:26 +05:30

73 lines
2.0 KiB
JSON

{
"name": "tansy-ui",
"private": true,
"version": "0.3.1",
"description": "A themeable, accessible React component kit built on Base UI and Tailwind CSS v4.",
"type": "module",
"sideEffects": [
"*.css"
],
"module": "./dist-lib/index.js",
"types": "./dist-lib/index.d.ts",
"exports": {
".": {
"types": "./dist-lib/index.d.ts",
"import": "./dist-lib/index.js"
},
"./tokens.css": "./dist-lib/tokens.css",
"./package.json": "./package.json"
},
"files": [
"dist-lib",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json && cp src/styles/tokens.css dist-lib/tokens.css",
"lint": "oxlint src .storybook",
"test": "vitest run",
"test:watch": "vitest",
"check:stories": "node scripts/check-stories.mjs",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"@base-ui/react": "^1.8.0",
"clsx": "^2.1.1",
"lucide-react": "^0.460.0",
"tailwind-merge": "^3.7.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.6.0",
"@storybook/addon-docs": "^10.6.0",
"@storybook/react-vite": "^10.6.0",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"axe-core": "^4.13.0",
"jsdom": "^30.1.1",
"oxlint": "^1.81.0",
"playwright": "^1.63.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"remark-gfm": "^4.0.1",
"storybook": "^10.6.0",
"tailwindcss": "^4.3.3",
"typescript": "~6.0.2",
"vite": "^8.3.0",
"vitest": "^5.0.2"
}
}