@min98/ui 1.3.55 → 1.3.57
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/README.md +30 -19
- package/lib/index.cjs +7 -4
- package/lib/index.d.cts +185 -10
- package/lib/index.d.ts +185 -10
- package/lib/index.js +7 -4
- package/lib/styles.css +39 -0
- package/lib/tokens.css +61 -0
- package/package.json +18 -16
package/README.md
CHANGED
|
@@ -1,30 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
# `@min98/ui`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
React UI component library built on **Radix UI** primitives, **shadcn/ui**, and **Tailwind CSS v4** CSS-first tokens — featuring **90 components**, **15 semantic color variants**, **12 dialog/sheet sizes**, **React Hook Form + Zod** form controls, **TanStack DataTable**, **DateTime/RangeTime pickers**, **CodeBlock**, **Trace**, **MessageScroller**, and **Questionnaire**.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Documentation & AI Agent Endpoints
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- [Documents](#documents)
|
|
9
|
-
- [Example use custom components](#example-use-custom-components)
|
|
10
|
-
- [config tailwind](#config-tailwind)
|
|
7
|
+
All interactive documentation, live component playgrounds, Props API tables, and AI agent integrations are hosted at **[https://ui.min-services.com](https://ui.min-services.com)**:
|
|
11
8
|
|
|
12
|
-
|
|
9
|
+
- **Interactive Documentation Home**: [https://ui.min-services.com](https://ui.min-services.com)
|
|
10
|
+
- **90 Component Pages**: [https://ui.min-services.com/docs](https://ui.min-services.com/docs)
|
|
11
|
+
- **Foundational Guides (Tailwind CSS v4, Colors/Sizes, Forms, DataTable)**: [https://ui.min-services.com/guides](https://ui.min-services.com/guides)
|
|
12
|
+
- **Component Search**: [https://ui.min-services.com/search](https://ui.min-services.com/search)
|
|
13
|
+
- **MCP Server Setup & Playground (`/api/mcp`)**: [https://ui.min-services.com/mcp](https://ui.min-services.com/mcp)
|
|
14
|
+
- **Agent Skill (`SKILL.md` & Catalog Reference)**: [https://ui.min-services.com/skills](https://ui.min-services.com/skills)
|
|
15
|
+
- **LLM Context Indexes**:
|
|
16
|
+
- Concise Index: [https://ui.min-services.com/llms.txt](https://ui.min-services.com/llms.txt)
|
|
17
|
+
- Complete API Reference: [https://ui.min-services.com/llms-full.txt](https://ui.min-services.com/llms-full.txt)
|
|
13
18
|
|
|
14
|
-
##
|
|
19
|
+
## Installation
|
|
15
20
|
|
|
16
|
-
|
|
21
|
+
```bash
|
|
22
|
+
npm install @min98/ui @iconify/react
|
|
23
|
+
# or
|
|
24
|
+
pnpm add @min98/ui @iconify/react
|
|
25
|
+
```
|
|
17
26
|
|
|
18
|
-
##
|
|
27
|
+
## Tailwind CSS v4 Setup
|
|
19
28
|
|
|
20
|
-
|
|
29
|
+
Import the compiled Tailwind CSS v4 preset directly in your main stylesheet (e.g. `src/app/globals.css`) — includes `@source`, `@custom-variant dark`, `tw-animate-css`, `@theme inline`, and Light/Dark CSS variables (`:where(:root)`):
|
|
21
30
|
|
|
22
|
-
|
|
31
|
+
```css
|
|
32
|
+
@import "tailwindcss";
|
|
33
|
+
@import "@min98/ui/styles.css";
|
|
34
|
+
```
|
|
23
35
|
|
|
24
|
-
|
|
36
|
+
If your project defines its own custom `@theme` rules and only needs the default Light/Dark CSS variables:
|
|
25
37
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
[Config Tailwindcss ts](https://github.com/Min9802/ui/blob/main/tailwind.config.ts)
|
|
38
|
+
```css
|
|
39
|
+
@import "tailwindcss";
|
|
40
|
+
@import "@min98/ui/tokens.css";
|
|
41
|
+
```
|