@bspk/ui-ngx 0.0.2 → 0.0.4
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 +12 -45
- package/fesm2022/bspk-ui-ngx.mjs +1 -1
- package/fesm2022/bspk-ui-ngx.mjs.map +1 -1
- package/package.json +27 -27
- package/styles/base.scss +1 -1
- package/styles/colors.scss +1 -1
package/README.md
CHANGED
|
@@ -1,64 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Bespoke UI-NGX
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Bespoke UI NGX package contains all the angular components that are available for Anywhere Real Estate development teams.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
https://bspk.anywhere.re
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
10
|
+
npm install @bspk/ui-ngx
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
-
|
|
15
13
|
```bash
|
|
16
|
-
|
|
14
|
+
npm install --peer @bspk/styles @floating-ui/dom
|
|
17
15
|
```
|
|
18
16
|
|
|
19
|
-
##
|
|
17
|
+
## Testing
|
|
20
18
|
|
|
21
|
-
To
|
|
19
|
+
To test all components
|
|
22
20
|
|
|
23
21
|
```bash
|
|
24
|
-
|
|
22
|
+
npm run test
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
32
|
-
|
|
33
|
-
1. Navigate to the `dist` directory:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
cd dist/ui
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
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:
|
|
25
|
+
To test a specific component
|
|
47
26
|
|
|
48
27
|
```bash
|
|
49
|
-
|
|
28
|
+
npm run test <componentname>
|
|
50
29
|
```
|
|
51
30
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
For end-to-end (e2e) testing, run:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
ng e2e
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
61
|
-
|
|
62
|
-
## Additional Resources
|
|
63
|
-
|
|
64
|
-
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.
|
|
31
|
+
<!--- Copyright 2026 Anywhere Real Estate - CC BY 4.0 -->
|
package/fesm2022/bspk-ui-ngx.mjs
CHANGED
|
@@ -65534,7 +65534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
65534
65534
|
type: Output
|
|
65535
65535
|
}], numPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "numPages", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
65536
65536
|
|
|
65537
|
-
/** Copyright
|
|
65537
|
+
/** Copyright 2026 Anywhere Real Estate - CC BY 4.0 */
|
|
65538
65538
|
|
|
65539
65539
|
/**
|
|
65540
65540
|
* A round control that allows user to choose one option from a set. This is the base element and if used directly you
|