{"_id":"animate-tailwind-kit","_rev":"2-6d691cf346a7bc48b7c3cca097e900fb","name":"animate-tailwind-kit","dist-tags":{"latest":"3.0.4"},"versions":{"3.0.1":{"name":"animate-tailwind-kit","version":"3.0.1","keywords":["tailwindcss","tailwindcss-plugin","animate.css","animation","keyframes","motion"],"author":{"name":"EIIiechena"},"license":"MIT","_id":"animate-tailwind-kit@3.0.1","maintainers":[{"name":"johnxia1997","email":"Johnxia1997@outlook.com"}],"homepage":"https://EIIiechena.github.io/animate-tailwind-kit/","bugs":{"url":"https://github.com/EIIiechena/animate-tailwind-kit/issues"},"dist":{"shasum":"88faebd44596191d322acd778b417a96599e047b","tarball":"https://registry.npmjs.org/animate-tailwind-kit/-/animate-tailwind-kit-3.0.1.tgz","fileCount":8,"integrity":"sha512-/0GO+26xCLn8Mr35XAU2bLJXlRF4yS9x/X/mi9FOrHGIV+4r346l+R0InRsGoj5kOHkd1AACm6YAQj6vKjBoXg==","signatures":[{"sig":"MEQCIBSvLI669LoB6y/FFs5uI7BYLZbhE3o5mzuA0BALozTCAiAz2ezm2aSXZsy+NXkQN9kInk6qt/yhOUbHToUn0gQLKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16820},"main":"plugin.js","engines":{"node":">=18"},"exports":"./plugin.js","scripts":{"lint":"eslint . --ext .js","test":"node --test"},"_npmUser":{"name":"johnxia1997","email":"Johnxia1997@outlook.com"},"repository":{"url":"git+https://github.com/EIIiechena/animate-tailwind-kit.git","type":"git"},"_npmVersion":"10.9.3","description":"A configurable, namespaced Animate.css integration for Tailwind CSS","directories":{},"_nodeVersion":"22.18.0","dependencies":{"postcss":"^8.4.5","postcss-js":"^3.0.3","animate.css":"^4.1.1","postcss-selector-parser":"^6.0.8","@jasperquinn/postcss-motion-helpers":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.5.0","tailwindcss":"^3.0.7","eslint-plugin-import":"^2.25.2","eslint-config-airbnb-base":"15.0.0"},"peerDependencies":{"tailwindcss":"^3"},"_npmOperationalInternal":{"tmp":"tmp/animate-tailwind-kit_3.0.1_1790597806075_0.6725097714839621","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"_id":"animate-tailwind-kit@3.0.4","bugs":{"url":"https://github.com/martin75/animate-tailwind-kit/issues"},"dist":{"shasum":"d4683ab96feb9ad63489529947232b0e1b0d39a7","tarball":"https://registry.npmjs.org/animate-tailwind-kit/-/animate-tailwind-kit-3.0.4.tgz","fileCount":8,"integrity":"sha512-IrAZsUyqeKsw/tFj3ZAsGTxhjc+DwSDfcxtZ26Pp4c66mI0QGw2JcGBST8JbJAvY/dKhb30oM06TlWme4vor5g==","signatures":[{"sig":"MEUCIQD4LNsFhOfY8lN6VDZS6zDeBFyu0/JyNPrpa/pIWTvvHQIgOZBrGgtwII2kV5/HR/jRxoM5MKTF227Mkw8auOQ8i1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDt5/dMgpfqlKdWE4wlY/PdBJaQ+y3klnw/o23Ce1DAzQIhAKgiWBVSxqoc2xECf4+XWhPk49N5jAOZA1XQmvELFK9I"}],"unpackedSize":16816},"main":"plugin.js","name":"animate-tailwind-kit","author":{"name":"EIIiechena"},"engines":{"node":">=18"},"exports":"./plugin.js","license":"MIT","scripts":{"lint":"eslint . --ext .js","test":"node --test"},"version":"3.0.4","_npmUser":{"name":"johnxia1997","email":"Johnxia1997@outlook.com"},"homepage":"https://martin75.github.io/animate-tailwind-kit/","keywords":["tailwindcss","tailwindcss-plugin","animate.css","animation","keyframes","motion"],"repository":{"url":"git+https://github.com/martin75/animate-tailwind-kit.git","type":"git"},"_npmVersion":"10.9.3","description":"A configurable, namespaced Animate.css integration for Tailwind CSS","directories":{},"maintainers":[{"name":"johnxia1997","email":"Johnxia1997@outlook.com"}],"_nodeVersion":"22.18.0","dependencies":{"postcss":"^8.4.5","postcss-js":"^3.0.3","animate.css":"^4.1.1","postcss-selector-parser":"^6.0.8","@jasperquinn/postcss-motion-helpers":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.5.0","tailwindcss":"^3.0.7","eslint-plugin-import":"^2.25.2","eslint-config-airbnb-base":"15.0.0"},"peerDependencies":{"tailwindcss":"^3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/animate-tailwind-kit_3.0.4_1790665247547_0.46263325060227967"}}},"time":{"created":"2026-09-28T12:16:45.850Z","modified":"2026-09-29T07:00:47.815Z","3.0.1":"2026-09-28T12:16:46.224Z","3.0.4":"2026-09-29T07:00:47.637Z"},"bugs":{"url":"https://github.com/martin75/animate-tailwind-kit/issues"},"author":{"name":"EIIiechena"},"license":"MIT","homepage":"https://martin75.github.io/animate-tailwind-kit/","keywords":["tailwindcss","tailwindcss-plugin","animate.css","animation","keyframes","motion"],"repository":{"url":"git+https://github.com/martin75/animate-tailwind-kit.git","type":"git"},"description":"A configurable, namespaced Animate.css integration for Tailwind CSS","maintainers":[{"name":"johnxia1997","email":"Johnxia1997@outlook.com"}],"readme":"# animate-tailwind-kit\r\n\r\nA configurable Animate.css integration for Tailwind CSS 3. It reads the installed Animate.css catalog at build time, emits only the animations you select, and namespaces generated keyframes to prevent collisions.\r\n\r\nGlobal `duration`, `delay`, and `iterationCount` values are passed to `@jasperquinn/postcss-motion-helpers`, which generates the corresponding Tailwind base custom properties.\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install animate-tailwind-kit animate.css\r\n```\r\n\r\n## Basic usage\r\n\r\n```js\r\n// tailwind.config.js\r\nmodule.exports = {\r\n  content: ['./src/**/*.{html,js,jsx,ts,tsx,vue,svelte}'],\r\n  plugins: [\r\n    require('animate-tailwind-kit')({\r\n      animations: ['bounce', 'fadeIn', 'fadeOut', 'slideInUp']\r\n    })\r\n  ]\r\n};\r\n```\r\n\r\nApply the base class together with an animation class:\r\n\r\n```html\r\n<div class=\"keyframe keyframe-fade-in\">Content</div>\r\n```\r\n\r\nAnimation names are converted to kebab case in generated class names. For example, `fadeInDownBig` becomes `keyframe-fade-in-down-big`.\r\n\r\n## Configuration\r\n\r\n```js\r\nrequire('animate-tailwind-kit')({\r\n  prefix: 'motion',\r\n  animations: ['bounce', 'fadeIn'],\r\n  exclude: ['bounce'],\r\n  aliases: {\r\n    enter: 'fadeIn'\r\n  },\r\n  duration: '900ms',\r\n  delay: '0s',\r\n  iterationCount: '1',\r\n  namespaceKeyframes: true,\r\n  respectReducedMotion: true,\r\n  modifiers: true,\r\n  durations: {\r\n    quick: '300ms',\r\n    deliberate: '1400ms'\r\n  },\r\n  delays: {\r\n    short: '150ms',\r\n    long: '800ms'\r\n  },\r\n  repeats: {\r\n    twice: '2',\r\n    forever: 'infinite'\r\n  }\r\n})\r\n```\r\n\r\n| Option | Default | Purpose |\r\n| --- | --- | --- |\r\n| `prefix` | `keyframe` | Prefix for classes and generated keyframes |\r\n| `animations` | `'*'` | Animate.css names to include; `'*'` includes the full catalog |\r\n| `exclude` | `[]` | Animation names to omit |\r\n| `aliases` | `{}` | Public class names mapped to Animate.css animation names |\r\n| `duration` | `1s` | Default animation duration |\r\n| `delay` | `0s` | Default animation delay |\r\n| `iterationCount` | `1` | Default iteration count |\r\n| `namespaceKeyframes` | `true` | Prefix keyframe identifiers to prevent collisions |\r\n| `respectReducedMotion` | `true` | Minimize animation when the user requests reduced motion |\r\n| `modifiers` | `true` | Generate timing, repeat, pause, and run utilities |\r\n| `durations` | Built-in map | Duration modifier tokens |\r\n| `delays` | Built-in map | Delay modifier tokens |\r\n| `repeats` | Built-in map | Iteration modifier tokens |\r\n\r\nThe deprecated `classes` option remains an alias for `animations` during migration.\r\n\r\n## Generated utilities\r\n\r\nWith the default prefix, the plugin generates:\r\n\r\n```html\r\n<div class=\"keyframe keyframe-bounce keyframe-duration-fast keyframe-delay-1s keyframe-repeat-2\"></div>\r\n```\r\n\r\n- `keyframe-duration-{token}` sets the duration variable.\r\n- `keyframe-delay-{token}` sets the delay variable.\r\n- `keyframe-repeat-{token}` sets the iteration-count variable.\r\n- `keyframe-paused` and `keyframe-running` control playback.\r\n\r\nTailwind variants work normally:\r\n\r\n```html\r\n<div class=\"keyframe keyframe-fade-in hover:keyframe-paused md:keyframe-duration-slow\"></div>\r\n```\r\n\r\n## Aliases\r\n\r\nAliases provide stable semantic names without copying keyframes:\r\n\r\n```js\r\nrequire('animate-tailwind-kit')({\r\n  animations: [],\r\n  aliases: {\r\n    notificationEnter: 'fadeInDown',\r\n    notificationExit: 'fadeOutUp'\r\n  }\r\n})\r\n```\r\n\r\n```html\r\n<aside class=\"keyframe keyframe-notification-enter\"></aside>\r\n```\r\n\r\n## Catalog\r\n\r\nThe package exposes the animation names found in the installed Animate.css version:\r\n\r\n```js\r\nconst keyframes = require('animate-tailwind-kit');\r\nconsole.log(keyframes.catalog());\r\n```\r\n\r\n## Migration from 1.x\r\n\r\n- The default class prefix changed from `animatecss` to `keyframe`.\r\n- Generated animation class names use kebab case.\r\n- Keyframe names are namespaced by default.\r\n- `animations` replaces `classes`; `classes` remains a compatibility alias.\r\n- `@jasperquinn/postcss-motion-helpers` now processes global timing options and is installed automatically.\r\n- Reduced-motion handling is enabled by default.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}