@sonny-ui/core 0.1.0-alpha.1 → 0.1.0-alpha.2
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 +19 -43
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,64 +1,40 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sonny-ui/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Angular UI component library inspired by [shadcn/ui](https://ui.shadcn.com/) — built with **signals**, **zoneless** change detection, and **Tailwind CSS v4**.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
5
|
+
## Installation
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
ng
|
|
8
|
+
ng add @sonny-ui/core
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
Or manually:
|
|
14
12
|
|
|
15
13
|
```bash
|
|
16
|
-
|
|
14
|
+
npm install @sonny-ui/core
|
|
17
15
|
```
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
To build the library, run:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
ng build core
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
17
|
+
### Requirements
|
|
30
18
|
|
|
31
|
-
|
|
19
|
+
- Angular ^21.0.0
|
|
20
|
+
- Angular CDK ^21.0.0
|
|
21
|
+
- Tailwind CSS v4
|
|
32
22
|
|
|
33
|
-
|
|
23
|
+
## Components
|
|
34
24
|
|
|
35
|
-
|
|
36
|
-
cd dist/core
|
|
37
|
-
```
|
|
25
|
+
Accordion, Avatar, Badge, Breadcrumb, Button, Button Group, Card, Checkbox, Combobox, Input, Loader, Modal, Radio, Select, Sheet, Skeleton, Slider, Switch, Table, Tabs, Toast, Toggle.
|
|
38
26
|
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
npm publish
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Running unit tests
|
|
45
|
-
|
|
46
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
27
|
+
## Generate a component
|
|
47
28
|
|
|
48
29
|
```bash
|
|
49
|
-
ng
|
|
30
|
+
ng generate @sonny-ui/core:component button
|
|
50
31
|
```
|
|
51
32
|
|
|
52
|
-
##
|
|
53
|
-
|
|
54
|
-
For end-to-end (e2e) testing, run:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
ng e2e
|
|
58
|
-
```
|
|
33
|
+
## Links
|
|
59
34
|
|
|
60
|
-
|
|
35
|
+
- [GitHub](https://github.com/coci-dev/sonny-ui)
|
|
36
|
+
- [Issues](https://github.com/coci-dev/sonny-ui/issues)
|
|
61
37
|
|
|
62
|
-
##
|
|
38
|
+
## License
|
|
63
39
|
|
|
64
|
-
|
|
40
|
+
MIT
|
package/package.json
CHANGED