eglador-ui-react 0.1.0-alpha.9 → 1.0.0-alpha.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Kenan Gundogan
3
+ Copyright (c) 2026 Kenan Gündoğan & Eglador
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -4,12 +4,15 @@
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/eglador-ui-react?style=flat-square&color=blue)](https://www.npmjs.com/package/eglador-ui-react)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/eglador-ui-react?style=flat-square&color=green)](https://www.npmjs.com/package/eglador-ui-react)
7
- [![license](https://img.shields.io/npm/l/eglador-ui-react?style=flat-square)](https://github.com/kenangundogan/eglador-ui-react/blob/main/LICENSE)
7
+ [![license](https://img.shields.io/npm/l/eglador-ui-react?style=flat-square)](https://github.com/eglador/eglador-ui-react/blob/main/LICENSE)
8
+ ![zero runtime deps](https://img.shields.io/badge/zero%20deps-runtime-22C55E?style=flat-square)
8
9
  ![tailwind v4](https://img.shields.io/badge/tailwindcss-v4-06B6D4?style=flat-square&logo=tailwindcss&logoColor=white)
9
10
  ![react >= 18](https://img.shields.io/badge/react-%3E%3D18-61DAFB?style=flat-square&logo=react&logoColor=white)
10
11
  ![typescript](https://img.shields.io/badge/typescript-ready-3178C6?style=flat-square&logo=typescript&logoColor=white)
11
12
 
12
- A lightweight, reusable UI component library built with **Tailwind CSS v4** for React-based projects.
13
+ Eglador UI for React — headless, accessible component library. Compound subcomponents, **Tailwind CSS v4**, zero runtime dependencies.
14
+
15
+ > **Status:** Pre-alpha — 10/55 bileşen hazır (Tier 1). Tier 2 (form bileşenleri) sürüyor.
13
16
 
14
17
  ## Installation
15
18
 
@@ -17,60 +20,72 @@ A lightweight, reusable UI component library built with **Tailwind CSS v4** for
17
20
  npm install eglador-ui-react
18
21
  ```
19
22
 
20
- **Peer dependencies:** `react >= 18` | `react-dom >= 18` | `tailwindcss ^4`
21
-
22
- **Optional (for Carousel):** `embla-carousel ^8` | `embla-carousel-react ^8` | plugin packages as needed (`embla-carousel-autoplay`, `embla-carousel-fade`, etc.)
23
+ **Peer dependencies:** `react >= 18` · `react-dom >= 18` · `tailwindcss ^4`
23
24
 
24
25
  ## Setup
25
26
 
26
- Add the following to your global stylesheet (e.g. `app/globals.css`) so Tailwind can detect the component classes:
27
-
28
27
  ```css
28
+ /* app/globals.css */
29
29
  @import "tailwindcss";
30
- @source "../node_modules/eglador-ui-react/dist/**/*.{js,mjs}";
30
+ @source "../node_modules/eglador-ui-react";
31
31
  ```
32
32
 
33
- ## Usage
33
+ | Framework | CSS file location | Path |
34
+ |---|---|---|
35
+ | Next.js (App Router) | `app/globals.css` | `../node_modules/eglador-ui-react` |
36
+ | Next.js (`src/`) | `src/app/globals.css` | `../../node_modules/eglador-ui-react` |
37
+ | Vite | `src/index.css` | `../node_modules/eglador-ui-react` |
34
38
 
35
- ```tsx
36
- import { Button, Input, Modal } from "eglador-ui-react";
37
- ```
39
+ ## Bileşenler (10/55)
40
+
41
+ **✓ = hazır · — = planlı**
42
+
43
+ **Layout & Structure (2/7)** — — Accordion · ✓ AspectRatio · — Collapsible · — Resizable · — ScrollArea · ✓ Separator · — Sidebar
44
+
45
+ **Display (7/7) — TAMAM** — ✓ Avatar · ✓ Badge · ✓ Empty · ✓ Kbd · ✓ Skeleton · ✓ Spinner · ✓ Typography
46
+
47
+ **Navigation (0/7)** — — Breadcrumb · — Menubar · — NavigationMenu · — Pagination · — Stepper · — Tabs · — TreeView
48
+
49
+ **Forms (1/15)** — — Button · — ButtonGroup · — Checkbox · — CheckboxGroup · — Input · — InputGroup · — InputOTP · ✓ Label · — MultiSelect · — NativeSelect · — Radio · — RadioGroup · — Select · — Switch · — Textarea
50
+
51
+ **Date & Time (0/3)** — — Calendar · — DatePicker · — DateTimePicker
38
52
 
39
- ## Components
53
+ **Overlays (0/10)** — — Alert · — AlertDialog · — ContextMenu · — Dialog · — Drawer · — Dropdown · — HoverCard · — Notification · — Popover · — Tooltip
40
54
 
41
- | Category | Components |
42
- |----------|-----------|
43
- | **Actions** | Button, ButtonGroup, Link |
44
- | **Forms** | Input, InputGroup, Select, MultiSelect, Checkbox, CheckboxGroup, Radio, RadioGroup, Switch |
45
- | **Data Display** | Table, Accordion, Tabs, Breadcrumb, Tooltip, Typewriter |
46
- | **Overlays** | Modal, Drawer, Dropdown |
47
- | **Media** | MediaImage, MediaVideo, Carousel |
55
+ **Data (0/1)** Table
56
+
57
+ **Misc (0/5)** Command · — ImageCropper · — Link · — SpeedDial · — Progress
58
+
59
+ ## Compatibility
60
+
61
+ Works with any React-based framework: **Next.js**, **Remix**, **Vite + React**, **Gatsby**.
62
+
63
+ Components are marked `"use client"`. Place them inside a client component or after a `"use client"` directive.
48
64
 
49
65
  ## Development
50
66
 
51
67
  ```bash
52
- npm install # install dependencies
53
- npm run storybook # start storybook on http://localhost:6006
54
- npm run build # production build to dist/
55
- npm run dev # watch mode with live rebuild
56
- npm run typecheck # run typescript type checking
68
+ npm install
69
+ npm run dev # tsup watch mode
70
+ npm run build # production build to dist/
71
+ npm run typecheck # tsc --noEmit
72
+ npm run storybook # Storybook dev (http://localhost:6006)
73
+ npm run build-storybook # static Storybook export
57
74
  ```
58
75
 
59
76
  ## Publishing
60
77
 
61
- Publishing is automated via GitHub Actions. When a GitHub Release is created, the package is automatically published to npm.
78
+ Publishing is automated via GitHub Actions. When a GitHub Release is created, the package is published to npm.
62
79
 
63
80
  1. Update `version` in `package.json`
64
81
  2. Commit and push
65
- 3. Create a GitHub Release with a matching tag (e.g. `v0.1.0-alpha.8`)
66
-
67
- ## Compatibility
68
-
69
- Works with any React-based framework: **Next.js**, **Remix**, **Vite + React**, **Gatsby**, and others.
82
+ 3. Create a GitHub Release with a matching tag (e.g. `v1.0.0`)
70
83
 
71
84
  ## Author
72
85
 
73
- **Kenan Gundogan** — [github.com/kenangundogan](https://github.com/kenangundogan)
86
+ Kenan Gündoğan — [https://github.com/kenangundogan](https://github.com/kenangundogan)
87
+
88
+ Maintained under [Eglador](https://github.com/eglador)
74
89
 
75
90
  ## License
76
91