Files
whenkit/package.json
T
CatoandClaude Sonnet 5.5 0072fe68aa fix: icon scales with the field's text; codemod skips comments (0.3.1) (#6)
A fixed 20px calendar icon made a dense 12px input taller than its
neighbours (34px vs 30px). The icon is now 1.25em. The browser check has a
compact input and fails on the old icon (it first passed on it — the limit
was exactly the old height; tightened and re-proven).

The codemod no longer edits comments or files already on whenkit (it
rewrote its own shim, whose comment mentioned the tag).

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-08 05:58:32 -07:00

83 lines
2.3 KiB
JSON

{
"name": "@bitbaum/whenkit",
"version": "0.3.1",
"description": "Dates and times people can pick without typing: day chips, time chips, length chips, a readable date field over the native picker, and a low-friction booking request that resolves to {startsAt, endsAt} in the provider's zone.",
"license": "MIT",
"author": "Cato",
"homepage": "https://github.com/bitbaum/whenkit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/whenkit.git"
},
"bugs": {
"url": "https://github.com/bitbaum/whenkit/issues"
},
"keywords": [
"date",
"time",
"picker",
"booking",
"react",
"calendar",
"bitbaum"
],
"type": "module",
"sideEffects": [
"*.css"
],
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"styles.css"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./styles.css": "./styles.css"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"check:dist": "git diff --exit-code --stat -- dist",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:browser",
"format": "prettier --write .",
"format:check": "prettier --check .",
"demo": "esbuild demo/demo.tsx --bundle --jsx=automatic --format=iife --define:process.env.NODE_ENV='\"production\"' --outfile=demo/dist/demo.js --log-level=warning",
"test:browser": "pnpm run demo && node test/browser.mjs"
},
"devDependencies": {
"@bitbaum/design-tokens": "^1.1.0",
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.3",
"esbuild": "^0.28.2",
"eslint": "^10.9.1",
"globals": "^17.11.0",
"playwright": "1.63.0",
"prettier": "^3.9.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
},
"peerDependencies": {
"react": ">=18"
}
}