@nova-ui/bits 13.0.3 → 13.0.4-4025

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 CHANGED
@@ -8,9 +8,8 @@ Before you begin, make sure your development environment includes the following:
8
8
 
9
9
  - Node.js®
10
10
  - A package manager such as [npm](https://www.npmjs.com/get-npm)
11
- - Angular CLI v12
12
- - Angular CDK v12 as a devDependency
13
- <br>
11
+ - Angular CLI v13
12
+ - Angular CDK v13 as a devDependency
14
13
 
15
14
  ### Installing NodeJS and `npm`
16
15
 
@@ -23,13 +22,13 @@ The Angular CLI is a command-line interface tool that you can use to initialize,
23
22
 
24
23
  You may want to check first whether it's already installed by running the following command:
25
24
 
26
- ```bash
25
+ ```sh
27
26
  ng --version
28
27
  ```
29
28
 
30
29
  If you want to install the latest Angular CLI globally, run the following command:
31
30
 
32
- ```
31
+ ```sh
33
32
  npm install -g @angular/cli@^12
34
33
  ```
35
34
 
@@ -37,7 +36,7 @@ npm install -g @angular/cli@^12
37
36
 
38
37
  Nova uses Angular CDK as part of its schematics functionality. To install it, you can run the following command:
39
38
 
40
- ```
39
+ ```sh
41
40
  npm install @angular/cdk@^12 --save-dev
42
41
  ```
43
42
 
@@ -47,7 +46,7 @@ npm install @angular/cdk@^12 --save-dev
47
46
 
48
47
  In order to install bits in your project root using the CLI, run the following command:
49
48
 
50
- ```bash
49
+ ```sh
51
50
  ng add @nova-ui/bits
52
51
  ```
53
52
 
@@ -55,14 +54,14 @@ This will automatically perform most of the steps for you.
55
54
 
56
55
  If you do not want to override your dependency versions, you can use skipPackageJson flag.
57
56
 
58
- ```
57
+ ```sh
59
58
  ng add @nova-ui/bits --skipPackageJson
60
59
  ```
61
60
 
62
61
  But, there's one additional step that needs to be done manually. Since bits uses `@angular/localize` for localization, this dependency
63
62
  needs to be imported in your app's polyfills.ts file. The easiest way to do this is to run the following command:
64
63
 
65
- ```bash
64
+ ```sh
66
65
  ng add @angular/localize
67
66
  ```
68
67
 
@@ -70,7 +69,7 @@ ng add @angular/localize
70
69
 
71
70
  Installation is quite simple using npm. Nui includes all of its dependencies as part of the final build such as Angular, RxJs and more.
72
71
 
73
- ```bash
72
+ ```sh
74
73
  npm install @nova-ui/bits
75
74
  ```
76
75
 
@@ -197,35 +196,35 @@ We recommend the [BEM](http://getbem.com/) naming convention for your css/less v
197
196
  ## Schematics
198
197
 
199
198
  A [schematic](https://angular.io/guide/schematics) is a template-based code generator that supports complex logic. It is a set of instructions for transforming a software project by generating or modifying code. Schematics are part of the Angular ecosystem.
200
- Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics.html):
199
+ Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/additional-documentation/schematics.html):
201
200
 
202
- #### Filtered View
201
+ ### Filtered View
203
202
 
204
- [The Filtered View](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filtered-view.html)
203
+ [The Filtered View](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/additional-documentation/schematics/filtered-view.html)
205
204
  schematic provides the ability to create a generic filtered view that can cover many use cases for filtering a set of data. Its main responsibility is to integrate a filter group panel with a list or table view that displays the filtered data. More details can be found [here](https://solarwinds.sharepoint.com/portals/hub/_layouts/15/PointPublishing.aspx?app=video&p=p&chid=8511af43-214a-435d-a605-dbe722ca04a0&vid=a5dbbef3-3582-49bf-b537-f789f946d09f)
206
205
  To add a filtered view to your project, run the following command:
207
206
 
208
- ```bash
207
+ ```sh
209
208
  ng generate @nova-ui/bits:filtered-view --name=custom-name-for-filtered-view
210
209
  ```
211
210
 
212
- #### Filtered Group
211
+ ### Filtered Group
213
212
 
214
- [The Filtered Group](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filter-group.html)
215
- schematic provides the ability to create a filtered group view. It depends heavily on the [LocalFilteringDataSource](https://nova-ui.solarwinds.io/bits/release_v12.x/injectables/LocalFilteringDataSource.html) service, so first and foremost please check out the documentation for it.
213
+ [The Filtered Group](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/additional-documentation/schematics/filter-group.html)
214
+ schematic provides the ability to create a filtered group view. It depends heavily on the [LocalFilteringDataSource](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/injectables/LocalFilteringDataSource.html) service, so first and foremost please check out the documentation for it.
216
215
  This code can be generated using the following command:
217
216
 
218
- ```
217
+ ```sh
219
218
  ng generate @nova-ui/bits:filter-group --name=basic-filter-group --p=app
220
219
  ```
221
220
 
222
- #### List
221
+ ### List
223
222
 
224
- [The List](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/list.html) schematic provides the
225
- ability to create a generic list that can cover a majority of use cases for a list. Its main responsibility is to integrate the functionality of the [nui-repeat](https://nova-ui.solarwinds.io/bits/release_v12.x/components/RepeatComponent.html) component with other components commonly used with a list such as [nui-select-v2](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SelectV2Component.html), [nui-search](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SearchComponent.html), [nui-paginator](https://nova-ui.solarwinds.io/bits/release_v12.x/components/PaginatorComponent.html) and [nui-sorter](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SorterComponent.html).
223
+ [The List](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/additional-documentation/schematics/list.html) schematic provides the
224
+ ability to create a generic list that can cover a majority of use cases for a list. Its main responsibility is to integrate the functionality of the [nui-repeat](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/components/RepeatComponent.html) component with other components commonly used with a list such as [nui-select-v2](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/components/SelectV2Component.html), [nui-search](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/components/SearchComponent.html), [nui-paginator](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/components/PaginatorComponent.html) and [nui-sorter](https://nova-ui.solarwinds.io/#/bits/release_v13.0.x/components/SorterComponent.html).
226
225
  This code can be generated using the following command:
227
226
 
228
- ```
227
+ ```sh
229
228
  ng g @nova-ui/bits:list --name=basic-list --p=app
230
229
  ```
231
230
 
@@ -234,11 +233,6 @@ ng g @nova-ui/bits:list --name=basic-list --p=app
234
233
  Information about Atoms can be found [here](../../README.md#Atoms)
235
234
  Bits atoms can be imported from here: `@nova-ui/bits/sdk/atoms`.
236
235
 
237
- ## AoT Support
238
-
239
- Nova Nui supports AoT. For a primer on AoT, you can go [here](https://angular-2-training-book.rangle.io/handout/aot/) or for
240
- a more detailed overview you can go [here](https://angular.io/guide/aot-compiler).
241
-
242
236
  ## Additional Information
243
237
 
244
238
  ### Supported browsers
package/package.json CHANGED
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "schematics": "./sdk/schematics/collection.json",
69
69
  "typings": "nova-ui-bits.d.ts",
70
- "version": "13.0.3",
70
+ "version": "13.0.4-4025",
71
71
  "module": "fesm2015/nova-ui-bits.mjs",
72
72
  "es2020": "fesm2020/nova-ui-bits.mjs",
73
73
  "esm2020": "esm2020/nova-ui-bits.mjs",
@@ -2,13 +2,13 @@
2
2
 
3
3
  This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.
4
4
 
5
- ### Testing
5
+ ## Testing
6
6
 
7
7
  To test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI, but also has a debug mode.
8
8
 
9
9
  Check the documentation with
10
10
 
11
- ```bash
11
+ ```sh
12
12
  schematics --help
13
13
  ```
14
14
 
@@ -16,11 +16,11 @@ schematics --help
16
16
 
17
17
  `npm run test` will run the unit tests, using Jasmine as a runner and test framework.
18
18
 
19
- ### Publishing
19
+ ## Publishing
20
20
 
21
21
  To publish, simply do:
22
22
 
23
- ```bash
23
+ ```sh
24
24
  npm run build
25
25
  npm publish
26
26
  ```