@cityway/bo-ui 1.1.0-beta026 → 1.1.0-beta028
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 +78 -75
- package/cityway-bo-ui-1.1.0-beta028.tgz +0 -0
- package/docs/components/filter-bar.md +359 -322
- package/docs/components/table.md +328 -286
- package/fesm2022/cityway-bo-ui.mjs +44 -20
- package/fesm2022/cityway-bo-ui.mjs.map +1 -1
- package/index.d.ts +40 -2
- package/package.json +2 -2
- package/styles/bo-ui.styles.min.css +1 -1
- package/styles/bo-ui.styles.min.css.map +1 -1
- package/cityway-bo-ui-1.1.0-beta026.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
# BoUi
|
|
2
|
-
|
|
3
|
-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
-
|
|
5
|
-
`bo-ui` automatically installs and manages:
|
|
6
|
-
- @ng-bootstrap/ng-bootstrap: 19.0.1
|
|
7
|
-
- @ng-select/ng-select: 20.0.1
|
|
8
|
-
- bootstrap: 5.3.0
|
|
9
|
-
- @angular-slider/ngx-slider": 20.0.0
|
|
10
|
-
- ngx-toastr: 19.1.0
|
|
11
|
-
|
|
12
|
-
**If your application already uses these libraries:** :
|
|
13
|
-
- Remove them from your package.json
|
|
14
|
-
- Use the versions provided by bo-ui
|
|
15
|
-
- Import them from bo-ui when needed
|
|
16
|
-
|
|
17
|
-
## Code scaffolding
|
|
18
|
-
|
|
19
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
ng generate component component-name
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
ng generate --help
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Building
|
|
32
|
-
|
|
33
|
-
To build the library, run:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
ng build bo-ui
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
40
|
-
|
|
41
|
-
### Publishing the Library
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
# BoUi
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
`bo-ui` automatically installs and manages:
|
|
6
|
+
- @ng-bootstrap/ng-bootstrap: 19.0.1
|
|
7
|
+
- @ng-select/ng-select: 20.0.1
|
|
8
|
+
- bootstrap: 5.3.0
|
|
9
|
+
- @angular-slider/ngx-slider": 20.0.0
|
|
10
|
+
- ngx-toastr: 19.1.0
|
|
11
|
+
|
|
12
|
+
**If your application already uses these libraries:** :
|
|
13
|
+
- Remove them from your package.json
|
|
14
|
+
- Use the versions provided by bo-ui
|
|
15
|
+
- Import them from bo-ui when needed
|
|
16
|
+
|
|
17
|
+
## Code scaffolding
|
|
18
|
+
|
|
19
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ng generate component component-name
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
ng generate --help
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Building
|
|
32
|
+
|
|
33
|
+
To build the library, run:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
ng build bo-ui
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
40
|
+
|
|
41
|
+
### Publishing the Library
|
|
42
|
+
|
|
43
|
+
Publier le `.tgz` produit par `node scripts/build-bo-ui.mjs`, **pas** le dossier `dist/bo-ui` (il embarque le `.tgz`) :
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm publish dist/bo-ui/cityway-bo-ui-<version>.tgz --tag beta
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Les paquets du train (`design-tokens`, `basic-ui`, `bo-ui`, `mobility-ui`) sortent ensemble, au même numéro. **Après la publication de tout le train**, aligner `latest` sur la nouvelle version, paquet par paquet :
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
for p in design-tokens basic-ui bo-ui mobility-ui; do npm dist-tag add @cityway/$p@<version> latest; done
|
|
53
|
+
npm dist-tag ls @cityway/basic-ui # vérifier : beta et latest sur <version>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Côté consommateurs, la référence reste `beta` ou la version exacte (cf. `basic-ui/docs/00-overview.md` § 2.1).
|
|
57
|
+
|
|
58
|
+
## Running unit tests
|
|
59
|
+
|
|
60
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
ng test
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Running end-to-end tests
|
|
67
|
+
|
|
68
|
+
For end-to-end (e2e) testing, run:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
ng e2e
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
75
|
+
|
|
76
|
+
## Additional Resources
|
|
77
|
+
|
|
78
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
Binary file
|