shadcn-glass-ui 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,115 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6
6
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.0] - 2025-12-14
9
+
10
+ ### 🎉 Complete v2.0.0 Migration Applied
11
+
12
+ This release applies all v2.0.0 API changes across the entire codebase, ensuring consistency and
13
+ completing the migration roadmap.
14
+
15
+ ### ✨ Features
16
+
17
+ #### Component Implementations Updated
18
+
19
+ - **ButtonGlass** - All instances migrated to v2.0.0 API (`variant="default"`, `variant="link"`,
20
+ `size="default"`)
21
+ - **ToggleGlass** - All instances migrated to v2.0.0 API (`pressed`, `onPressedChange`)
22
+ - **SliderGlass** - All instances migrated to v2.0.0 API (`value: number[]`, `onValueChange`)
23
+ - **ComboBoxGlass** - All instances migrated to v2.0.0 API (`onValueChange`)
24
+
25
+ #### Demo Screenshots Added
26
+
27
+ - 📸 **GitHub Pages screenshots** - Added demo-screenshot.png and demo-screenshot-aurora.png to
28
+ public directory
29
+ - 🎨 **Visual documentation** - Both Glass and Aurora theme screenshots in README
30
+
31
+ ### 📚 Documentation
32
+
33
+ #### Comprehensive Documentation Audit
34
+
35
+ - **Removed v1.x legacy content** (-875 lines total):
36
+ - Deleted 3 outdated migration guides (select-to-combobox.md, modal-glass-compound-api.md,
37
+ tabs-glass-compound-api.md)
38
+ - Streamlined AI_USAGE.md: 1,463 → 855 lines (-42%)
39
+ - Streamlined BREAKING_CHANGES.md: 585 → 238 lines (-59%)
40
+ - Updated CLAUDE.md: removed v1.0.0 legacy examples
41
+ - **Fixed all code examples** to use v2.0.0+ API patterns
42
+ - **Fixed broken documentation links** across 16 files
43
+ - **Updated component catalog** with correct API references
44
+ - **Enhanced README** with v2.0.0 API compatibility badge
45
+
46
+ #### Files Updated (Documentation)
47
+
48
+ - README.md - Updated Quick Start examples with v2.0.0 API
49
+ - CHANGELOG.md - Added complete v2.0.0 breaking changes
50
+ - CONTRIBUTING.md - Fixed email placeholder
51
+ - docs/AI_USAGE.md - Removed legacy content, focused on v2.0.0+
52
+ - docs/BREAKING_CHANGES.md - Streamlined to v2.0.0 only
53
+ - docs/COMPONENTS_CATALOG.md - Updated component references
54
+ - docs/GETTING_STARTED.md - Fixed CLI command naming
55
+ - docs/BEST_PRACTICES.md - Updated Tailwind version requirement (4.1+)
56
+ - docs/api/README.md - Updated API documentation paths
57
+ - docs/api/interfaces/ - Updated BadgeGlassProps, ButtonGlassProps
58
+
59
+ ### 🔧 Fixes
60
+
61
+ - **Bundle size badge** - Replaced bundlephobia badge with static size badge (fixes dynamic loading
62
+ issues)
63
+
64
+ ### 📦 Internal Changes
65
+
66
+ #### Test Coverage Maintained
67
+
68
+ - **138/138 tests passing** ✅
69
+ - All Storybook stories updated (.stories.tsx)
70
+ - All unit tests updated (**tests**/)
71
+ - All visual regression tests updated (**visual**/)
72
+ - Compliance tests updated (accessibility, tokens, glassmorphism)
73
+
74
+ #### Registry Updates
75
+
76
+ Auto-updated component registry files:
77
+
78
+ - button-glass.json, toggle-glass.json, slider-glass.json
79
+ - combobox-glass.json, ai-card-glass.json, repository-card-glass.json
80
+ - avatar-glass.json, badge-glass.json, year-card-glass.json
81
+
82
+ #### Theme Files Updated
83
+
84
+ Added component-specific CSS variables to all themes:
85
+
86
+ - glass.css - Updated with semantic token mappings
87
+ - light.css - Updated with semantic token mappings
88
+ - aurora.css - Updated with semantic token mappings
89
+
90
+ #### Files Changed
91
+
92
+ - **90 files changed**: 2,556 insertions(+), 3,051 deletions(-)
93
+ - Component implementations: 22 files
94
+ - Storybook stories: 25+ files
95
+ - Tests: 20+ files
96
+ - Documentation: 16 files
97
+ - Registry: 10 files
98
+ - Demos: 6 files
99
+
100
+ ### 🎯 Impact
101
+
102
+ - **100% codebase consistency** - All code now uses v2.0.0 API
103
+ - **Cleaner documentation** - Removed 875 lines of outdated content
104
+ - **Better DX** - All examples and documentation aligned with current API
105
+ - **Zero tech debt** - No legacy API references remaining
106
+
107
+ ### 📖 Migration Guide
108
+
109
+ All v2.0.0 migrations are now complete. For reference, see:
110
+
111
+ - [BREAKING_CHANGES.md](docs/BREAKING_CHANGES.md) - Complete v2.0.0 migration guide
112
+ - [API_PATTERNS_COMPARISON.md](docs/API_PATTERNS_COMPARISON.md) - Component API consistency
113
+ reference
114
+
115
+ ---
116
+
8
117
  ## [2.0.0] - 2025-12-14
9
118
 
10
119
  ### 🎉 MAJOR MILESTONE: 100% shadcn/ui API Compatibility
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/shadcn-glass-ui.svg)](https://www.npmjs.com/package/shadcn-glass-ui)
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue)](https://www.typescriptlang.org/)
6
6
  [![AI-Friendly](https://img.shields.io/badge/AI-Optimized-blueviolet)](docs/AI_USAGE.md)
7
- [![Bundle Size](https://img.shields.io/badge/gzip-372KB-success)](https://bundlephobia.com/package/shadcn-glass-ui)
7
+ [![Bundle Size](https://img.shields.io/bundlephobia/minzip/shadcn-glass-ui?cacheSeconds=86400)](https://bundlephobia.com/package/shadcn-glass-ui)
8
8
 
9
9
  **Glassmorphism UI components for React** — beautiful frosted glass effects, 57 production-ready
10
10
  components, 3 themes, drop-in compatible with shadcn/ui.
@@ -1,8 +1,11 @@
1
1
  # Breaking Changes
2
2
 
3
- This document lists breaking changes in shadcn-glass-ui v2.0.0.
3
+ This document lists breaking changes in shadcn-glass-ui v2.0.0 and later.
4
4
 
5
- **Current Version:** 2.0.0 (2025-12-14)
5
+ **Current Version:** 2.1.0 (2025-12-14)
6
+
7
+ > **Note:** As of v2.1.0, all v2.0.0 migrations are complete across the entire codebase. All
8
+ > components, examples, and documentation now use the new API.
6
9
 
7
10
  ---
8
11
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shadcn-glass-ui",
3
3
  "private": false,
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "description": "Glassmorphism UI library for React - AI-friendly with 57 components, strict TypeScript, and comprehensive docs",
6
6
  "author": "Yhooi2",
7
7
  "license": "MIT",