{"_id":"@astryx-svelte/core","_rev":"5-23cce542cb7a8d3836197813ae51d511","name":"@astryx-svelte/core","dist-tags":{"latest":"0.5.2"},"versions":{"0.3.0":{"name":"@astryx-svelte/core","version":"0.3.0","keywords":["svelte"],"license":"MIT","_id":"@astryx-svelte/core@0.3.0","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"fcadfe48a85de610f47c9377419b1cb82dfa7ac0","tarball":"https://registry.npmjs.org/@astryx-svelte/core/-/core-0.3.0.tgz","fileCount":2712,"integrity":"sha512-dpq6Br4LEfhEiIpcQqx6Z7v2E1CENCkwKapNtjWXFk+7E6fBKia8oWMyzBoLsknoMuI12KpceJJI7i2M9GLgCw==","signatures":[{"sig":"MEQCIA5QueE8CJdopubLjX3c3gnzHNUBNpeH86KVU8dizkTtAiA10wCTVIFuSp1oDxG+Ias6OBAgStAeUDXJzhj+AMUUpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10460795},"type":"module","_from":"file:astryx-svelte-core-0.3.0.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js","default":"./dist/index.js"},"./i18n":{"types":"./dist/i18n/index.d.ts","svelte":"./dist/i18n/index.js","default":"./dist/i18n/index.js"},"./hooks":{"types":"./dist/hooks/index.d.ts","svelte":"./dist/hooks/index.js","default":"./dist/hooks/index.js"},"./theme":{"types":"./dist/theme/index.d.ts","svelte":"./dist/theme/index.js","default":"./dist/theme/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","svelte":"./dist/utils/index.js","default":"./dist/utils/index.js"},"./naming":{"types":"./dist/internal/naming.d.ts","svelte":"./dist/internal/naming.js","default":"./dist/internal/naming.js"},"./base.css":"./dist/styles/base.css","./theme/define":{"types":"./dist/theme/define/index.d.ts","svelte":"./dist/theme/define/index.js","default":"./dist/theme/define/index.js"},"./theme/syntax":{"types":"./dist/theme/syntax/index.d.ts","svelte":"./dist/theme/syntax/index.js","default":"./dist/theme/syntax/index.js"},"./locales/*.json":"./dist/locales/*.json"},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run --project=server && npm run test:client && npm run test:parity","build":"npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","preview":"npm run build:demo && vite preview","test:unit":"vitest","build:demo":"vite build","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test:client":"node scripts/run-client-tests.mjs","test:parity":"node scripts/compare-upstream-classes.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/cd68ddb755dba4a700c0c21481d7af39/astryx-svelte-core-0.3.0.tgz","_integrity":"sha512-dpq6Br4LEfhEiIpcQqx6Z7v2E1CENCkwKapNtjWXFk+7E6fBKia8oWMyzBoLsknoMuI12KpceJJI7i2M9GLgCw==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.8","description":"Svelte 5 components for Astryx, Meta's open source design system.","directories":{},"displayName":"Astryx Core","sideEffects":["**/*.stylex.ts","**/*.stylex.js","**/*.css"],"_nodeVersion":"22.23.1","dependencies":{"intl-messageformat":"^11.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","eslint":"^10.4.1","svelte":"^5.56.1","vitest":"^4.1.8","globals":"^17.6.0","publint":"^0.3.21","prettier":"^3.8.3","@eslint/js":"^10.0.1","playwright":"^1.60.0","typescript":"^6.0.3","@babel/core":"^7.29.7","@types/node":"^22","svelte-check":"^4.6.0","@sveltejs/kit":"^2.63.0","@vitest/browser":"^4.1.8","@stylexjs/stylex":"^0.19.0","@sveltejs/package":"^2.5.8","typescript-eslint":"^8.60.1","@astryxdesign/core":"0.3.0","@stylexjs/unplugin":"^0.19.0","eslint-plugin-svelte":"^3.19.0","vitest-browser-svelte":"^3.0.0","@stylexjs/babel-plugin":"^0.19.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^4.1.0","@vitest/browser-playwright":"^4.1.8","@sveltejs/vite-plugin-svelte":"^7.1.2","@babel/plugin-syntax-typescript":"^7.29.7"},"peerDependencies":{"svelte":"^5.0.0","@stylexjs/stylex":"^0.19.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.0_1786380825759_0.013979887599193441","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@astryx-svelte/core","version":"0.3.1","keywords":["svelte"],"license":"MIT","_id":"@astryx-svelte/core@0.3.1","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"dd7b560d647ef8a27f6370cf3172d73679d9d1cc","tarball":"https://registry.npmjs.org/@astryx-svelte/core/-/core-0.3.1.tgz","fileCount":2716,"integrity":"sha512-Z/UF+NiQ199pgIPOKFVims2fOr0b1qzkE/IVM8UTThyn4k+I2d448UIwaH/8lYhxIFhE/5kQfmbOoczHJuy7cA==","signatures":[{"sig":"MEUCIGwDUr7/nUHNOA+q9ibpbwgS/77D9g4FfXot7KlvTeL6AiEA0GTKuIngZrRCf5BdnKeGCc8/CfWTBL1oajhEAy2iKII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10429539},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-core-0.3.1.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","source":"./src/lib/index.ts","svelte":"./dist/index.js","default":"./dist/index.js"},"./i18n":{"types":"./dist/i18n/index.d.ts","source":"./src/lib/i18n/index.ts","svelte":"./dist/i18n/index.js","default":"./dist/i18n/index.js"},"./vite":{"types":"./dist/vite.d.ts","source":"./src/lib/vite.ts","default":"./dist/vite.js"},"./hooks":{"types":"./dist/hooks/index.d.ts","source":"./src/lib/hooks/index.ts","svelte":"./dist/hooks/index.js","default":"./dist/hooks/index.js"},"./theme":{"types":"./dist/theme/index.d.ts","source":"./src/lib/theme/index.ts","svelte":"./dist/theme/index.js","default":"./dist/theme/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","source":"./src/lib/utils/index.ts","svelte":"./dist/utils/index.js","default":"./dist/utils/index.js"},"./naming":{"types":"./dist/internal/naming.d.ts","source":"./src/lib/internal/naming.ts","svelte":"./dist/internal/naming.js","default":"./dist/internal/naming.js"},"./base.css":"./dist/styles/base.css","./astryx.css":"./dist/astryx.css","./theme/define":{"types":"./dist/theme/define/index.d.ts","source":"./src/lib/theme/define/index.ts","svelte":"./dist/theme/define/index.js","default":"./dist/theme/define/index.js"},"./theme/syntax":{"types":"./dist/theme/syntax/index.d.ts","source":"./src/lib/theme/syntax/index.ts","svelte":"./dist/theme/syntax/index.js","default":"./dist/theme/syntax/index.js"},"./locales/*.json":"./dist/locales/*.json"},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run --project=server && npm run test:client && npm run test:parity && npm run test:css","build":"npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","preview":"npm run build:demo && vite preview","test:css":"node scripts/compare-upstream-css.mjs","build:css":"node scripts/build-css.mjs","test:unit":"vitest","build:demo":"vite build","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test:client":"node scripts/run-client-tests.mjs","test:parity":"node scripts/compare-upstream-classes.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/298c9373b1e2d7e1e14dbc0267069224/astryx-svelte-core-0.3.1.tgz","_integrity":"sha512-Z/UF+NiQ199pgIPOKFVims2fOr0b1qzkE/IVM8UTThyn4k+I2d448UIwaH/8lYhxIFhE/5kQfmbOoczHJuy7cA==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.8","description":"Svelte 5 components for Astryx, Meta's open source design system.","directories":{},"displayName":"Astryx Core","sideEffects":["**/*.stylex.ts","**/*.stylex.js","**/*.css"],"_nodeVersion":"22.23.1","dependencies":{"intl-messageformat":"^11.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","eslint":"^10.4.1","svelte":"^5.56.1","vitest":"^4.1.8","globals":"^17.6.0","publint":"^0.3.21","prettier":"^3.8.3","@eslint/js":"^10.0.1","playwright":"^1.60.0","typescript":"^6.0.3","@babel/core":"^7.29.7","@types/node":"^22","svelte-check":"^4.6.0","@sveltejs/kit":"^2.63.0","@vitest/browser":"^4.1.8","@stylexjs/stylex":"^0.19.0","@sveltejs/package":"^2.5.8","typescript-eslint":"^8.60.1","@astryxdesign/core":"0.3.0","@stylexjs/unplugin":"^0.19.0","eslint-plugin-svelte":"^3.19.0","vitest-browser-svelte":"^3.0.0","@stylexjs/babel-plugin":"^0.19.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^4.1.0","@vitest/browser-playwright":"^4.1.8","@sveltejs/vite-plugin-svelte":"^7.1.2","@babel/plugin-syntax-typescript":"^7.29.7"},"peerDependencies":{"vite":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0","svelte":"^5.0.0","@stylexjs/stylex":"^0.19.0","@stylexjs/unplugin":"^0.19.0"},"peerDependenciesMeta":{"vite":{"optional":true},"@stylexjs/unplugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.1_1786402093484_0.8772558657934459","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@astryx-svelte/core","version":"0.4.1","keywords":["svelte"],"license":"MIT","_id":"@astryx-svelte/core@0.4.1","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"0a17032a671b60deb2899206c6a09e551f34a792","tarball":"https://registry.npmjs.org/@astryx-svelte/core/-/core-0.4.1.tgz","fileCount":2776,"integrity":"sha512-fqA8U+V/8hrrdKt+McWVjPkOhntGNkOa0R9//VkvXIfa8wzwdGryUMGjvioEzbvtfJxIUVtXXVKdyEHV1xGqBw==","signatures":[{"sig":"MEUCIQCir9NHxQdkhDafuPNod/KYHgCpPNvyONvKS5ExE/EnkAIgSzCl0Jxy0i3CFd+rRYey7pE8UdXjaLHhmb8mSrMRlxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10797145},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-core-0.4.1.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","source":"./src/lib/index.ts","svelte":"./dist/index.js","default":"./dist/index.js"},"./i18n":{"types":"./dist/i18n/index.d.ts","source":"./src/lib/i18n/index.ts","svelte":"./dist/i18n/index.js","default":"./dist/i18n/index.js"},"./vite":{"types":"./dist/vite.d.ts","source":"./src/lib/vite.ts","default":"./dist/vite.js"},"./hooks":{"types":"./dist/hooks/index.d.ts","source":"./src/lib/hooks/index.ts","svelte":"./dist/hooks/index.js","default":"./dist/hooks/index.js"},"./theme":{"types":"./dist/theme/index.d.ts","source":"./src/lib/theme/index.ts","svelte":"./dist/theme/index.js","default":"./dist/theme/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","source":"./src/lib/utils/index.ts","svelte":"./dist/utils/index.js","default":"./dist/utils/index.js"},"./naming":{"types":"./dist/internal/naming.d.ts","source":"./src/lib/internal/naming.ts","svelte":"./dist/internal/naming.js","default":"./dist/internal/naming.js"},"./base.css":"./dist/styles/base.css","./astryx.css":"./dist/astryx.css","./theme/define":{"types":"./dist/theme/define/index.d.ts","source":"./src/lib/theme/define/index.ts","svelte":"./dist/theme/define/index.js","default":"./dist/theme/define/index.js"},"./theme/syntax":{"types":"./dist/theme/syntax/index.d.ts","source":"./src/lib/theme/syntax/index.ts","svelte":"./dist/theme/syntax/index.js","default":"./dist/theme/syntax/index.js"},"./locales/*.json":"./dist/locales/*.json"},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:node && npm run test:client","build":"npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","preview":"npm run build:demo && vite preview","test:css":"node scripts/compare-upstream-css.mjs","build:css":"node scripts/build-css.mjs","test:node":"npm run test:unit -- --run --project=server && npm run test:parity && npm run test:css","test:unit":"vitest","build:demo":"vite build","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test:client":"node scripts/run-client-tests.mjs","test:parity":"node scripts/compare-upstream-classes.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/efd5705f175290af3c4fdc4f541b84c1/astryx-svelte-core-0.4.1.tgz","_integrity":"sha512-fqA8U+V/8hrrdKt+McWVjPkOhntGNkOa0R9//VkvXIfa8wzwdGryUMGjvioEzbvtfJxIUVtXXVKdyEHV1xGqBw==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.8","description":"Svelte 5 components for Astryx, Meta's open source design system.","directories":{},"displayName":"Astryx Core","sideEffects":["**/*.stylex.ts","**/*.stylex.js","**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"intl-messageformat":"^11.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","eslint":"^10.4.1","svelte":"^5.56.1","vitest":"^4.1.8","globals":"^17.6.0","publint":"^0.3.21","prettier":"^3.8.3","@eslint/js":"^10.0.1","playwright":"^1.60.0","typescript":"^6.0.3","@babel/core":"^7.29.7","@types/node":"^22","svelte-check":"^4.6.0","@sveltejs/kit":"^2.63.0","@vitest/browser":"^4.1.8","@stylexjs/stylex":"^0.19.0","@sveltejs/package":"^2.5.8","typescript-eslint":"^8.60.1","@astryxdesign/core":"0.4.1","@stylexjs/unplugin":"^0.19.0","eslint-plugin-svelte":"^3.19.0","vitest-browser-svelte":"^3.0.0","@stylexjs/babel-plugin":"^0.19.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^4.1.0","@vitest/browser-playwright":"^4.1.8","@sveltejs/vite-plugin-svelte":"^7.1.2","@babel/plugin-syntax-typescript":"^7.29.7"},"peerDependencies":{"vite":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0","svelte":"^5.0.0","@stylexjs/stylex":"^0.19.0","@stylexjs/unplugin":"^0.19.0"},"peerDependenciesMeta":{"vite":{"optional":true},"@stylexjs/unplugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.4.1_1786871767512_0.358813202480027","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@astryx-svelte/core","version":"0.4.5","keywords":["svelte"],"license":"MIT","_id":"@astryx-svelte/core@0.4.5","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"5214ba0ee061b579fe72b8a100f54950d7a56624","tarball":"https://registry.npmjs.org/@astryx-svelte/core/-/core-0.4.5.tgz","fileCount":2904,"integrity":"sha512-3AcNkCxFr2ZUimfgjQ7BvBKY6WTMST1ci+7sd3wjKaKcYFT2jVZo9/eWYPTdrMWritOwVRgkg8KL1/LMDbsqcg==","signatures":[{"sig":"MEUCIGv+90Ffv87liAJVzK9lIn0VSI83D/N1cN4kpHOefbM0AiEAhzGPoB6P39QFUtvoRuVRfPXj8DYprMRomiLOXGga2ik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15125637},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-core-0.4.5.tgz","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","source":"./src/lib/index.ts","svelte":"./dist/index.js","default":"./dist/index.js"},"./i18n":{"types":"./dist/i18n/index.d.ts","source":"./src/lib/i18n/index.ts","svelte":"./dist/i18n/index.js","default":"./dist/i18n/index.js"},"./vite":{"types":"./dist/vite.d.ts","source":"./src/lib/vite.ts","default":"./dist/vite.js"},"./hooks":{"types":"./dist/hooks/index.d.ts","source":"./src/lib/hooks/index.ts","svelte":"./dist/hooks/index.js","default":"./dist/hooks/index.js"},"./theme":{"types":"./dist/theme/index.d.ts","source":"./src/lib/theme/index.ts","svelte":"./dist/theme/index.js","default":"./dist/theme/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","source":"./src/lib/utils/index.ts","svelte":"./dist/utils/index.js","default":"./dist/utils/index.js"},"./naming":{"types":"./dist/internal/naming.d.ts","source":"./src/lib/internal/naming.ts","svelte":"./dist/internal/naming.js","default":"./dist/internal/naming.js"},"./base.css":"./dist/styles/base.css","./astryx.css":"./dist/astryx.css","./theme/define":{"types":"./dist/theme/define/index.d.ts","source":"./src/lib/theme/define/index.ts","svelte":"./dist/theme/define/index.js","default":"./dist/theme/define/index.js"},"./theme/syntax":{"types":"./dist/theme/syntax/index.d.ts","source":"./src/lib/theme/syntax/index.ts","svelte":"./dist/theme/syntax/index.js","default":"./dist/theme/syntax/index.js"},"./locales/*.json":"./dist/locales/*.json","./tailwind-theme.css":"./dist/styles/tailwind-theme.css"},"scripts":{"lint":"prettier --check . && eslint .","test":"npm run test:node && npm run test:client","build":"npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","format":"prettier --write .","test:css":"node scripts/compare-upstream-css.mjs","build:css":"node scripts/build-css.mjs","test:node":"npm run test:unit -- --run --project=server && npm run test:parity && npm run test:css && npm run test:pseudo","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test:client":"node scripts/run-client-tests.mjs","test:parity":"node scripts/compare-upstream-classes.mjs","test:pseudo":"node scripts/build-pseudo-locale.mjs --check","build:pseudo":"node scripts/build-pseudo-locale.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/a8f7e44305e7e56ebee353f5dd40cd8a/astryx-svelte-core-0.4.5.tgz","_integrity":"sha512-3AcNkCxFr2ZUimfgjQ7BvBKY6WTMST1ci+7sd3wjKaKcYFT2jVZo9/eWYPTdrMWritOwVRgkg8KL1/LMDbsqcg==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.8","description":"Svelte 5 components for Astryx, Meta's open source design system.","directories":{},"displayName":"Astryx Core","sideEffects":["**/*.stylex.ts","**/*.stylex.js","**/*.css"],"_nodeVersion":"22.23.2","dependencies":{"intl-messageformat":"^11.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","eslint":"^10.4.1","svelte":"^5.56.1","vitest":"^4.1.8","globals":"^17.6.0","publint":"^0.3.21","prettier":"^3.8.3","@eslint/js":"^10.0.1","playwright":"^1.60.0","typescript":"^6.0.3","@babel/core":"^7.29.7","@types/node":"^22","svelte-check":"^4.6.0","@sveltejs/kit":"^2.63.0","@vitest/browser":"^4.1.8","@stylexjs/stylex":"^0.19.0","@sveltejs/package":"^2.5.8","typescript-eslint":"^8.60.1","@astryxdesign/core":"0.4.5","@stylexjs/unplugin":"^0.19.0","eslint-plugin-svelte":"^3.19.0","vitest-browser-svelte":"^3.0.0","@stylexjs/babel-plugin":"^0.19.0","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^4.1.0","@vitest/browser-playwright":"^4.1.8","@sveltejs/vite-plugin-svelte":"^7.1.2","@babel/plugin-syntax-typescript":"^7.29.7"},"peerDependencies":{"vite":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0","svelte":"^5.0.0","@stylexjs/stylex":"^0.19.0","@stylexjs/unplugin":"^0.19.0"},"peerDependenciesMeta":{"vite":{"optional":true},"@stylexjs/unplugin":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.4.5_1787264396503_0.9920487398366844","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@astryx-svelte/core","displayName":"Astryx Core","version":"0.5.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/devrohit06/astryx-svelte.git","directory":"packages/core"},"bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"homepage":"https://github.com/devrohit06/astryx-svelte#readme","publishConfig":{"access":"public"},"description":"Svelte 5 components for Astryx, Meta's open source design system.","sideEffects":["**/*.stylex.ts","**/*.stylex.js","**/*.css"],"main":"./dist/index.js","svelte":"./dist/index.js","types":"./dist/index.d.ts","type":"module","exports":{".":{"source":"./src/lib/index.ts","types":"./dist/index.d.ts","svelte":"./dist/index.js","default":"./dist/index.js"},"./vite":{"source":"./src/lib/vite.ts","types":"./dist/vite.d.ts","default":"./dist/vite.js"},"./theme":{"source":"./src/lib/theme/index.ts","types":"./dist/theme/index.d.ts","svelte":"./dist/theme/index.js","default":"./dist/theme/index.js"},"./theme/define":{"source":"./src/lib/theme/define/index.ts","types":"./dist/theme/define/index.d.ts","svelte":"./dist/theme/define/index.js","default":"./dist/theme/define/index.js"},"./theme/syntax":{"source":"./src/lib/theme/syntax/index.ts","types":"./dist/theme/syntax/index.d.ts","svelte":"./dist/theme/syntax/index.js","default":"./dist/theme/syntax/index.js"},"./hooks":{"source":"./src/lib/hooks/index.ts","types":"./dist/hooks/index.d.ts","svelte":"./dist/hooks/index.js","default":"./dist/hooks/index.js"},"./naming":{"source":"./src/lib/internal/naming.ts","types":"./dist/internal/naming.d.ts","svelte":"./dist/internal/naming.js","default":"./dist/internal/naming.js"},"./utils":{"source":"./src/lib/utils/index.ts","types":"./dist/utils/index.d.ts","svelte":"./dist/utils/index.js","default":"./dist/utils/index.js"},"./i18n":{"source":"./src/lib/i18n/index.ts","types":"./dist/i18n/index.d.ts","svelte":"./dist/i18n/index.js","default":"./dist/i18n/index.js"},"./locales/*.json":"./dist/locales/*.json","./astryx.css":"./dist/astryx.css","./base.css":"./dist/styles/base.css","./tailwind-theme.css":"./dist/styles/tailwind-theme.css"},"peerDependencies":{"@stylexjs/stylex":"^0.19.0","svelte":"^5.0.0","@stylexjs/unplugin":"^0.19.0","vite":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"},"devDependencies":{"@astryxdesign/core":"0.5.2","@babel/core":"^7.29.7","@babel/plugin-syntax-typescript":"^7.29.7","@eslint/js":"^10.0.1","@stylexjs/babel-plugin":"^0.19.0","@stylexjs/stylex":"^0.19.0","@stylexjs/unplugin":"^0.19.0","@sveltejs/kit":"^2.63.0","@sveltejs/package":"^2.5.8","@sveltejs/vite-plugin-svelte":"^7.1.2","@types/node":"^22","@vitest/browser":"^4.1.8","@vitest/browser-playwright":"^4.1.8","eslint":"^10.4.1","eslint-config-prettier":"^10.1.8","eslint-plugin-svelte":"^3.19.0","globals":"^17.6.0","playwright":"^1.60.0","prettier":"^3.8.3","prettier-plugin-svelte":"^4.1.0","publint":"^0.3.21","svelte":"^5.56.1","svelte-check":"^4.6.0","typescript":"^6.0.3","typescript-eslint":"^8.60.1","vite":"^8.0.16","vitest":"^4.1.8","vitest-browser-svelte":"^3.0.0"},"keywords":["svelte"],"dependencies":{"intl-messageformat":"^11.2.9"},"peerDependenciesMeta":{"@stylexjs/unplugin":{"optional":true},"vite":{"optional":true}},"scripts":{"build":"npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","lint":"prettier --check . && eslint .","format":"prettier --write .","test:unit":"vitest","test:client":"node scripts/run-client-tests.mjs","test:parity":"node scripts/compare-upstream-classes.mjs","test:css":"node scripts/compare-upstream-css.mjs","build:css":"node scripts/build-css.mjs","build:pseudo":"node scripts/build-pseudo-locale.mjs","test:pseudo":"node scripts/build-pseudo-locale.mjs --check","test:node":"npm run test:unit -- --run --project=server && npm run test:parity && npm run test:css && npm run test:pseudo","test":"npm run test:node && npm run test:client"},"_id":"@astryx-svelte/core@0.5.2","_integrity":"sha512-HhISpT4bHma3LSpJsJztqcKNe3b5MQbcT1F+XhWE7TUATQZ8CnTgODkNBtTK3f1W/L/FRPe6ebdRbsI/ROASjA==","_resolved":"/tmp/4baa994048aeeeed29b4ef4199d7d417/astryx-svelte-core-0.5.2.tgz","_from":"file:astryx-svelte-core-0.5.2.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-HhISpT4bHma3LSpJsJztqcKNe3b5MQbcT1F+XhWE7TUATQZ8CnTgODkNBtTK3f1W/L/FRPe6ebdRbsI/ROASjA==","shasum":"c5713458a20d81f2d6f18a58e88a59478e2dca82","tarball":"https://registry.npmjs.org/@astryx-svelte/core/-/core-0.5.2.tgz","fileCount":3096,"unpackedSize":16601414,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBtdkeonK3FdHKCZaeoxOxvrxgOdWlTC4Pf8ApbEijyOAiAGyLlpN7kb4vASvncwalfGBzOpi2mVgeCAjKXSNoYhdg=="}]},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"directories":{},"maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.5.2_1788304786048_0.9957331494256616"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-10T16:53:45.544Z","modified":"2026-09-01T23:19:46.538Z","0.3.0":"2026-08-10T16:53:45.999Z","0.3.1":"2026-08-10T22:48:13.761Z","0.4.1":"2026-08-16T09:16:07.727Z","0.4.5":"2026-08-20T22:19:56.802Z","0.5.2":"2026-09-01T23:19:46.328Z"},"bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"license":"MIT","homepage":"https://github.com/devrohit06/astryx-svelte#readme","keywords":["svelte"],"repository":{"type":"git","url":"git+https://github.com/devrohit06/astryx-svelte.git","directory":"packages/core"},"description":"Svelte 5 components for Astryx, Meta's open source design system.","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"readme":"<!--\n\tAbsolute, and pinned to a commit rather than to a relative path: this file is\n\tpublished to npm, where a repo-relative `src` has nothing to resolve against.\n\tThe target is the same SVG the docs site imports as its favicon.\n-->\n\n<img\n\tsrc=\"https://raw.githubusercontent.com/DevRohit06/astryx-svelte/37d3aebd2335e38015274448b541c3b2a746a710/docs/src/lib/assets/favicon.svg\"\n\talt=\"\"\n\twidth=\"64\"\n\theight=\"64\"\n/>\n\n# @astryx-svelte/core\n\nSvelte 5 components, theme system, and utilities for Astryx — a port of Meta's open source design\nsystem. Unofficial, and not affiliated with Meta. For project setup, see [Quick Start](#quick-start)\nbelow.\n\n> **Building with an AI agent?** Add the CLI, then run `init`:\n>\n> ```bash\n> pnpm exec astryx-svelte init\n> ```\n>\n> `init` writes the Astryx component index into your `AGENTS.md`/`CLAUDE.md` so your agent\n> discovers components, utils, and design tokens instead of guessing. See\n> [Astryx CLI](#astryx-cli) for the rest of what it does.\n\n## Styles: import a stylesheet, or compile it yourself\n\nComponents are styled with [StyleX](https://stylexjs.com/), and there are two ways to get their CSS.\nPick one.\n\n### 1. Import the pre-built stylesheet — no bundler configuration at all\n\nThe same thing Astryx's own package does, and what most projects should do:\n\n```ts\nimport '@astryx-svelte/core/base.css';\nimport '@astryx-svelte/core/astryx.css';\nimport '@astryx-svelte/theme-neutral/theme.css';\n```\n\nThat is the entire setup. `dist` ships compiled, so nothing needs to run StyleX.\n\n`astryx.css` carries every component's styles — 131 kB, one `@layer astryx-base`, checked against\n`@astryxdesign/core`'s published stylesheet on every test run: 1,463 shared atomic classes, zero\ndiffering rules. The cost is that you ship every component's CSS whether you use it or not.\n\n### 2. Compile it yourself, from `source`\n\nEvery subpath also publishes a `source` condition pointing at the TypeScript. Ask your bundler for\nit and compile the package yourself, and you emit only the atomic classes your app actually reaches\n— smaller than the whole stylesheet, at the cost of configuration:\n\n```ts\n// vite.config.ts — alongside the preset below\nexport default defineConfig({\n\tplugins: [astryx(), sveltekit()],\n\tresolve: { conditions: ['source'] }\n});\n```\n\nThis is also the property that makes the port verifiable: the compiler derives class names from the\nsource, so authoring against Astryx's token references emits byte-identical atomic CSS.\n\nGetting this route wrong fails **without an error**: the components render, and they render\nunstyled. If that happens, run `pnpm exec astryx-svelte doctor` — it accepts either route, and names\nwhichever piece is missing.\n\nFor Vite (and therefore SvelteKit), **use the preset**:\n\n```ts\n// vite.config.ts\nimport { astryx } from '@astryx-svelte/core/vite';\nimport { sveltekit } from '@sveltejs/kit/vite';\nimport { defineConfig } from 'vite';\n\nexport default defineConfig({\n\tplugins: [astryx(), sveltekit()]\n});\n```\n\nThat is the whole setup. `astryx()` takes `include` (further packages that ship uncompiled\n`.stylex.js`), `rootDir` (the StyleX module-resolution root — a monorepo importing `.stylex`\nmodules across packages wants the workspace root, not the default `process.cwd()`), and `dev`.\n\n<details>\n<summary>What the preset does, and why it is three things rather than one</summary>\n\nThe plugin compiles the styles. The other two exist because Vite has **two separate ways to route a\ndependency _around_ its own plugin pipeline**, and each defeats the compiler on its own:\n\n```ts\nexport default defineConfig({\n\tplugins: [\n\t\tstylex({\n\t\t\tdev: process.env.NODE_ENV !== 'production',\n\t\t\truntimeInjection: false,\n\t\t\ttreeshakeCompensation: true,\n\t\t\tuseCSSLayers: true,\n\t\t\t// Without explicit targets, lightningcss lowers `light-dark()` to a pair of\n\t\t\t// `var(--lightningcss-*)` references that resolve to nothing, and every\n\t\t\t// colour token silently goes empty.\n\t\t\tlightningcssOptions: {\n\t\t\t\ttargets: { chrome: 123 << 16, firefox: 120 << 16, safari: (17 << 16) | (5 << 8) }\n\t\t\t},\n\t\t\tunstable_moduleResolution: { type: 'commonJS', rootDir: import.meta.dirname }\n\t\t}),\n\t\tsveltekit()\n\t],\n\t// Vite's dev-time pre-bundler runs esbuild outside the plugin pipeline, so anything\n\t// it optimises never reaches the StyleX transform and `stylex.create` survives into\n\t// the browser as a runtime no-op.\n\toptimizeDeps: { exclude: ['@astryx-svelte/core'] },\n\t// Same reasoning for the server build: an externalised dependency is imported from\n\t// node_modules at runtime rather than transformed.\n\tssr: { noExternal: ['@astryx-svelte/core'] }\n});\n```\n\nWritten by hand, these options must match this package's own build **exactly**, or the atomic CSS\nyou compile differs from the output verified against upstream. The preset is the only form in which\n\"exactly\" stays true without anyone maintaining it.\n\n</details>\n\nBoth `optimizeDeps.exclude` and `ssr.noExternal` fail silently when missing. If a page renders with\nthe right markup and none of the styling, check those two first.\n\n## Component Docs\n\nLook up any component's full API — props, variants, examples, best practices, and theming — through\nthe CLI:\n\n```bash\npnpm exec astryx-svelte component --list      # every component, grouped\npnpm exec astryx-svelte component Button      # full docs for one component\npnpm exec astryx-svelte util --list           # the runes-based composables\npnpm exec astryx-svelte search button         # components, utils, docs and templates at once\n```\n\nEverything is exported from the package root. There are no per-component subpath entrypoints —\nAstryx publishes one per component and this port publishes none, so `@astryx-svelte/core` is where\n`Button` lives and the barrel is tree-shaken by your bundler. The subpaths that do exist are for\nnon-component surfaces:\n\n| Subpath                            | What it is                                                   |\n| ---------------------------------- | ------------------------------------------------------------ |\n| `@astryx-svelte/core`              | Every component, every util, every props type                |\n| `@astryx-svelte/core/theme`        | `Theme`, `useTheme`, the token vars                          |\n| `@astryx-svelte/core/theme/define` | `defineTheme` and its types, for authoring a theme           |\n| `@astryx-svelte/core/theme/syntax` | Syntax-highlighting themes for `CodeBlock`                   |\n| `@astryx-svelte/core/hooks`        | The composables, without the components                      |\n| `@astryx-svelte/core/utils`        | Framework-free helpers                                       |\n| `@astryx-svelte/core/naming`       | The class-name helpers themes and integrations build against |\n| `@astryx-svelte/core/i18n`         | The message catalog runtime                                  |\n| `@astryx-svelte/core/locales/*`    | The shipped catalogs (`en`, `fr-FR`, `pseudo`)               |\n| `@astryx-svelte/core/vite`         | The `astryx()` Vite preset, for compiling from `source`      |\n| `@astryx-svelte/core/base.css`     | Layer order and `color-scheme` — always needed               |\n| `@astryx-svelte/core/astryx.css`   | Every component's styles, pre-built — see above              |\n\n## Page Layouts\n\nBuilding a full page? Astryx's advice is to start from a template rather than composing from\nscratch, and the CLI has the command:\n\n```bash\npnpm exec astryx-svelte template --list       # browse page and block templates\npnpm exec astryx-svelte template <id> --skeleton\n```\n\n**43 page templates ship today** — dashboards, chat, settings, auth, pricing and more — and every id\nmatches upstream's. `template <id> --skeleton` prints the structure; without it you get the whole\npage.\n\nUpstream also ships ~614 _block_ templates, the smaller compositions you drop inside a page. Those\nare React source and are still being ported, so `--list` shows the page set only. Templates\ncontributed by an integration or by any other installed package are discovered and injected the same\nway.\n\n## Astryx CLI\n\n`@astryx-svelte/cli` provides the tooling around the library: component and util docs, reference\ntopics, search, theme scaffolding and building, source ejection, and upgrade codemods.\n\n```bash\npnpm exec astryx-svelte --help              # all 14 commands\npnpm exec astryx-svelte component Button    # props, usage, theming\npnpm exec astryx-svelte docs                # reference topics\npnpm exec astryx-svelte docs theme          # the theming guide\npnpm exec astryx-svelte docs tokens         # spacing, color, radius, typography\npnpm exec astryx-svelte theme list          # the eight theme packages\npnpm exec astryx-svelte theme build ./src/themes/ocean.ts\npnpm exec astryx-svelte swizzle Button      # eject component source\npnpm exec astryx-svelte doctor              # diagnose a project's setup\n```\n\n```bash\nnpm install -D @astryx-svelte/cli\n```\n\nThe binary is `astryx-svelte`, not `astryx`: `astryx` on npm is an unrelated package and Astryx's\nown CLI already claims it, so a distinct name means both can be installed in one project.\n\n## Related Packages\n\n| Package                             | Description                                                     |\n| ----------------------------------- | --------------------------------------------------------------- |\n| `@astryx-svelte/cli`                | Component docs, reference topics, themes, scaffolding, codemods |\n| `@astryx-svelte/theme-neutral`      | The default Astryx look — muted and minimal                     |\n| `@astryx-svelte/theme-butter`       | Warm creamy yellows with a friendly blue accent                 |\n| `@astryx-svelte/theme-chocolate`    | Rich cozy browns with Fraunces headings                         |\n| `@astryx-svelte/theme-gothic`       | Deep blue-grays and a display serif; dark-only                  |\n| `@astryx-svelte/theme-matcha`       | Earthy greens, calm and organic                                 |\n| `@astryx-svelte/theme-stone`        | Warm stone and slate, understated                               |\n| `@astryx-svelte/theme-y2k`          | Hot pinks, lime greens, and Poppins                             |\n| `@astryx-svelte/theme-liquid-glass` | macOS translucent materials; **no upstream counterpart**        |\n\n## Resources\n\n- [The documentation site](https://astryx-svelte.rohitk06.in/) — every component page, reference\n  topic and example, rendering live Svelte from the files in this repository\n- [Astryx](https://astryx.atmeta.com/) — the design system this ports, and the source of every\n  documented behaviour\n- [The repository](https://github.com/devrohit06/astryx-svelte)\n\n## Quick Start\n\nAstryx requires **Svelte 5** or later — `svelte` >= 5.0.0 is the one peer dependency. Runes are used\nthroughout, so there is no Svelte 4 compatibility mode.\n\nInstall the library, a theme, and StyleX:\n\n```bash\nnpm install @astryx-svelte/core @astryx-svelte/theme-neutral\n```\n\n`@stylexjs/stylex` is a peer dependency and npm and pnpm install it for you. It is required at\nruntime — the components reach `stylex.props()` through `sx()` — so add it explicitly if your\npackage manager does not resolve peers automatically.\n\n### 1. Import the stylesheets\n\n```css\n/* src/app.css */\n@import '@astryx-svelte/core/base.css';\n@import '@astryx-svelte/core/astryx.css';\n@import '@astryx-svelte/theme-neutral/theme.css';\n```\n\nThere is no step for configuring a compiler — `astryx.css` is pre-built. (If you would rather\ncompile and tree-shake, see [route 2](#2-compile-it-yourself-from-source) above.)\n\nImport them **in that order**. `base.css` declares the cascade layer order, and a layer's position is\nfixed by where it is first named — so a stylesheet that loads before it can put the layers in the\nwrong sequence and quietly invert which rules win.\n\n`base.css` is also **one file, not two**. Astryx splits its reset out as an opt-in\n`@astryxdesign/core/reset.css`; here the components are authored against the reset and misrender\nwithout it, so it is folded in and is not optional. It sets `color-scheme` too, without which every\n`light-dark()` token is inert.\n\nIf your project has existing global CSS, a legacy reset, or Tailwind, assign every stylesheet to a\nlayer deliberately: unlayered rules beat layered ones regardless of specificity.\n\n### 2. Wrap the app in a theme\n\n```svelte\n<!-- src/routes/+layout.svelte -->\n<script lang=\"ts\">\n\timport { Theme } from '@astryx-svelte/core';\n\timport { neutralTheme } from '@astryx-svelte/theme-neutral';\n\timport '../app.css';\n\n\tconst { children } = $props();\n</script>\n\n<Theme theme={neutralTheme}>\n\t{@render children()}\n</Theme>\n```\n\nTo route every `Link` and `Button href` through your router, wrap the tree in `LinkProvider` as\nwell — SvelteKit needs no wrapper for plain `<a>` navigation, so this is only for a custom link\ncomponent.\n\n### 3. Use a component\n\n```svelte\n<script lang=\"ts\">\n\timport { Button, VStack } from '@astryx-svelte/core';\n</script>\n\n<VStack gap={2}>\n\t<Button label=\"Hello Astryx\" variant=\"primary\" onclick={() => alert('Hi!')} />\n</VStack>\n```\n\n### Styling your own markup\n\nComponents take a `class`, so plain CSS, a scoped `<style>` block and Tailwind utilities all work.\nFor the deeper integration, `xstyle` takes StyleX styles:\n\n```ts\n// src/routes/page.stylex.ts\nimport * as stylex from '@stylexjs/stylex';\n\nexport const overrides = stylex.create({\n\tsave: { alignSelf: 'flex-end', marginTop: 16 }\n});\n```\n\n```svelte\n<script lang=\"ts\">\n\timport { Button } from '@astryx-svelte/core';\n\timport { overrides } from './page.stylex.js';\n</script>\n\n<Button label=\"Save\" xstyle={overrides.save} />\n```\n\nStyleX must be imported from a `.ts` module, **never from a `.svelte` file**: the bundler plugin\nBabel-parses anything importing `@stylexjs/stylex`, and it would read Svelte markup as JSX. Keep\nthe styles in a sibling `.stylex.ts` and import the object.\n\n### Internationalization\n\nStrings come from a message catalog. `en` ships complete; `fr-FR` and `pseudo` ship as Astryx ships\nthem.\n\n```svelte\n<script lang=\"ts\">\n\timport { I18nProvider } from '@astryx-svelte/core';\n\timport fr from '@astryx-svelte/core/locales/fr-FR.json';\n</script>\n\n<I18nProvider locale=\"fr-FR\" messages={fr}>\n\t<!-- … -->\n</I18nProvider>\n```\n\n### What is not here\n\nAstryx's README documents two delivery paths this package does not have, and they are absent\nbecause of what it ships rather than by preference:\n\n- **A UMD global and an esm.sh entry.** `dist` is Svelte components, so there is no bundler-free\n  `<script src>` story. A CDN copy would render unstyled.\n- **A Tailwind token bridge.** `tailwind-theme.css` has no counterpart; the tokens are plain CSS\n  custom properties, so reference them directly (`bg-[var(--color-background-surface)]`).\n","readmeFilename":"README.md"}