@a4ui/core 0.1.1 → 0.3.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/README.md +23 -0
- package/dist/index.js +451 -432
- package/dist/layout/AppShell.d.ts +19 -1
- package/dist/layout/EffectsToggle.d.ts +19 -1
- package/dist/layout/NavGroup.d.ts +15 -0
- package/dist/layout/SpaceBackground.d.ts +13 -0
- package/dist/layout/ThemeToggle.d.ts +17 -1
- package/dist/lib/cn.d.ts +11 -1
- package/dist/lib/effects.d.ts +21 -0
- package/dist/lib/media.d.ts +12 -0
- package/dist/lib/motion.d.ts +37 -0
- package/dist/lib/theme.d.ts +52 -3
- package/dist/lib/virtual.d.ts +16 -0
- package/dist/styles.css +4 -4
- package/dist/ui/Accordion.d.ts +19 -0
- package/dist/ui/Alert.d.ts +14 -0
- package/dist/ui/AlertDialog.d.ts +15 -0
- package/dist/ui/Avatar.d.ts +11 -0
- package/dist/ui/Badge.d.ts +12 -0
- package/dist/ui/Breadcrumb.d.ts +17 -0
- package/dist/ui/Button.d.ts +11 -0
- package/dist/ui/Card.d.ts +18 -0
- package/dist/ui/Checkbox.d.ts +11 -0
- package/dist/ui/Combobox.d.ts +16 -0
- package/dist/ui/ContextMenu.d.ts +14 -0
- package/dist/ui/DateField.d.ts +18 -0
- package/dist/ui/Drawer.d.ts +17 -0
- package/dist/ui/Dropdown.d.ts +18 -1
- package/dist/ui/Dropzone.d.ts +11 -0
- package/dist/ui/HoverCard.d.ts +13 -0
- package/dist/ui/Input.d.ts +12 -0
- package/dist/ui/Meter.d.ts +12 -0
- package/dist/ui/Modal.d.ts +22 -0
- package/dist/ui/NumberInput.d.ts +12 -0
- package/dist/ui/PageHeader.d.ts +17 -0
- package/dist/ui/Pagination.d.ts +19 -0
- package/dist/ui/Popover.d.ts +13 -0
- package/dist/ui/Progress.d.ts +11 -0
- package/dist/ui/RadioGroup.d.ts +20 -0
- package/dist/ui/SegmentedControl.d.ts +19 -0
- package/dist/ui/Select.d.ts +14 -0
- package/dist/ui/Separator.d.ts +11 -0
- package/dist/ui/Skeleton.d.ts +11 -0
- package/dist/ui/Slider.d.ts +14 -0
- package/dist/ui/Spinner.d.ts +10 -0
- package/dist/ui/Stat.d.ts +12 -0
- package/dist/ui/Switch.d.ts +11 -0
- package/dist/ui/Table.d.ts +61 -0
- package/dist/ui/Tabs.d.ts +20 -0
- package/dist/ui/Textarea.d.ts +12 -0
- package/dist/ui/Toast.d.ts +12 -0
- package/dist/ui/Toggle.d.ts +12 -0
- package/dist/ui/ToggleGroup.d.ts +20 -0
- package/dist/ui/Tooltip.d.ts +13 -0
- package/dist/ui/VirtualList.d.ts +14 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@a4ui/core)
|
|
4
4
|
[](./LICENSE)
|
|
5
|
+
[](https://a4uikit.github.io/a4ui/)
|
|
6
|
+
[](https://a4uikit.github.io/a4ui/)
|
|
7
|
+
[](https://a4uikit.github.io/a4ui/)
|
|
8
|
+
[](https://a4uikit.github.io/a4ui/)
|
|
5
9
|
|
|
6
10
|
**Spatial Glass** — a design system & component library for **SolidJS**
|
|
7
11
|
(glassmorphism + starfield backdrop + light/dark themes). Named after the 4
|
|
@@ -51,6 +55,25 @@ layout — plus a virtualized list, motion helpers, and a generic `AppShell` wit
|
|
|
51
55
|
the animated `SpaceBackground`. Browse them all (with live prop controls and
|
|
52
56
|
copyable code) in the **[docs site](https://a4uikit.github.io/a4ui/)**.
|
|
53
57
|
|
|
58
|
+
## Using with AI agents
|
|
59
|
+
|
|
60
|
+
Everything an AI coding agent (Claude Code, Codex, Cursor, …) needs to use A4ui
|
|
61
|
+
ships **in the package**, so it works from `node_modules` without visiting the docs:
|
|
62
|
+
|
|
63
|
+
- **Typed API + examples** — every export has JSDoc with an `@example` in the
|
|
64
|
+
shipped `.d.ts` (`node_modules/@a4ui/core/dist/index.d.ts`), so editor
|
|
65
|
+
autocomplete and agents get the props and usage inline.
|
|
66
|
+
- **`llms.txt`** — a machine-readable summary of every component:
|
|
67
|
+
https://a4uikit.github.io/a4ui/llms.txt
|
|
68
|
+
|
|
69
|
+
Drop this into your project's `AGENTS.md` / `CLAUDE.md` to prime your agent:
|
|
70
|
+
|
|
71
|
+
> This project uses **@a4ui/core** (SolidJS design system). Import components as
|
|
72
|
+
> named exports from `@a4ui/core`; import `@a4ui/core/styles.css` once in the app
|
|
73
|
+
> entry; add `@a4ui/core/preset` to `tailwind.config`. Props are typed with
|
|
74
|
+
> JSDoc/`@example` in the package's `.d.ts`. Full component list:
|
|
75
|
+
> https://a4uikit.github.io/a4ui/llms.txt
|
|
76
|
+
|
|
54
77
|
## Develop
|
|
55
78
|
|
|
56
79
|
```bash
|