@nova-ui/bits 20.0.8 → 20.0.9
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 +10 -10
- package/bundles/css/styles.css +1 -1
- package/fesm2022/nova-ui-bits.mjs +601 -212
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/index.d.ts +201 -31
- package/package.json +1 -1
- package/sdk/atoms-playwright/components/overlay/overlay.atom.js +10 -1
- package/sdk/atoms-playwright/components/overlay/overlay.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.d.ts +17 -0
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js +69 -14
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/switch/switch.atom.js +1 -1
- package/sdk/atoms-playwright/components/switch/switch.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js +1 -1
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/less/mixins/focus.less +0 -2
package/README.md
CHANGED
|
@@ -8,8 +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
|
|
12
|
-
- Angular CDK
|
|
11
|
+
- Angular CLI v21
|
|
12
|
+
- Angular CDK v21 as a devDependency
|
|
13
13
|
|
|
14
14
|
### Installing NodeJS and `npm`
|
|
15
15
|
|
|
@@ -29,7 +29,7 @@ ng --version
|
|
|
29
29
|
If you want to install the latest Angular CLI globally, run the following command:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
npm install -g @angular/cli@
|
|
32
|
+
npm install -g @angular/cli@21
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Installing Angular CDK
|
|
@@ -133,7 +133,7 @@ providers: [
|
|
|
133
133
|
]
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
The `TRANSLATIONS` provider can be used to internationalize bits.
|
|
136
|
+
The `TRANSLATIONS` provider can be used to internationalize bits.
|
|
137
137
|
|
|
138
138
|
#### Set root CSS class
|
|
139
139
|
|
|
@@ -196,11 +196,11 @@ We recommend the [BEM](http://getbem.com/) naming convention for your css/less v
|
|
|
196
196
|
## Schematics
|
|
197
197
|
|
|
198
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.
|
|
199
|
-
Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/#/bits/
|
|
199
|
+
Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/#/bits/main/additional-documentation/schematics.html):
|
|
200
200
|
|
|
201
201
|
### Filtered View
|
|
202
202
|
|
|
203
|
-
[The Filtered View](https://nova-ui.solarwinds.io/#/bits/
|
|
203
|
+
[The Filtered View](https://nova-ui.solarwinds.io/#/bits/main/additional-documentation/schematics/filtered-view.html)
|
|
204
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)
|
|
205
205
|
To add a filtered view to your project, run the following command:
|
|
206
206
|
|
|
@@ -210,8 +210,8 @@ ng generate @nova-ui/bits:filtered-view --name=custom-name-for-filtered-view
|
|
|
210
210
|
|
|
211
211
|
### Filtered Group
|
|
212
212
|
|
|
213
|
-
[The Filtered Group](https://nova-ui.solarwinds.io/#/bits/
|
|
214
|
-
schematic provides the ability to create a filtered group view. It depends heavily on the [LocalFilteringDataSource](https://nova-ui.solarwinds.io/#/bits/
|
|
213
|
+
[The Filtered Group](https://nova-ui.solarwinds.io/#/bits/main/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/main/injectables/LocalFilteringDataSource.html) service, so first and foremost please check out the documentation for it.
|
|
215
215
|
This code can be generated using the following command:
|
|
216
216
|
|
|
217
217
|
```sh
|
|
@@ -220,8 +220,8 @@ ng generate @nova-ui/bits:filter-group --name=basic-filter-group --p=app
|
|
|
220
220
|
|
|
221
221
|
### List
|
|
222
222
|
|
|
223
|
-
[The List](https://nova-ui.solarwinds.io/#/bits/
|
|
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/
|
|
223
|
+
[The List](https://nova-ui.solarwinds.io/#/bits/main/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/main/components/RepeatComponent.html) component with other components commonly used with a list such as [nui-select-v2](https://nova-ui.solarwinds.io/#/bits/main/components/SelectV2Component.html), [nui-search](https://nova-ui.solarwinds.io/#/bits/main/components/SearchComponent.html), [nui-paginator](https://nova-ui.solarwinds.io/#/bits/main/components/PaginatorComponent.html) and [nui-sorter](https://nova-ui.solarwinds.io/#/bits/main/components/SorterComponent.html).
|
|
225
225
|
This code can be generated using the following command:
|
|
226
226
|
|
|
227
227
|
```sh
|