@zenit-hosting/zenit-ui 0.2.1 → 0.2.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/LICENSE +21 -0
- package/README.md +9 -0
- package/llms-full.txt +2 -2
- package/llms.txt +2 -2
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zenit-Hosting
|
|
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
CHANGED
|
@@ -405,3 +405,12 @@ npm run start:beispiel # example app: one complete page against dist/zenit-ui
|
|
|
405
405
|
The demo app `ui-demo` shows every building block in the states idle, hover, focus, active, disabled, loading, error, empty and success. It is the reference for markup and classes.
|
|
406
406
|
|
|
407
407
|
The example app `beispiel-app` shows one complete page of the customer area, built the way an application builds it: it imports from the package in `dist/zenit-ui` and follows the setup steps above one by one. Its page "Einbindung" and the disclosures on the Gameserver page show the real files of that setup, generated from the sources themselves. Copy it as the starting point for a real page; `projects/beispiel-app/README.md` maps every region of the page to the rule it follows.
|
|
408
|
+
|
|
409
|
+
## License
|
|
410
|
+
|
|
411
|
+
MIT, see [`LICENSE`](LICENSE). You may use, change and ship the library in open and closed, free and commercial projects. The one condition: keep the copyright notice and the license text with every copy of the code you pass on. The library comes without any warranty.
|
|
412
|
+
|
|
413
|
+
What the license does not cover:
|
|
414
|
+
|
|
415
|
+
- **The name and the logo.** "Zenit-Hosting" and the Zenit logo stay with Zenit-Hosting. You may say that your product uses `zenit-ui`. You may not present your product, or a fork of the library, as made by or endorsed by Zenit-Hosting. The logo is not part of the package.
|
|
416
|
+
- **Fonts and icons.** The package contains none. The fonts your application self-hosts come with their own licenses: Inter, Space Grotesk and JetBrains Mono under the SIL Open Font License 1.1, Material Icons under the Apache License 2.0.
|
package/llms-full.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# zenit-ui — complete reference
|
|
2
2
|
|
|
3
|
-
> Version 0.2.
|
|
3
|
+
> Version 0.2.2. Everything needed to use this library correctly, with no other file and
|
|
4
4
|
> no access to its sources. Generated from the sources; do not edit by hand.
|
|
5
5
|
|
|
6
6
|
## Contents
|
|
@@ -79,7 +79,7 @@ is no `NgModule` and no `forRoot`.
|
|
|
79
79
|
1. **Install.** The package is `@zenit-hosting/zenit-ui` on npmjs.org. Install it under the
|
|
80
80
|
alias `zenit-ui`, so imports and stylesheet paths stay `zenit-ui`:
|
|
81
81
|
```bash
|
|
82
|
-
npm install zenit-ui@npm:@zenit-hosting/zenit-ui@^0.2.
|
|
82
|
+
npm install zenit-ui@npm:@zenit-hosting/zenit-ui@^0.2.2
|
|
83
83
|
```
|
|
84
84
|
Never `npm i zenit-ui` or `ng add zenit-ui`: the unscoped name belongs to somebody else.
|
|
85
85
|
`ng generate zenit-ui:ng-add --themes` then performs steps 2 to 6 automatically (not
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# zenit-ui
|
|
2
2
|
|
|
3
|
-
> Component library 0.2.
|
|
3
|
+
> Component library 0.2.2 for Angular 22 of the Zenit design system:
|
|
4
4
|
> 84 standalone components and directives, dark by default, token-driven,
|
|
5
5
|
> `@angular/cdk` for overlays and no Angular Material anywhere. This file is the index;
|
|
6
6
|
> `llms-full.txt` next to it is the complete reference and needs no other file.
|
|
@@ -42,7 +42,7 @@ Business logic, routes and copy stay in your application.
|
|
|
42
42
|
|
|
43
43
|
## Setup in 6 steps
|
|
44
44
|
|
|
45
|
-
1. `npm install zenit-ui@npm:@zenit-hosting/zenit-ui@^0.2.
|
|
45
|
+
1. `npm install zenit-ui@npm:@zenit-hosting/zenit-ui@^0.2.2` (the alias keeps the import
|
|
46
46
|
path `zenit-ui`; never install the unscoped `zenit-ui`). `ng generate zenit-ui:ng-add --themes`
|
|
47
47
|
does steps 2 to 6 for you.
|
|
48
48
|
2. Register the stylesheets in `angular.json`, in this order:
|