Release v2.0.0: Remove Tailwind CSS#2
Merged
ishansasika merged 11 commits intomainfrom Jan 8, 2026
Merged
Conversation
- Add custom utility classes for layout (flex, grid, gap) - Add spacing utilities (padding, margin, space-y) - Add positioning utilities (relative, absolute, fixed, inset) - Add border radius utilities (rounded-full, rounded-lg, rounded-sm) - Add typography utilities (text-xs, text-sm, font-medium, font-semibold) - Add border and misc utilities - All utilities provide same functionality as Tailwind equivalents - Reduces CSS bundle size by removing unused Tailwind classes
- Add skeleton base styles with shimmer animation - Add spinner base styles with rotation animation - Add progress base styles for loading indicators - Replace Tailwind @apply directives with pure CSS - Optimize styles for small bundle size - Maintain same visual appearance as v1.x
- Implement lightweight className merging utility - Remove clsx as runtime dependency - Reduce package dependencies to zero - Maintain same API and functionality as clsx - 10-line implementation vs external package
- Remove @tailwind directives from main styles - Import custom utilities and component styles instead - Remove Tailwind plugin from PostCSS configuration - Keep autoprefixer for browser compatibility - Reduce CSS bundle size from 21KB to 6.27KB (70% reduction)
- Remove tailwindcss from peer dependencies - Remove clsx from dependencies - Update package description to remove Tailwind reference - Update keywords to replace 'tailwind' with 'css' - Delete tailwind.config.js configuration file - Zero configuration required for library users
- Disable JavaScript source maps in production builds - Enable source maps in development mode only - Reduce total package size by ~500KB (36% reduction) - Add CSS preprocessor options for future extensibility - Maintain tree-shaking with preserveModules option
- Update README with v2.0.0 features and benefits - Add migration guide from v1.x to v2.0 - Remove Tailwind CSS setup instructions - Update component counts (25 total: 9+7+4+4+1) - Highlight zero configuration requirement - Update demo app documentation page - Add v2.0.0 breaking changes notice - Update peer dependencies section
- Bump package version from 1.3.0 to 2.0.0 - Add comprehensive v2.0.0 changelog entry - Document breaking changes and migration guide - List all improvements and optimizations - Note 70% CSS size reduction and 36% total package reduction - Highlight zero configuration benefit - Document all 25 components still working
- Add automated PR checks on Node.js 18 and 20 - Run TypeScript type checking - Build library, Storybook, and demo app - Add lint checks to verify no Tailwind references - Verify no clsx imports in source code - Verify all 25 components are present - Display package size report - Ensure code quality before merging to main
- Deploy Storybook to Firebase preview channel on PR - Deploy demo app to Firebase preview channel on PR - Auto-comment on PR with preview URLs - Preview deployments expire after 7 days - Only deploy after all checks pass - Provides reviewers with live preview links
- Add checks:write permission for Firebase deploy action - Add pull-requests:write permission for commenting - Add contents:read permission for checkout - Fixes 403 permission error when creating check runs
|
Visit the preview URL for this PR (updated for commit 3ea6482): https://premium-react-loaders--pr2-release-v2-0-0-remov-4in4cv8o.web.app (expires Wed, 14 Jan 2026 06:20:39 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: eb4458f61f3ef56b131141fb6fd2dd15a08ad257 |
|
Visit the preview URL for this PR (updated for commit 3ea6482): https://premium-react-loaders-demo--pr2-release-v2-0-0-remov-exgslzb5.web.app (expires Wed, 14 Jan 2026 06:20:46 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: feeaea6d178339239f5ee7031faf380056784aae |
🚀 Preview DeploymentsYour PR has been deployed to Firebase preview channels! 📚 Storybook Documentation🎨 Demo ApplicationPreview deployments will be automatically deleted after 7 days. Built with commit 5773d4a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[2.0.0] - 2025-01-07
🎉 Major Release - Zero Configuration, Smaller Bundle
This release removes the Tailwind CSS dependency, making the library easier to use and significantly smaller.
Breaking Changes
Removed Dependencies
tailwind.config.jsMigration Guide
For v1.x users:
npm install premium-react-loaders@latesttailwind.config.js(if not using Tailwind elsewhere)What stays the same:
Added
Custom CSS System
Custom utility classes replacing Tailwind dependencies
Component-specific styles
Internal Improvements
Changed
Bundle Size Optimizations
70% smaller CSS bundle
36% smaller total package
Build Configuration
Disabled source maps in production builds
Optimized PostCSS configuration
Developer Experience
Simplified installation
Faster installation
Removed
Dependencies
tailwindcssfrom peer dependenciesclsxfrom dependenciestailwind.config.jsconfiguration fileConfiguration Requirements
Benefits
For Library Users
For Package Maintainers
Notes
This is a major version release due to the Tailwind CSS removal. While the component APIs remain unchanged, the removal of a peer dependency is considered a breaking change following semantic versioning.
All 25 components continue to work exactly as before: