@teactjs/ui 0.1.0-alpha.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/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @teactjs/ui
2
+
3
+ Convenience re-exports of all components and hooks from `@teactjs/react`.
4
+
5
+ This package exists so you can import UI primitives from a dedicated namespace if you prefer to keep runtime and UI imports separate.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ bun add @teactjs/ui
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```tsx
16
+ import {
17
+ Message,
18
+ Button,
19
+ InlineKeyboard,
20
+ Photo,
21
+ ErrorBoundary,
22
+ useQuery,
23
+ useMutation,
24
+ } from "@teactjs/ui";
25
+ ```
26
+
27
+ Every component, prop type, and data hook exported by `@teactjs/react` is available here with the same names and signatures.
28
+
29
+ ## When to Use This vs @teactjs/react
30
+
31
+ They are identical. Use whichever you prefer:
32
+
33
+ - `@teactjs/ui` -- if you want a short, UI-focused import path
34
+ - `@teactjs/react` -- if you want to be explicit about the source package
35
+ - `@teactjs/core` -- if you want everything (runtime + components) from one import
36
+
37
+ ## See Also
38
+
39
+ - [`@teactjs/react`](../react) for the full component catalog
40
+ - [`@teactjs/core`](../core) for the barrel import