noorui-rtl 0.3.13 → 0.4.0

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,38 @@ All notable changes to Noor UI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.0] - 2025-11-28
9
+
10
+ ### Added
11
+
12
+ #### New Components (8 Components)
13
+ - **ReactionPicker**: LinkedIn/Discord-style emoji reaction picker for social features. Supports compact mode (merged display) and expanded mode (separate reactions). Includes tooltip breakdowns, active state tracking, and full RTL support. Perfect for comments, posts, messages, and reviews.
14
+ - **UserBadge**: Role and status badge component with 5 variants (author, moderator, verified, admin, custom). Includes icon support and clean noorui styling. Useful for profiles, comments, leaderboards, and chat systems.
15
+ - **ContentRenderer**: Markdown/HTML content renderer with automatic RTL/LTR detection via `dir="auto"`. Features code highlighting, XSS protection, proper prose styling, and logical CSS properties for bidirectional content. Essential for user-generated content, comments, and documentation.
16
+ - **Kbd**: Keyboard shortcut display component with platform-aware symbols (⌘ on Mac, Ctrl on Windows). Supports key combinations, 3 variants (default, outline, ghost), 3 sizes, and RTL support. Perfect for search modals, toolbars, menus, and documentation.
17
+ - **Callout**: Enhanced alert/notification component with 5 types (info, warning, error, success, note). Features custom icons, title support, and RTL-aware layout. Ideal for documentation, tips, warnings, and important messages.
18
+ - **Blockquote**: Styled quote component with 3 variants (default, accent, subtle). Supports author attribution, source citations, and clickable cite URLs. Clean typography with proper spacing.
19
+ - **PullQuote**: Large emphasized quote for highlighting key text. Supports 3 alignments (left, center, right). Uses elegant serif typography with decorative quotation marks.
20
+ - **StatsCard**: Dashboard statistics display card with icon, label, value, and optional trend indicator. Clean card-based design for analytics dashboards.
21
+
22
+ #### New Hooks
23
+ - **useRelativeTime**: Hook for formatting dates as relative time strings ("2 hours ago", "منذ ساعتين"). Features auto-updates, customizable intervals, and full localization for 4 locales (en, ar, fr, ur). Handles all time ranges from seconds to years.
24
+
25
+ ### Changed
26
+ - Updated component count from 65 to 73+ components
27
+ - Expanded package exports with new UI components and hooks
28
+ - Enhanced social and content-focused capabilities
29
+
30
+ ---
31
+
32
+ ## [0.3.14] - 2025-11-23
33
+
34
+ ### Added
35
+ - **ButtonArrow**: New component for buttons with directional arrows. Uses semantic directions (`forward`/`back`) instead of physical (`left`/`right`) for automatic RTL/LTR handling. The arrow icons rotate automatically in RTL contexts using Tailwind's `rtl:rotate-180` class.
36
+ - **MarkdownEditor**: New WYSIWYG markdown editor component powered by MDXEditor. Outputs clean markdown (not HTML), making it ideal for blogs, documentation, and MDX content. Features include syntax highlighting for code blocks, tables, lists, links, blockquotes, and full RTL support.
37
+
38
+ ---
39
+
8
40
  ## [0.3.13] - 2025-11-22
9
41
 
10
42
  ### Fixed
package/README.md CHANGED
@@ -12,7 +12,7 @@ Beautiful RTL-first React components for bilingual applications. Built with Radi
12
12
  ## ✨ Features
13
13
 
14
14
  - 🌍 **RTL-First**: Perfect Arabic/Persian support with logical properties
15
- - 🎨 **64 Components**: Complete UI toolkit for modern applications
15
+ - 🎨 **65 Components**: Complete UI toolkit for modern applications
16
16
  - ♿ **Accessible**: WCAG AA compliant with full keyboard navigation
17
17
  - 🎯 **TypeScript**: Full type safety and IntelliSense support
18
18
  - 🎭 **Themeable**: Light/dark mode with customizable design tokens