{"versions":{"0.1.0":{"name":"@mariozechner/mini-lit","version":"0.1.0","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"prettier --write . && biome lint . && tsc --noEmit && cd example && npm run check","prepare":"husky"},"dependencies":{"highlight.js":"^11.11.1","marked":"^16.3.0","katex":"^0.16.22","lucide":"^0.544.0","diff":"^8.0.2"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","concurrently":"^9.2.1","husky":"^9.1.7","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2"},"_id":"@mariozechner/mini-lit@0.1.0","gitHead":"fc8f360c04ce8ecff2f2fcbeaade13f305a67c0d","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-1mIi81kiFEFCNlBqFKFUuotnn22KUGeFOrQUiOv2jZ59JQb3qCTlZGv+fzuKBpZA4G2Xjr4mY3QFgPWrU8oNcQ==","shasum":"a4006079e230453a666db7257aff7b6a0a3abfc6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.0.tgz","fileCount":143,"unpackedSize":280622,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAvaNbklXNCBpKDSVpqSBATMlNqU6rVQJsrlLAW3X+23AiEAt2g/HfLHs49YnC2r5fvz9vDaBy0Sgy6nPrq/MeBIOTQ="}],"size":57634},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.0_1758329328314_0.5657736724134539"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-20T00:48:48.511Z","publish_time":1758329328511,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"@mariozechner/mini-lit","version":"0.1.1","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"prettier --write . && biome lint . && tsc --noEmit && cd example && npm run check","prepare":"husky"},"dependencies":{"highlight.js":"^11.11.1","marked":"^16.3.0","katex":"^0.16.22","lucide":"^0.544.0","diff":"^8.0.2"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","concurrently":"^9.2.1","husky":"^9.1.7","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2"},"_id":"@mariozechner/mini-lit@0.1.1","gitHead":"fc8f360c04ce8ecff2f2fcbeaade13f305a67c0d","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jdD3p1ah9Tx5mlT3R3IvgW8mePEKIjyM7tpAJoWWCvhgSodX5DUwC0J0YnvjlIheXGyVzXmeeLrgo0O4ZBeLGw==","shasum":"5a61106b1eff981e57622fb5757cd94fab357127","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.1.tgz","fileCount":143,"unpackedSize":280600,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD/EQC1pW+N9cGlSP4y8HRJGTm8lhfx9nfxJnvIJ9TOYwIgZk9hWHD3xJqPzxw/uT3ZbzaBv3h6Esg6PwEoTBxdSaY="}],"size":57639},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.1_1758329597800_0.1367711933197031"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-20T00:53:18.028Z","publish_time":1758329598028,"_source_registry_name":"default","contributors":[]},"0.1.2":{"name":"@mariozechner/mini-lit","version":"0.1.2","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"prettier --write . && biome lint . && tsc --noEmit && cd example && npm run check","prepare":"husky"},"dependencies":{"highlight.js":"^11.11.1","marked":"^16.3.0","katex":"^0.16.22","lucide":"^0.544.0","diff":"^8.0.2"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","concurrently":"^9.2.1","husky":"^9.1.7","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2"},"_id":"@mariozechner/mini-lit@0.1.2","gitHead":"54513d3bca98d26a103c7208f12a3bc33c3dd84e","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-iLUmCSpaGH4rcpbWeVvitmLnpKHAHO4l7/h0c2jaaZJ9cFXfNypsa8CaWtEi3L5FUPRHzK3tAmTymu5dNxL2AQ==","shasum":"b90f81c39450796b51e884208bc5ffa4e0a12d15","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.2.tgz","fileCount":143,"unpackedSize":280600,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCu26cGBUx01pbBv0q+kKnAEAk/bbqJShZ50r6R7MW52wIgP/kGB3HIN1hiVdJt23+PvfqsJQ2qSdC1fTWp1r2Q7lM="}],"size":57639},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.2_1758330100213_0.9411461204517737"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-20T01:01:40.438Z","publish_time":1758330100438,"_source_registry_name":"default","contributors":[]},"0.1.3":{"name":"@mariozechner/mini-lit","version":"0.1.3","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"prettier --write . && biome lint . && tsc --noEmit && cd example && npm run check","prepare":"husky"},"dependencies":{"highlight.js":"^11.11.1","marked":"^16.3.0","katex":"^0.16.22","lucide":"^0.544.0","diff":"^8.0.2"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","concurrently":"^9.2.1","husky":"^9.1.7","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2"},"_id":"@mariozechner/mini-lit@0.1.3","gitHead":"d2d85decfe3e062dff261e18f80a7577471384ec","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-L4m6MMiTikfvxcy+Gbu9SL+VUVIOvuQVCArUq6PFRVROMIxeW86WvSxEXlmfFTVsElFnOpZ5yMv5QlSqQ5g33w==","shasum":"b2a6dc8ecace5c74651c4f6011cc908882df8420","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.3.tgz","fileCount":144,"unpackedSize":295656,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCt4niLiQZK7GB2gp4aHmFBifibGMilTrBrJSdCze2Y7QIhAMq8vJ49yysSKqXXaZ/F+wnuTVFk3QVc4z4iv07letLz"}],"size":62424},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.3_1758401922560_0.6271134857718015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-20T20:58:42.732Z","publish_time":1758401922732,"_source_registry_name":"default","contributors":[]},"0.1.4":{"name":"@mariozechner/mini-lit","version":"0.1.4","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^15.11.7","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.4","gitHead":"bbe79b235c691f38d12035cb07603e2c128db97d","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-FWX2lurpT0Iq2+HPcWG/yUTiWTw+k5GwTyGENOgAejqdqQxaYS5pkz42yLi1fWPSo32KoCPirdhLix8uNrTKMw==","shasum":"84fd01778885ae0f9c3a501b94605104b7806279","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.4.tgz","fileCount":276,"unpackedSize":759830,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGhSBwL50o00enV7Z7Zs3BjwW7XSSdJYT0W7I9PGDB5zAiEA7siLaJ9anni0D3MX6V+fXVWWZ2y9iPOqH5dSh6SCALM="}],"size":144701},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.4_1759272249997_0.9723678937734554"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-30T22:44:10.238Z","publish_time":1759272250238,"_source_registry_name":"default","contributors":[]},"0.1.5":{"name":"@mariozechner/mini-lit","version":"0.1.5","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^15.11.7","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.5","gitHead":"65fa4d3da702b1c6ced9bb49acf8bb23e4548c4c","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-KJpGjOKmMmbuKaHN6u5Ru0/oP5x8m4YEYcaBdxpGpSRik8WjZxGeYQcDC9nEef3K+LoGeQcO8f7O9+BCVJ8gGw==","shasum":"c80710a70465eaca54e0ae24d545dd7cdf86963d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.5.tgz","fileCount":276,"unpackedSize":760251,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFnCPxEK/H1hl3gjXD3rrY13jm2eYpZYLgS7JUsyyN6wIhAN1c7K2vgOXlTHPDoSw17rRDZnU9sMg3kYffA3IJe3+k"}],"size":144906},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.5_1759284214719_0.7414716502639054"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-01T02:03:35.096Z","publish_time":1759284215096,"_source_registry_name":"default","contributors":[]},"0.1.7":{"name":"@mariozechner/mini-lit","version":"0.1.7","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^15.11.7","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.7","gitHead":"47f77445b286502d468fd8f934d8adf7d593ca3d","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-P77V7xTaJrc3mocG7wWtxFrhidkBGirD0hRq0aFWpOf+lpjFinkMCnzgY3uB2HcngajDDJpZk5OlvNl+SoiHaw==","shasum":"4b35d266f3f0db00a39cbdf2cf34e25a06a6d2c1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.7.tgz","fileCount":284,"unpackedSize":773738,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHpqolIsFvf24GKzHg8dLuui+5ygx8be59yhn0KaLYtDAiB36O4T7hLDeMmirL53NkiJJLGBL8qehjeVGZdadwNUDA=="}],"size":147893},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.7_1759486444010_0.7007179559410606"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-03T10:14:04.262Z","publish_time":1759486444262,"_source_registry_name":"default","contributors":[]},"0.1.8":{"name":"@mariozechner/mini-lit","version":"0.1.8","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^15.11.7","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.8","gitHead":"e01bdf547a5c06fee78e1f8e90842528e78232c5","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-7jG0ESWq7emYgyp2xj7osN+DLXGfFkepPZE0nRCoIc7idLXWAGumSz/k7cZxoNyb50iVUGdVzT3rZPr8HtGClw==","shasum":"922af89b1436305135bb01c2b2d09fe93d2a197b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.8.tgz","fileCount":284,"unpackedSize":773753,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH64T3/JOnMGcuwoufbSTnW0STMX2VtMh0EFWLQxanlhAiBf7X0tzplgYhhI7kdfky6+3LjIR1rvtOOlmmfBsNENtA=="}],"size":147893},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.8_1759690587927_0.8692925713240969"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-05T18:56:28.139Z","publish_time":1759690588139,"_source_registry_name":"default","contributors":[]},"0.1.9":{"name":"@mariozechner/mini-lit","version":"0.1.9","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^15.11.7","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.9","gitHead":"cc3a0d77b607187470547f66a062c313303e0f93","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-RT+9+76YnFowTLyjJKDk6Ll6JC9qJ0SAbttdcJcgC64B9YA03Fa/PC6UxcI0PEmE+QWUdPTEyXJ1U5UsgzQxTw==","shasum":"b447d47665031178d0e200d2597377166c23ab2b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.9.tgz","fileCount":284,"unpackedSize":773372,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF489rKot8oHjIVKLVyslegf0ilZve6EkETHQX3wKyBhAiEAxXJvY6/pbnpGkNCCxMO8QOybyZLhOAnVW/U8lvOChcY="}],"size":147911},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.9_1759938532552_0.6102693826927823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-08T15:48:52.859Z","publish_time":1759938532859,"_source_registry_name":"default","contributors":[]},"0.1.10":{"name":"@mariozechner/mini-lit","version":"0.1.10","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k -n \"mini-lit,example\" -c \"blue,magenta\" \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"tsc --watch --preserveWatchOutput","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^20.0.8","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.10","gitHead":"d88f86d8517ee6a12e663c5bb8223d1e10298b18","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-lgz0IziFaT1iG2jG6fK2P8Z6J3A+XT+25C3A8YmHdHarY7u4RJE2kEtoP1LXH7seijdiq3X/iMBPRjPGDBoQFw==","shasum":"230aa187a37402ea0048b2d56dac56d91df355eb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.10.tgz","fileCount":284,"unpackedSize":775484,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAtsWnJt3xRNobVac5ar7YodRtdH6+dWtYu+kuks9ID9AiEAvc9r75dF2A8I25WLMPqyJlcw+KOF/rBdV6zfGmlnzMo="}],"size":148582},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.10_1761130821900_0.5634184749385815"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-22T11:00:22.207Z","publish_time":1761130822207,"_source_registry_name":"default","contributors":[]},"0.1.11":{"name":"@mariozechner/mini-lit","version":"0.1.11","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k -n \"mini-lit,example\" -c \"blue,magenta\" \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"npm install && tsc --watch --preserveWatchOutput","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^20.0.8","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.1.11","gitHead":"b360c0bfe72494fe7b4977c9055bf3273ee54eb1","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jj7zcVwE/nsnQnT0Zbv0DklUlgiiLWttzyvqsEas9kybIjUWND/yUvw0bb90+rLGI5nQrlyC59DPOhgZTgevkQ==","shasum":"324d89a6940145e998d8182e0d1ccfd24a373fad","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.1.11.tgz","fileCount":284,"unpackedSize":775510,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD+8I1XnFEUiyKIDuonJfezTORplYzdQP811KuBSwP+8QIgaYutJiuK0zg9MZgszTCsnK3HwLT4bDylocxOV+0WCuQ="}],"size":148585},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.1.11_1762807576789_0.021317958818290572"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-10T20:46:17.064Z","publish_time":1762807577064,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@mariozechner/mini-lit","version":"0.2.0","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k -n \"mini-lit,example\" -c \"blue,magenta\" \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"npm install && tsc --watch --preserveWatchOutput","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^20.0.8","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.2.0","gitHead":"d37ff1c122ad2f13d4705ed6f8eca4f4de586503","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-8eidWnlusCNpMDoJybdV9slcs8ReBdwbeXjIzp0QXiWQG74pQ5LpeuqbZABABOxU0gdL/khQJbRsGKGGX2m8jA==","shasum":"f9eb73c95d4b8b6df06b02f1cb7163a0a54180a3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.2.0.tgz","fileCount":284,"unpackedSize":774172,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDbFzqDqzm2JEskxuu2Dl5AhFz/O7PIIKB9tNJGBvvFgAIhANtbTTAB6hszcFxZLStlo8iGYYuEBWPIoRYAW1xJC5Kz"}],"size":148450},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.2.0_1762957054045_0.18441434791715694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-12T14:17:34.355Z","publish_time":1762957054355,"_source_registry_name":"default","contributors":[]},"0.2.1":{"name":"@mariozechner/mini-lit","version":"0.2.1","description":"Lightweight Lit components with shadcn-inspired theming and Tailwind CSS integration","author":{"name":"Mario Zechner"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./dist/*":"./dist/*","./styles/*":"./src/styles/*"},"scripts":{"build":"tsc","build:example":"cd example && npm run build","dev":"npm install && cd example && npm install && cd .. && concurrently -k -n \"mini-lit,example\" -c \"blue,magenta\" \"npm run dev:tsc\" \"npm run dev:example\"","dev:tsc":"npm install && tsc --watch --preserveWatchOutput","dev:example":"cd example && npm run dev","check":"biome check . --write && tsc --noEmit && cd example && npm run check","prepare":"husky","test":"vitest","test:ui":"vitest --ui"},"dependencies":{"@preact/signals-core":"^1.12.1","class-variance-authority":"^0.7.1","diff":"^8.0.2","highlight.js":"^11.11.1","html-parse-string":"^0.0.9","katex":"^0.16.22","lucide":"^0.544.0","marked":"^16.3.0","tailwind-merge":"^3.3.1","tailwind-variants":"^3.1.1","uhtml":"^5.0.9"},"peerDependencies":{"lit":"^3.3.1"},"devDependencies":{"@anthropic-ai/claude-code":"^1.0.128","@biomejs/biome":"^2.2.4","@types/node":"^24.5.2","@vitest/ui":"^3.2.4","concurrently":"^9.2.1","happy-dom":"^20.0.8","husky":"^9.1.7","prettier":"^3.6.2","string-dedent":"^3.0.2","tsx":"^4.20.5","typescript":"^5.9.2","vitest":"^3.2.4"},"_id":"@mariozechner/mini-lit@0.2.1","gitHead":"dee21bf1175de0cb16a946ba8fb62c1e590fbd3c","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-u300euLgCsDDlb8o2Wbz+55eSJga5X2vB58s9XBuFIr2Bi3iI+GMR7t/NYo/O6Vr6obXShXgYjR3SRUJVgo+kQ==","shasum":"ecb92c125a66c539c8e496272a56ab31b5e57ef1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mariozechner/mini-lit/-/mini-lit-0.2.1.tgz","fileCount":284,"unpackedSize":774172,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAc5wmZp9cWGz5InXz+kwY/nQxD5oeFJgV7fcw/tUdIaAiEA9xPbhwM+VRrnY/r+Atz5oBYP+eBp87ALcZelsLI1RK8="}],"size":148446},"_npmUser":{"name":"anonymous","email":"mario@badlogicgames.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mario@badlogicgames.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mini-lit_0.2.1_1762959858228_0.5989908540754021"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-12T15:04:18.463Z","publish_time":1762959858463,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.2.1"},"name":"@mariozechner/mini-lit","time":{"created":"2025-09-20T00:49:03.110Z","modified":"2025-11-12T15:04:41.598Z","0.1.0":"2025-09-20T00:48:48.511Z","0.1.1":"2025-09-20T00:53:18.028Z","0.1.2":"2025-09-20T01:01:40.438Z","0.1.3":"2025-09-20T20:58:42.732Z","0.1.4":"2025-09-30T22:44:10.238Z","0.1.5":"2025-10-01T02:03:35.096Z","0.1.7":"2025-10-03T10:14:04.262Z","0.1.8":"2025-10-05T18:56:28.139Z","0.1.9":"2025-10-08T15:48:52.859Z","0.1.10":"2025-10-22T11:00:22.207Z","0.1.11":"2025-11-10T20:46:17.064Z","0.2.0":"2025-11-12T14:17:34.355Z","0.2.1":"2025-11-12T15:04:18.463Z"},"readme":"# mini-lit\n\nLightweight Lit components with shadcn-inspired theming, Tailwind CSS v4 styling, and Lucide icons.\n\n**[View Live Demo & Interactive Documentation →](https://minilit.mariozechner.at)**\nExplore all components with live examples, copy-paste code snippets, and interactive playgrounds.\n\n## Features\n\n- **Two Types of Components**: Functional components for stateless UI elements (Button, Card, Badge) and Custom elements for components with internal state (theme-toggle, language-selector)\n- **shadcn/ui Themes**: Compatible with shadcn/ui design system. Built-in default and Claude themes. Dark mode support via `dark` class\n- **TypeScript First**: Full TypeScript support with type definitions. IDE autocomplete for all components and i18n\n- **Tailwind CSS v4**: Modern styling with the latest Tailwind features\n- **Lucide Icons**: Complete icon set with tree-shaking support\n\n## Quick Start\n\n### 1. Installation\n\n```bash\nnpm install lit @mariozechner/mini-lit\n```\n\n### 2. Setup Tailwind CSS v4\n\n#### Option A: Vite Plugin (Recommended)\n\n```bash\nnpm install -D @tailwindcss/vite\n```\n\n```typescript\n// vite.config.ts\nimport { defineConfig } from \"vite\";\nimport tailwindcss from \"@tailwindcss/vite\";\n\nexport default defineConfig({\n   plugins: [tailwindcss()],\n});\n```\n\n#### Option B: Tailwind CLI\n\n```bash\nnpm install -D @tailwindcss/cli\n```\n\n```json\n// package.json scripts\n\"scripts\": {\n  \"dev\": \"tailwindcss -i ./src/app.css -o ./dist/app.css --watch\",\n  \"build\": \"tailwindcss -i ./src/app.css -o ./dist/app.css --minify\"\n}\n```\n\n### 3. Configure CSS\n\n```css\n/* src/app.css */\n\n/* Import theme (includes dark mode and utilities) */\n@import \"@mariozechner/mini-lit/styles/themes/default.css\";\n\n/* Tell Tailwind to scan mini-lit components */\n@source \"../node_modules/@mariozechner/mini-lit/dist\";\n\n/* Import Tailwind */\n@import \"tailwindcss\";\n```\n\n### 4. Configure TypeScript (Important for LitElement)\n\nIf you're using LitElement components with decorators (custom elements or your own components extending LitElement), you **must** configure TypeScript properly:\n\n```json\n// tsconfig.json\n{\n  \"compilerOptions\": {\n    \"experimentalDecorators\": true,\n    \"useDefineForClassFields\": false  // Critical for LitElement reactivity!\n  }\n}\n```\n\n**Note:** `useDefineForClassFields: false` is essential for LitElement's `@property()` and `@state()` decorators to work correctly. Without this setting, reactive properties won't trigger updates properly.\n\n### 5. Use Components\n\n```typescript\nimport { html, render } from \"lit\";\nimport { Button } from \"@mariozechner/mini-lit/dist/Button.js\";\nimport { Card } from \"@mariozechner/mini-lit/dist/Card.js\";\nimport { icon } from \"@mariozechner/mini-lit/dist/icons.js\";\nimport \"@mariozechner/mini-lit/dist/ThemeToggle.js\";\nimport { Send } from \"lucide\";\nimport \"./app.css\";\n\nconst App = () => html`\n   <div class=\"p-8 bg-background text-foreground min-h-screen\">\n      <!-- mini-lit components with internal state are full LitElement instances with custom tags -->\n      <theme-toggle class=\"fixed top-4 right-4\"></theme-toggle>\n\n      <!-- mini-lit components without internal state are functional components returning TemplateResult -->\n      ${Card(html`\n         <h1 class=\"text-2xl font-bold mb-4\">Hello mini-lit!</h1>\n\n         ${Button({\n            children: html`\n               ${icon(Send, \"sm\")}\n               <span>Send Message</span>\n            `,\n         })}\n      `)}\n   </div>\n`;\n\nrender(App(), document.body);\n```\n\n## Components\n\n### Actions\n\n- **Buttons** - All button variants and states\n- **Copy Button** - Copy text to clipboard\n- **Download Button** - Download files\n\n### Layout\n\n- **Cards** - Content containers with header, content, and footer sections\n- **Separators** - Visual dividers\n- **Split Panel** - Resizable layouts\n- **Dialogs** - Modal dialogs\n\n### Forms\n\n- **Inputs** - Text, email, password inputs\n- **Textareas** - Multi-line text input\n- **Selects** - Dropdown selections\n- **Checkboxes** - Boolean selections\n- **Switches** - Toggle controls\n- **Labels** - Form labels\n\n### Feedback\n\n- **Badges** - Status indicators\n- **Alerts** - Important messages with variants\n- **Progress** - Progress indicators\n\n### Content\n\n- **Code Block** - Syntax highlighted code with copy functionality\n- **Markdown** - Rendered markdown with KaTeX math support\n- **Diff Viewer** - Code difference viewer\n\n### Utilities\n\n- **Theme Toggle** - Dark/light mode switcher\n- **Language Selector** - i18n language switcher\n- **icon()** - Render Lucide icons with size variants\n- **i18n()** - Internationalization support\n\n## Component Types\n\n### Functional Components\n\nStateless components that return `TemplateResult`:\n\n```typescript\nimport { Button, Card, Badge } from \"@mariozechner/mini-lit\";\n\n// Use directly in templates\n${Button({ variant: \"primary\", children: \"Click me\" })}\n${Badge({ children: \"New\" })}\n```\n\n### Custom Elements\n\nStateful components that extend `LitElement`:\n\n```typescript\n// Custom elements are automatically registered when using the main import\nimport \"@mariozechner/mini-lit\";\n\n// Use as HTML tags\n<theme-toggle></theme-toggle>\n<code-block .code=${\"console.log('Hello')\"} language=\"javascript\"></code-block>\n```\n\n## Tree-Shaking & Bundle Optimization\n\n**IMPORTANT**: The root index (`@mariozechner/mini-lit`) now only exports core utilities (component system, i18n, and icons). Individual components are **not** exported from the root to encourage optimal tree-shaking.\n\n### Recommended Import Strategy\n\n```typescript\n// ✅ Optimal - only includes what you use (~50-100KB)\nimport { Button } from \"@mariozechner/mini-lit/dist/Button.js\";\nimport { Card } from \"@mariozechner/mini-lit/dist/Card.js\";\nimport { icon } from \"@mariozechner/mini-lit/dist/icons.js\";\nimport \"@mariozechner/mini-lit/dist/ThemeToggle.js\";\n\n// ⚠️ Root index only exports core utilities (NOT components)\nimport { i18n, setTranslations, createComponent } from \"@mariozechner/mini-lit\";\n```\n\n**What's exported from the root index**:\n- Component system: `ComponentLitBase`, `createComponent`, `defineComponent`, `styleComponent`, and related types\n- i18n system: `i18n`, `setTranslations`, `setLanguage`, `getCurrentLanguage`, `defaultEnglish`, `defaultGerman`\n- Icons: `icon` function and related utilities\n\n**Available component paths**:\n- Functional components: `/dist/Button.js`, `/dist/Card.js`, `/dist/Input.js`, `/dist/Select.js`, `/dist/Checkbox.js`, etc.\n- Custom elements: `/dist/ThemeToggle.js`, `/dist/CodeBlock.js`, `/dist/MarkdownBlock.js`, `/dist/LanguageSelector.js`, etc.\n- Core utilities: `/dist/mini.js` (fc, createState, refs)\n\n**Bundle Size**:\n- Direct imports: ~50-100KB (only what you use)\n- Importing all components: ~400KB+ (if you manually import everything)\n\n## Themes\n\nmini-lit uses shadcn/ui compatible themes with CSS custom properties for colors, borders, and shadows.\n\n### Built-in Themes\n\n- `default` - Clean, modern theme\n- `claude` - Claude-inspired theme\n\nSwitch themes by importing a different CSS file:\n\n```css\n@import \"@mariozechner/mini-lit/styles/themes/claude.css\";\n```\n\n### Dark Mode\n\nToggle dark mode via the `dark` class:\n\n```javascript\ndocument.documentElement.classList.toggle(\"dark\");\n```\n\nOr use the built-in `<theme-toggle>` component.\n\n### Custom Themes\n\nFor custom themes and theme generators:\n\n- [shadcn/ui themes](https://ui.shadcn.com/themes)\n- [Tweakcn theme generator](https://tweakcn.com/)\n\n## Internationalization\n\n### 1. Define TypeScript Interface (for autocomplete)\n\n```typescript\ndeclare module \"@mariozechner/mini-lit\" {\n   interface i18nMessages extends MiniLitRequiredMessages {\n      Welcome: string;\n      Settings: string;\n      cartItems: (count: number) => string;\n      greeting: (name: string, time: string) => string;\n   }\n}\n```\n\n### 2. Set Translations\n\n```typescript\nimport { setTranslations, defaultEnglish, defaultGerman } from \"@mariozechner/mini-lit\";\n\nconst translations = {\n   en: {\n      ...defaultEnglish, // Includes required messages like \"Copy\", \"Copied!\"\n      Welcome: \"Welcome\",\n      Settings: \"Settings\",\n      cartItems: (count: number) =>\n         count === 0 ? \"Your cart is empty\" : count === 1 ? \"1 item in your cart\" : `${count} items in your cart`,\n      greeting: (name: string, time: string) => `Good ${time}, ${name}!`,\n   },\n   de: {\n      ...defaultGerman, // Includes required messages like \"Kopieren\", \"Kopiert!\"\n      Welcome: \"Willkommen\",\n      Settings: \"Einstellungen\",\n      cartItems: (count: number) =>\n         count === 0\n            ? \"Ihr Warenkorb ist leer\"\n            : count === 1\n              ? \"1 Artikel im Warenkorb\"\n              : `${count} Artikel im Warenkorb`,\n      greeting: (name: string, time: string) => `Guten ${time}, ${name}!`,\n   },\n};\n\nsetTranslations(translations);\n```\n\n### 3. Use in Your App\n\n```typescript\nimport { i18n, getCurrentLanguage, setLanguage } from \"@mariozechner/mini-lit\";\n\n// Simple strings\n${i18n(\"Welcome\")}\n${i18n(\"Settings\")}\n\n// Functions with parameters\n${i18n(\"cartItems\")(3)}  // \"3 items in your cart\"\n${i18n(\"greeting\")(\"Alice\", \"morning\")}  // \"Good morning, Alice!\"\n\n// Language management\ngetCurrentLanguage()  // \"en\" or \"de\"\nsetLanguage(\"de\")     // switches to German, reloads page\n\n// Add language selector to UI\n<language-selector></language-selector>\n```\n\n## Development\n\nThe mini-lit repository includes both the component library and a comprehensive example gallery showcasing all components.\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/badlogic/mini-lit.git\ncd mini-lit\n\n# Install dependencies\nnpm install\n```\n\n### Development Workflow\n\nRun the development server with hot module replacement:\n\n```bash\nnpm run dev\n```\n\nThis command orchestrates:\n\n1. **TypeScript compilation** of the mini-lit library (watching for changes in `/src`, outputting to `/dist`)\n2. **Vite dev server** for the example gallery (in `/example`), automatically picking up the latest mini-lit builds\n\nOpen the URL displayed by Vite (typically http://localhost:5173) to view the example gallery. Any changes to either the mini-lit source code or the example application will trigger automatic rebuilds and browser updates through HMR.\n\n### Project Structure\n\n```\nmini-lit/\n├── src/              # mini-lit component library source\n├── dist/             # Compiled library output\n├── styles/           # Theme CSS files\n├── example/          # Interactive component gallery\n│   └── src/\n│       └── pages/    # Individual component demos\n└── package.json      # Library package configuration\n```\n\n### Code Quality\n\nRun formatting and linting checks for both the library and example:\n\n```bash\nnpm run check\n```\n\nThis command:\n\n- Formats all code with Prettier\n- Lints with Biome for code quality and style consistency\n- Type-checks both the library and example with TypeScript\n- Automatically runs on git commit via Husky pre-commit hooks\n\n### Building for Production\n\n```bash\n# Build the library\nnpm run build\n\n# Build the example gallery\ncd example && npm run build\n```\n\n### Publishing & Deployment\n\n#### Publishing to npm\n\n```bash\n# Build and publish the library to npm\nnpm run build\nnpm publish --access public\n```\n\n#### Deploying the Documentation Site\n\n```bash\n# Quick sync (when only source files changed)\n./run.sh sync\n\n# Full deploy (when Docker/infrastructure changed)\n./run.sh deploy\n```\n\nThe `sync` command builds and syncs files without restarting services, while `deploy` also restarts the Docker containers on the server.\n\n## Examples\n\nSee the `/example` directory for a complete working example with all components, or visit the [live demo](https://minilit.mariozechner.at).\n\n## Resources\n\n- [npm Package](https://www.npmjs.com/package/@mariozechner/mini-lit)\n- [GitHub Repository](https://github.com/badlogic/mini-lit)\n- [Live Demo](https://minilit.mariozechner.at)\n- [Lit Documentation](https://lit.dev)\n- [Tailwind CSS v4](https://tailwindcss.com)\n\n## License\n\nMIT","users":{}}