Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit e135666

Browse files
author
Developer
committed
chore: release v0.4.1 - TypeScript declarations & API standardization
1 parent 332d117 commit e135666

File tree

4 files changed

+56
-2
lines changed

4 files changed

+56
-2
lines changed

packages/showcase/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @org/showcase
22

3+
## 0.1.7
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @etherisc/ui-kit@0.4.1
9+
310
## 0.1.6
411

512
### Patch Changes

packages/showcase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@org/showcase",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/ui-kit/CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# @etherisc/ui-kit
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- # Fix Release v0.4.1 - TypeScript Declarations & API Standardization
8+
9+
## 🔧 Critical Fixes
10+
11+
### TypeScript Declaration Issues Resolved
12+
13+
- **Fixed bundle externalization**: All major dependencies (@radix-ui/_, @codemirror/_, utilities) now properly externalized
14+
- **Improved module resolution**: Changed from "bundler" to "node" for better consumer compatibility
15+
- **Reduced bundle sizes dramatically**:
16+
- ES Module: 335KB (24% reduction)
17+
- CommonJS: 356KB (63% reduction)
18+
- **Enhanced TypeScript configuration**: Added esModuleInterop and allowSyntheticDefaultImports
19+
- **Clean type definitions**: Properly externalized dependencies for better TypeScript IntelliSense
20+
21+
### API Consistency Improvements
22+
23+
- **Standardized Button component**: Now supports both `variant` (recommended) and `intent` (deprecated) props
24+
- **Backward compatibility**: All existing `intent` usage continues to work unchanged
25+
- **Developer experience**: Clear deprecation warnings guide migration to `variant` prop
26+
- **Industry alignment**: `variant` prop aligns with Radix UI, Shadcn/ui standards
27+
28+
## 🚀 Benefits for Consumers
29+
30+
- ✅ TypeScript compilation now works without errors
31+
- ✅ Faster npm install (smaller bundles)
32+
- ✅ Better tree-shaking and performance
33+
- ✅ Consistent API across all components
34+
- ✅ Zero breaking changes
35+
36+
## 📋 Migration Guide
37+
38+
**Button Component (Optional Migration)**:
39+
40+
```tsx
41+
// Before (still works, but deprecated)
42+
<Button intent="primary">Submit</Button>
43+
44+
// After (recommended)
45+
<Button variant="primary">Submit</Button>
46+
```
47+
48+
All other components continue to work exactly as before. This release focuses on fixing critical infrastructure issues while maintaining 100% backward compatibility.
49+
350
## 0.4.0
451

552
### Minor Changes

packages/ui-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@etherisc/ui-kit",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"type": "module",
55
"license": "Apache-2.0",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)