dawn-ui-react 1.0.0-beta.1 → 1.0.0-beta.3
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 +21 -0
- package/README.md +83 -0
- package/dist/dawn-ui-react.js +17153 -15338
- package/dist/dawn-ui-react.umd.cjs +59 -59
- package/package.json +19 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PHNTMbandit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Dawn UI React
|
|
2
|
+
|
|
3
|
+
A React component library for building polished product interfaces with composable primitives, Tailwind CSS styling, and accessible interaction patterns.
|
|
4
|
+
|
|
5
|
+
Dawn UI React is currently in beta. APIs are close to the planned `1.0.0` release, but breaking changes may still happen before the stable release.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Accessible React components built on modern primitives.
|
|
10
|
+
- Tailwind CSS 4 styling with reusable design tokens.
|
|
11
|
+
- TypeScript-first exports for components, hooks, and utilities.
|
|
12
|
+
- Storybook coverage for component development and review.
|
|
13
|
+
- Semantic-release powered alpha, beta, release-candidate, and stable channels.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pnpm add dawn-ui-react
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Install the required peer dependencies if your app does not already include them:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
pnpm add react react-dom
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Import the library styles once in your app entry file:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import 'dawn-ui-react/styles.css'
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
```tsx
|
|
36
|
+
import { Button } from 'dawn-ui-react'
|
|
37
|
+
|
|
38
|
+
export function Example() {
|
|
39
|
+
return <Button>Continue</Button>
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Available Components
|
|
44
|
+
|
|
45
|
+
Dawn UI React includes primitives for accordions, alerts, dialogs, autocomplete, avatars, badges, breadcrumbs, buttons, charts, checkboxes, code blocks, comboboxes, context menus, drawers, dropzones, fields, forms, inputs, menus, navigation, popovers, profiles, progress, radio groups, scroll areas, selects, sidebars, sliders, switches, tables, tabs, text areas, toasts, toggles, tooltips, and more.
|
|
46
|
+
|
|
47
|
+
## Development
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pnpm install
|
|
51
|
+
pnpm run storybook
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Useful commands:
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
pnpm run lint
|
|
58
|
+
pnpm run fmt:check
|
|
59
|
+
pnpm run test
|
|
60
|
+
pnpm run build
|
|
61
|
+
pnpm run build-storybook
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Release Channels
|
|
65
|
+
|
|
66
|
+
This repository uses semantic-release with prerelease branches:
|
|
67
|
+
|
|
68
|
+
- `alpha` publishes `1.0.0-alpha.x`
|
|
69
|
+
- `beta` publishes `1.0.0-beta.x`
|
|
70
|
+
- `rc` publishes `1.0.0-rc.x`
|
|
71
|
+
- `main` publishes stable releases
|
|
72
|
+
|
|
73
|
+
## Contributing
|
|
74
|
+
|
|
75
|
+
Contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.
|
|
76
|
+
|
|
77
|
+
## Security
|
|
78
|
+
|
|
79
|
+
Please report vulnerabilities privately using the guidance in [SECURITY.md](SECURITY.md).
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
MIT. See [LICENSE](LICENSE).
|