{"_id":"@bolstycjw/melt-ui-svelte","name":"@bolstycjw/melt-ui-svelte","dist-tags":{"latest":"0.79.1"},"versions":{"0.79.1":{"name":"@bolstycjw/melt-ui-svelte","version":"0.79.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/melt-ui/melt-ui.git"},"author":{"name":"Thomas G. Lopes"},"scripts":{"dev":"vite dev","build":"vite build && npm run package","deploy":"vite build","preview":"vite preview","package":"svelte-kit sync && svelte-package && publint","prepublishOnly":"npm run package","test":"vitest","test:coverage":"vitest run --coverage","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","lint":"prettier --plugin-search-dir . --check . && eslint .","lint:write":"prettier --plugin-search-dir . --write . && eslint . --fix","format":"prettier --plugin-search-dir . --write .","release":"changeset publish","create:cmp":"node ./scripts/create-component.js","storybook":"storybook dev -p 6006 --no-open","build-storybook":"storybook build -s static","pw":"pnpm exec playwright test","pw:ui":"pnpm exec playwright test --ui","changeset":"changeset"},"exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./internal/*":{"types":"./dist/internal/*/index.d.ts","svelte":"./dist/internal/*/index.js"},"./internal/types":{"types":"./dist/internal/types.d.ts","svelte":"./dist/internal/types.js"}},"typesVersions":{">4.0":{"index.d.ts":["./dist/index.d.ts"],"internal/*":["./dist/internal/*/index.d.ts"],"internal/types":["./dist/internal/types.d.ts"]}},"peerDependencies":{"svelte":">=3 <=5"},"dependencies":{"@floating-ui/core":"^1.3.1","@floating-ui/dom":"^1.4.5","@internationalized/date":"^3.5.0","dequal":"^2.0.3","focus-trap":"^7.5.2","nanoid":"^5.0.4"},"devDependencies":{"@changesets/cli":"^2.26.2","@fontsource/inter":"^5.0.8","@huntabyte/mdsvex":"0.16.5","@melt-ui/pp":"0.1.0","@playwright/test":"^1.39.0","@storybook/addon-a11y":"^7.6.12","@storybook/addon-essentials":"^7.6.12","@storybook/addon-interactions":"^7.6.6","@storybook/addon-links":"^7.6.12","@storybook/addon-styling":"^1.3.7","@storybook/blocks":"^7.6.6","@storybook/svelte":"^7.6.12","@storybook/sveltekit":"^7.6.12","@storybook/testing-library":"^0.2.2","@sveltejs/adapter-static":"^3.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.2.5","@sveltejs/vite-plugin-svelte":"^3.0.0","@svitejs/changesets-changelog-github-compact":"^1.1.0","@tailwindcss/typography":"^0.5.9","@testing-library/dom":"^9.3.4","@testing-library/jest-dom":"^6.4.1","@testing-library/svelte":"^4.1.0","@testing-library/user-event":"^14.5.2","@types/hast":"^3.0.4","@types/jest-axe":"^3.5.5","@types/mdast":"^4.0.3","@types/node":"^20.11.17","@types/testing-library__jest-dom":"^5.14.9","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","@vitest/coverage-v8":"^1.2.2","@vitest/ui":"^1.2.2","autoprefixer":"^10.4.14","clsx":"^2.1.0","escape-html":"^1.0.3","eslint":"^8.45.0","eslint-config-prettier":"^8.9.0","eslint-plugin-storybook":"^0.6.15","eslint-plugin-svelte":"^2.33.0","hast-util-to-html":"^9.0.0","jest-axe":"^8.0.0","jsdom":"^24.0.0","lucide-svelte":"^0.321.0","mode-watcher":"^0.1.2","postcss":"^8.4.27","postcss-load-config":"^4.0.1","prettier":"2.8.7","prettier-plugin-svelte":"2.10.1","prettier-plugin-tailwindcss":"0.2.7","publint":"^0.1.12","react":"^18.2.0","react-dom":"^18.2.0","rehype-pretty-code":"^0.13.0","rehype-rewrite":"^3.0.6","remark-code-import":"^1.2.0","remark-gfm":"^3.0.1","resize-observer-polyfill":"^1.5.1","shiki":"^1.1.1","storybook":"^7.6.6","svelte":"^4.2.9","svelte-check":"^3.4.6","svelte-sequential-preprocessor":"^2.0.1","tailwind-merge":"^2.2.1","tailwind-variants":"^0.1.8","tailwindcss":"^3.4.1","tslib":"^2.6.1","typescript":"^5.1.6","unified":"^11.0.4","unist-util-visit":"^5.0.0","vite":"^5.0.0","vite-plugin-pagefind":"^0.0.21","vitest":"^1.0.0"},"svelte":"./dist/index.js","main":"./dist/index.js","types":"./dist/index.d.ts","type":"module","packageManager":"pnpm@8.6.3","_id":"@bolstycjw/melt-ui-svelte@0.79.1","gitHead":"69ff226660e4dc1a96ef6427a7a14600a043bd6d","description":"![](static/banner.png)","bugs":{"url":"https://github.com/melt-ui/melt-ui/issues"},"homepage":"https://github.com/melt-ui/melt-ui#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-HQZMJpEyB0T1ijABZN3GmtYGxeiabpmnaFz4qYsUPDobgWYgVvyaXxXDB1Kz28SQHJ/WcPLp6tlcaAAWX5GD/Q==","shasum":"690c695292bbf12765fc8aeff392b5fe3bd6833e","tarball":"https://registry.npmjs.org/@bolstycjw/melt-ui-svelte/-/melt-ui-svelte-0.79.1.tgz","fileCount":481,"unpackedSize":1157833,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVG1gZi/TVtNLtaEFwgcX5IdiO7g3e0c1WxBpjUqIiMwIgL0B2SOobabOcGdguAUT2EdY3FfPowVaDh+xbX11Xpb4="}]},"_npmUser":{"name":"bolstycjw","email":"brolycjw@gmail.com"},"directories":{},"maintainers":[{"name":"bolstycjw","email":"brolycjw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/melt-ui-svelte_0.79.1_1716792844963_0.2762278595728118"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-27T06:54:04.850Z","0.79.1":"2024-05-27T06:54:05.101Z","modified":"2024-05-27T06:54:05.370Z"},"maintainers":[{"name":"bolstycjw","email":"brolycjw@gmail.com"}],"description":"![](static/banner.png)","homepage":"https://github.com/melt-ui/melt-ui#readme","repository":{"type":"git","url":"git+https://github.com/melt-ui/melt-ui.git"},"author":{"name":"Thomas G. Lopes"},"bugs":{"url":"https://github.com/melt-ui/melt-ui/issues"},"license":"MIT","readme":"![](static/banner.png)\n\n[Melt UI](https://www.melt-ui.com/) is a set of headless, accessible component builders for Svelte.\n\n[![](https://img.shields.io/npm/v/@melt-ui/svelte?style=flat)](https://www.npmjs.com/package/@melt-ui/svelte)\n![npm](https://img.shields.io/npm/dw/%40melt-ui%2Fsvelte?style=flat&color=orange)\n\n[![](https://img.shields.io/github/actions/workflow/status/melt-ui/melt-ui/ci.yaml?style=flat)](https://github.com/melt-ui/melt-ui/actions/workflows/ci.yaml)\n![](https://img.shields.io/github/license/melt-ui/melt-ui?style=flat)\n[![](https://dcbadge.vercel.app/api/server/2QDjZkYunf?style=flat)](https://melt-ui.com/discord)\n\n## About\n\nMelt UI is meant to be used as a base for your own styles and components. It offers:\n\n- Uncoupled builders that can be attached to any element/component\n- Typescript and [SvelteKit](https://kit.svelte.dev/) support out-of-the-box\n- Strict adherence to [WAI-ARIA guidelines](https://www.w3.org/WAI/ARIA/apg/)\n- Easy to use examples and documentation\n- A high emphasis on accessibility, extensibility, quality and consistency\n\n## Getting started\n\nRun our installer script to get started:\n\n```sh\nnpx @melt-ui/cli@latest init\n```\n\nImport the builders to your code and start using them:\n\n```html\n<script>\n\timport { createCollapsible, melt } from '@melt-ui/svelte'\n\n\tconst {\n\t\telements: { root, content, trigger },\n\t\tstates: { open }\n\t} = createCollapsible()\n</script>\n\n<div use:melt=\"{$root}\">\n\t<button use:melt=\"{$trigger}\">{$open ? 'Close' : 'Open'}</button>\n\t<div use:melt=\"{$content}\">Obi-Wan says: Hello there!</div>\n</div>\n```\n\n## Contributing\n\n**Contributions are welcome and encouraged!**\n\nMelt UI is under active development. Currently planned features can be found in the\n[issues tab](https://github.com/melt-ui/melt-ui/issues), alongside bug reports.\n\nWe work on this project on a volunteer basis in our free time. If you notice something that hasn't\nbeen implemented yet or could be improved, do consider contributing to the project! The goal is to\nenhance the experience of building with Svelte and improve the ecosystem for everyone.\n\nCheck out our [Contributing guide](./CONTRIBUTING.md) to learn more.\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://github.com/sponsors/tglide\">\n    <img src='https://github.com/tglide/sponsors/blob/main/sponsors.svg?raw=true' alt=\"Logos from Sponsors\" />\n  </a>\n</p>\n\n## Community\n\nMelt UI is an open-source project built by the community for the community. It wouldn't be possible\nif it wasn't for the work of some amazing people.\n\n[![Contributors](https://contrib.rocks/image?repo=melt-ui/melt-ui)](<[https://github.com/codemaniac-sahil/news-webapp-api](https://github.com/melt-ui/melt-ui)https://github.com/melt-ui/melt-ui/graphs/contributors>)\n\n### Discord\n\nGot any questions? Want to talk to the maintainers?\n\nOur [Discord community](https://melt-ui.com/discord) is a great place to get in touch with us, and\nwe'd love to have you there.\n\n<a href=\"https://melt-ui.com/discord\" alt=\"Melt UI Discord community\">\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://invidget.switchblade.xyz/2QDjZkYunf\">\n  <img alt=\"Melt UI Discord community\" src=\"https://invidget.switchblade.xyz/2QDjZkYunf?theme=light\">\n</picture>\n</a>\n\n## Similar projects\n\nLooking for more? Check out the\n[other component library projects available for Svelte](https://sveltesociety.dev/components#design-systems).\n","readmeFilename":"README.md"}