{"_id":"@cristian.aragao/ds-lib","_rev":"5-7e14fbaa49c70764bf09d5d5d7c9ada8","name":"@cristian.aragao/ds-lib","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","dist-tags":{"latest":"1.0.49"},"versions":{"1.0.1":{"name":"@cristian.aragao/ds-lib","version":"1.0.1","author":{"name":"cristian.aragao"},"license":"MIT","_id":"@cristian.aragao/ds-lib@1.0.1","maintainers":[{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"}],"dist":{"shasum":"da74c83340f01490bacc49eb149d12dc8343651f","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.1.tgz","fileCount":16,"integrity":"sha512-PQxjCCVaZrr54yHeA7iMd0RqfAeDLesvHvtkDv1A88wX9xrRVuxSn+/rNiYU/k+j2xsxM3HMszlz4pcWHuz3aQ==","signatures":[{"sig":"MEYCIQChk8zCrzzxj+Uui97bqRmUrB8lYnSWEeMGyP5xjQ6hJAIhAPxdF67AQjetv03S4PAKJzWvZJxnhA5j+McumBEzR5L2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13826},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ds-lib.esm.js","engines":{"node":">=10"},"gitHead":"4bd6ce3dc7bf04b82cc3d6b140f4bccb41b91e61","scripts":{"lint":"npx tsdx lint","size":"size-limit","test":"npx tsdx test --passWithNoTests","build":"npx tsdx build","start":"npx tsdx watch","deploy":"npm version patch && npm publish","analyze":"size-limit --why","prepare":"npx tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ds-lib.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ds-lib.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.1","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.394.0","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.4.38","typescript":"^4.2.2","tailwindcss":"^3.4.4","@types/react":"^18.3.3","autoprefixer":"^10.4.19"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ds-lib_1.0.1_1718362062181_0.22673363370125177","host":"s3://npm-registry-packages"}},"1.0.27":{"name":"@cristian.aragao/ds-lib","version":"1.0.27","author":{"name":"cristian.aragao"},"license":"MIT","_id":"@cristian.aragao/ds-lib@1.0.27","maintainers":[{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"}],"dist":{"shasum":"a50e540eddbc9427f5ab847c864a7f01131f414b","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.27.tgz","fileCount":18,"integrity":"sha512-WYjQ/MMMc9yq0pzTrOB9hjYVLfUgNpLDoiQa7edWF6XnOfRx0h0tXln08Ixb8jCAZqNIGC7hMyhTTZFtAM4NdQ==","signatures":[{"sig":"MEUCIAYUtfuC7AooGhdrPD9O/AMITWGov0joAt76pELwB3/pAiEAyrNG26WqxqLehRbjLJYqq7TJ4e4RL0BDc3rxKWn9knk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12213},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/ds-lib.esm.js","engines":{"node":">=10"},"gitHead":"c0accc88513f4ecee38af4fd9d6b17ace2315371","scripts":{"lint":"npx tsdx lint","size":"size-limit","test":"npx tsdx test --passWithNoTests","build":"npx tsdx build","start":"npx tsdx watch","deploy":"npm version patch && npm publish","analyze":"size-limit --why","prepare":"npx tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/ds-lib.cjs.production.min.js","limit":"10 KB"},{"path":"dist/ds-lib.esm.js","limit":"10 KB"}],"_npmVersion":"10.8.1","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"clsx":"^2.1.1","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.4.38","typescript":"^5.4.2","tailwindcss":"^3.4.4","@types/react":"^18.3.3","autoprefixer":"^10.4.19"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ds-lib_1.0.27_1718645077462_0.5180960298036954","host":"s3://npm-registry-packages"}},"1.0.46":{"name":"@cristian.aragao/ds-lib","version":"1.0.46","author":{"name":"cristian.aragao"},"license":"UNLICENSED","_id":"@cristian.aragao/ds-lib@1.0.46","dist":{"shasum":"07f61480ef805a637c1cf03c4988fc924d36a407","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.46.tgz","fileCount":3,"integrity":"sha512-uvGyTQy5uKqZEmk4zeKfi9BCWcmuTZfiVXdFFIP1lX9vGH1YpYmJQ+CallGDJOrP19r6OsRodpuxIum8SwqdNw==","signatures":[{"sig":"MEUCIESIfRY4zdqfySSLSxdOq8vI7DMYCly0mQy6lDXkaZAjAiEAietF2iOSRrWYNGCi6f0PAzu3f+D8KulBtRQcGS45D8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6185},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./dist/styles/reset.css":{"types":"./dist/styles/reset.d.ts","import":"./dist/styles/reset.css","require":"./dist/styles/reset.css"},"./dist/styles/components.css":{"types":"./dist/styles/components.d.ts","import":"./dist/styles/components.css","require":"./dist/styles/components.css"},"./dist/styles/brand-theme.css":{"types":"./dist/styles/brand-theme.d.ts","import":"./dist/styles/brand-theme.css","require":"./dist/styles/brand-theme.css"},"./dist/styles/secondary-theme.css":{"types":"./dist/styles/secondary-theme.d.ts","import":"./dist/styles/secondary-theme.css","require":"./dist/styles/secondary-theme.css"}},"gitHead":"d28d88154e5a87c388f8d80cf8771fe00bb8d018","scripts":{"build":"tsup","deploy":"npm version patch && npm publish"},"_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"10.8.1","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"clsx":"^2.1.1","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.1","devDependencies":{"tsup":"^8.1.0","postcss":"^8.4.38","typescript":"^5.4.2","tailwindcss":"^3.4.4","@types/react":"^18.3.3","autoprefixer":"^10.4.19"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ds-lib_1.0.46_1719233146014_0.6446064892042003","host":"s3://npm-registry-packages"}},"1.0.47":{"name":"@cristian.aragao/ds-lib","version":"1.0.47","author":{"name":"cristian.aragao"},"license":"UNLICENSED","_id":"@cristian.aragao/ds-lib@1.0.47","dist":{"shasum":"4d5c7959b6212edf0513a2b86282a39cbaa4aeb3","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.47.tgz","fileCount":25,"integrity":"sha512-AT8MeJ9dttjYrlf5qUhB0uj4hjyHQSCBMMOuiIvrYydpyhngpHt4DsEibaqzQ9wmBNKGOC92YAEmZCErt4FHKw==","signatures":[{"sig":"MEYCIQDJ05Uv5xVKWOJ2WoXUfj6J7oX4+h2Av09H0PwWIDgmYQIhAOOsgXAThyniM2+bw+ThDMS9FBHPP4/SYRjnNFhkphe/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55289},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./dist/styles/reset.css":{"types":"./dist/styles/reset.d.ts","import":"./dist/styles/reset.css","require":"./dist/styles/reset.css"},"./dist/styles/components.css":{"types":"./dist/styles/components.d.ts","import":"./dist/styles/components.css","require":"./dist/styles/components.css"},"./dist/styles/brand-theme.css":{"types":"./dist/styles/brand-theme.d.ts","import":"./dist/styles/brand-theme.css","require":"./dist/styles/brand-theme.css"},"./dist/styles/secondary-theme.css":{"types":"./dist/styles/secondary-theme.d.ts","import":"./dist/styles/secondary-theme.css","require":"./dist/styles/secondary-theme.css"}},"gitHead":"d28d88154e5a87c388f8d80cf8771fe00bb8d018","scripts":{"build":"tsup","deploy":"npm run build && npm version patch && npm publish"},"_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"10.8.1","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"clsx":"^2.1.1","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.1","devDependencies":{"tsup":"^8.1.0","postcss":"^8.4.38","typescript":"^5.4.2","tailwindcss":"^3.4.4","@types/react":"^18.3.3","autoprefixer":"^10.4.19"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ds-lib_1.0.47_1719233523995_0.14485033075572895","host":"s3://npm-registry-packages"}},"1.0.48":{"name":"@cristian.aragao/ds-lib","version":"1.0.48","author":{"name":"cristian.aragao"},"license":"UNLICENSED","_id":"@cristian.aragao/ds-lib@1.0.48","dist":{"shasum":"4b759d4b98d493f5a3d7db485d5e24714aa0ac91","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.48.tgz","fileCount":25,"integrity":"sha512-nzNwbUZ1NxBNjRFjRBXH8mTrCoT+mz6MeeQ2l/p7kwP3IdL9JloJGI8rdU5kRZBwtQpTqrVAfuPWk1ORjDXOpg==","signatures":[{"sig":"MEQCIGdHz1fuQNKDfPbjL45KQ8Pt8BQWPUVxO2fhTZrjgKhbAiBII8epqilhNTUw1uzo7glfNX5ze3Qp1UIStDEBMpUafw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51171},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./dist/styles/reset.css":{"types":"./dist/styles/reset.d.ts","import":"./dist/styles/reset.css","require":"./dist/styles/reset.css"},"./dist/styles/components.css":{"types":"./dist/styles/components.d.ts","import":"./dist/styles/components.css","require":"./dist/styles/components.css"},"./dist/styles/brand-theme.css":{"types":"./dist/styles/brand-theme.d.ts","import":"./dist/styles/brand-theme.css","require":"./dist/styles/brand-theme.css"},"./dist/styles/secondary-theme.css":{"types":"./dist/styles/secondary-theme.d.ts","import":"./dist/styles/secondary-theme.css","require":"./dist/styles/secondary-theme.css"}},"gitHead":"9916ff0b3b2604f051e5fcf3898e59a27dc9d39e","scripts":{"build":"tsup","deploy":"npm run build && npm version patch && npm publish","tailwind":"node ./src/styles/build.ts"},"_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"10.8.1","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","directories":{},"_nodeVersion":"22.3.0","dependencies":{"clsx":"^2.1.1","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.1","devDependencies":{"tsup":"^8.1.0","postcss":"^8.4.38","typescript":"^5.4.2","tailwindcss":"^3.4.4","@types/react":"^18.3.3","autoprefixer":"^10.4.19"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/ds-lib_1.0.48_1719584958958_0.2848429881938508","host":"s3://npm-registry-packages"}},"1.0.49":{"version":"1.0.49","license":"UNLICENSED","main":"dist/index.js","types":"dist/index.d.ts","packageManager":"npm@10.8.1","name":"@cristian.aragao/ds-lib","author":{"name":"cristian.aragao"},"exports":{".":{"import":"./dist/index.esm.js","types":"./dist/index.d.ts","require":"./dist/index.cjs.js"},"./dist/styles/components.css":{"import":"./dist/styles/components.css","require":"./dist/styles/components.css","types":"./dist/styles/components.d.ts"},"./dist/styles/brand-theme.css":{"import":"./dist/styles/brand-theme.css","require":"./dist/styles/brand-theme.css","types":"./dist/styles/brand-theme.d.ts"},"./dist/styles/secondary-theme.css":{"import":"./dist/styles/secondary-theme.css","require":"./dist/styles/secondary-theme.css","types":"./dist/styles/secondary-theme.d.ts"},"./dist/styles/reset.css":{"import":"./dist/styles/reset.css","require":"./dist/styles/reset.css","types":"./dist/styles/reset.d.ts"}},"engines":{"node":">=10"},"scripts":{"build":"tsup","deploy":"npm run build && npm version patch && npm publish","tailwind":"node ./src/styles/build.ts"},"peerDependencies":{"react":">=16"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/react":"^18.3.3","autoprefixer":"^10.4.19","postcss":"^8.4.38","tailwindcss":"^3.4.4","tsup":"^8.1.0","typescript":"^5.4.2"},"dependencies":{"@radix-ui/react-slot":"^1.0.2","class-variance-authority":"^0.7.0","clsx":"^2.1.1","tailwind-merge":"^2.3.0","tailwindcss-animate":"^1.0.7"},"publishConfig":{"access":"public"},"_id":"@cristian.aragao/ds-lib@1.0.49","gitHead":"9916ff0b3b2604f051e5fcf3898e59a27dc9d39e","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-AqacID51QVjRQEk0v2Psz64ywU4caFvbx3HcFsCuz7xNN/ElRRnVd6QVh+h3zqCh+MEQiLcz0k0xZJ/Vk36LdQ==","shasum":"41699db4d0201ae3b2f8e07126b891c750798013","tarball":"https://registry.npmjs.org/@cristian.aragao/ds-lib/-/ds-lib-1.0.49.tgz","fileCount":25,"unpackedSize":56024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1N4jupivZE/gzTOOpK8quUeLvl2XUMC5G+jF+2ymQrAiEAoRSpH1X3tTaQMhYa7Th628dUyL1KS07U0gTFMUaoKM4="}]},"_npmUser":{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ds-lib_1.0.49_1719586250717_0.9792309346201891"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-14T10:47:42.095Z","modified":"2024-06-28T14:50:51.150Z","1.0.1":"2024-06-14T10:47:42.313Z","1.0.27":"2024-06-17T17:24:37.633Z","1.0.46":"2024-06-24T12:45:46.149Z","1.0.47":"2024-06-24T12:52:04.183Z","1.0.48":"2024-06-28T14:29:19.171Z","1.0.49":"2024-06-28T14:50:50.948Z"},"maintainers":[{"name":"cristian.aragao","email":"cristianoliveira2310@gmail.com"}],"author":{"name":"cristian.aragao"},"license":"UNLICENSED","readme":"# TSDX React User Guide\n\nCongrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.\n\n> This TSDX setup is meant for developing React component libraries (not apps!) that can be published to NPM. If you’re looking to build a React-based app, you should use `create-react-app`, `razzle`, `nextjs`, `gatsby`, or `react-static`.\n\n> If you’re new to TypeScript and React, checkout [this handy cheatsheet](https://github.com/sw-yx/react-typescript-cheatsheet/)\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`, and also sets up a [Parcel-based](https://parceljs.org) playground for it inside `/example`.\n\nThe recommended workflow is to run TSDX in one terminal:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nThen run the example inside another:\n\n```bash\ncd example\nnpm i # or yarn to install dependencies\nnpm start # or yarn start\n```\n\nThe default example imports and live reloads whatever is in `/dist`, so if you are seeing an out of date component, make sure TSDX is running in watch mode like we recommend above. **No symlinking required**, we use [Parcel's aliasing](https://parceljs.org/module_resolution.html#aliases).\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n## Configuration\n\nCode quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.\n\n### Bundle analysis\n\nCalculates the real cost of your library using [size-limit](https://github.com/ai/size-limit) with `npm run size` and visulize it with `npm run analyze`.\n\n#### Setup Files\n\nThis is the folder structure we set up:\n\n```txt\n/example\n  index.html\n  index.tsx       # test your component here in a demo app\n  package.json\n  tsconfig.json\n/src\n  index.tsx       # EDIT THIS\n/test\n  blah.test.tsx   # EDIT THIS\n.gitignore\npackage.json\nREADME.md         # EDIT THIS\ntsconfig.json\n```\n\n#### React Testing Library\n\nWe do not set up `react-testing-library` for you yet, we welcome contributions and documentation on this.\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types, as well as `react` for `jsx`. Adjust according to your needs.\n\n\n## Including Styles\n\nThere are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.\n\nFor vanilla CSS, you can include it at the root directory and add it to the `files` section in your `package.json`, so that it can be imported separately by your users and run through their bundler's loader.\n\n## Publishing to NPM\n\nUse `npm run build` para gerar a build dist do DS\n\nUse `npm run deploy` para publicar, caso contrário, se tentar usar outro gerenciador de pacote dará erro\n\nIf you are not authenticate on npm site, log in with \"npm adduser\"\n\nUse\n\n```bash\nnpm run deploy # or yarn deploy\n```\n","readmeFilename":"README.md"}