orynn 0.5.0 → 0.6.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 +9 -3
- package/dist/index.cjs +703 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +255 -4
- package/dist/index.d.ts +255 -4
- package/dist/index.js +691 -20
- package/dist/index.js.map +1 -1
- package/dist/styles.css +838 -10
- package/package.json +4 -2
- package/scripts/postinstall.mjs +102 -0
package/README.md
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
`Field` primitive — plus a `<Fieldset>` / `<Form>` that renders a whole form from a config
|
|
13
13
|
object, with a pluggable validation resolver and a field registry.
|
|
14
14
|
- **A shadcn-aligned component set** — `Button` · `Label` · `Card` · `Badge` · `Alert` ·
|
|
15
|
-
`Separator` · `Switch` · `Tabs` · `Dialog` · `Popover` · `Tooltip` · `DropdownMenu` · `Table
|
|
15
|
+
`Separator` · `Switch` · `Tabs` · `Dialog` · `Popover` · `Tooltip` · `DropdownMenu` · `Table` ·
|
|
16
|
+
`Accordion` · `Slider` · `Progress` · `Toast` (`<Toaster />` + `toast()`) · `Pagination`.
|
|
16
17
|
Semantic OKLCH tokens, one `--orynn-radius` knob, light/dark via a `.dark` class, and a
|
|
17
18
|
`className` that always wins.
|
|
18
19
|
- **Theming** — `<OrynnProvider theme="…">` with presets, density, and a custom primary /
|
|
@@ -23,7 +24,7 @@ required peer. ESM + CJS + one shipped stylesheet.
|
|
|
23
24
|
|
|
24
25
|
## Status & licence
|
|
25
26
|
|
|
26
|
-
`0.
|
|
27
|
+
`0.6.0`, **MIT** ([`LICENSE`](LICENSE)) — published on npm as [`orynn`](https://www.npmjs.com/package/orynn).
|
|
27
28
|
The showcase site at <https://orynn-web.pages.dev> documents every component and has an
|
|
28
29
|
AI-redesign guide at `/redesign`.
|
|
29
30
|
|
|
@@ -37,6 +38,9 @@ npm i orynn # peer: react >= 18
|
|
|
37
38
|
import "orynn/styles.css";
|
|
38
39
|
```
|
|
39
40
|
|
|
41
|
+
Install prints a one-time hello (name, licence, version, the AI skill). It's
|
|
42
|
+
print-only and stays quiet in CI; `ORYNN_NO_BANNER=1` turns it off.
|
|
43
|
+
|
|
40
44
|
## Quick start
|
|
41
45
|
|
|
42
46
|
```tsx
|
|
@@ -79,7 +83,9 @@ Full docs live at **https://orynn-web.pages.dev**. In this repo:
|
|
|
79
83
|
- Components: [button](docs/button.md) · [card](docs/card.md) · [dialog](docs/dialog.md) ·
|
|
80
84
|
[dropdown-menu](docs/dropdown-menu.md) · [tabs](docs/tabs.md) · [tooltip](docs/tooltip.md) ·
|
|
81
85
|
[popover](docs/popover.md) · [switch](docs/switch.md) · [badge](docs/badge.md) ·
|
|
82
|
-
[alert](docs/alert.md) · [separator](docs/separator.md) · [table](docs/table.md) · [label](docs/label.md)
|
|
86
|
+
[alert](docs/alert.md) · [separator](docs/separator.md) · [table](docs/table.md) · [label](docs/label.md) ·
|
|
87
|
+
[accordion](docs/accordion.md) · [slider](docs/slider.md) · [progress](docs/progress.md) ·
|
|
88
|
+
[toast](docs/toast.md) · [pagination](docs/pagination.md)
|
|
83
89
|
- [`Fieldset`](docs/fieldset.md) · [JSON configuration](docs/json-config.md) · [Validation](docs/validation.md)
|
|
84
90
|
- [Layout](docs/layout.md) · [Extensibility](docs/extensibility.md) · [Accessibility](docs/accessibility.md)
|
|
85
91
|
- [Changelog](CHANGELOG.md) · [Architecture](ARCHITECTURE.md) · [Roadmap](FUTURE.md)
|