Skip to content

Commit

Permalink
Merge branch 'main' into users/makinc/intermittent-test-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite authored Mar 18, 2024
2 parents 09ea7c1 + 04b9d11 commit 1136f2a
Show file tree
Hide file tree
Showing 73 changed files with 1,829 additions and 404 deletions.
57 changes: 57 additions & 0 deletions angular-workspace/projects/ni/nimble-angular/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,63 @@
{
"name": "@ni/nimble-angular",
"entries": [
{
"date": "Mon, 18 Mar 2024 17:12:34 GMT",
"version": "20.5.0",
"tag": "@ni/nimble-angular_v20.5.0",
"comments": {
"minor": [
{
"author": "[email protected]",
"package": "@ni/nimble-angular",
"commit": "3bbf8d7cd86d0129e9ad6bb0eed245ea2bfc0fda",
"comment": "Add new properties to the table label provider"
},
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v22.1.0",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 14 Mar 2024 14:48:16 GMT",
"version": "20.4.1",
"tag": "@ni/nimble-angular_v20.4.1",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v22.0.1",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 13 Mar 2024 23:07:24 GMT",
"version": "20.4.0",
"tag": "@ni/nimble-angular_v20.4.0",
"comments": {
"minor": [
{
"author": "[email protected]",
"package": "@ni/nimble-angular",
"commit": "518c229b964d2c4a2e77210692f5d367f2937ff4",
"comment": "Update default values in label provider directives and expose additional label provider properties"
},
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v22.0.0",
"commit": "not available"
}
]
}
},
{
"date": "Tue, 12 Mar 2024 22:17:11 GMT",
"version": "20.3.0",
Expand Down
28 changes: 27 additions & 1 deletion angular-workspace/projects/ni/nimble-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
# Change Log - @ni/nimble-angular

This log was last generated on Tue, 12 Mar 2024 22:17:11 GMT and should not be manually modified.
This log was last generated on Mon, 18 Mar 2024 17:12:34 GMT and should not be manually modified.

<!-- Start content -->

## 20.5.0

Mon, 18 Mar 2024 17:12:34 GMT

### Minor changes

- Add new properties to the table label provider ([ni/nimble@3bbf8d7](https://github.com/ni/nimble/commit/3bbf8d7cd86d0129e9ad6bb0eed245ea2bfc0fda))
- Bump @ni/nimble-components to v22.1.0

## 20.4.1

Thu, 14 Mar 2024 14:48:16 GMT

### Patches

- Bump @ni/nimble-components to v22.0.1

## 20.4.0

Wed, 13 Mar 2024 23:07:24 GMT

### Minor changes

- Update default values in label provider directives and expose additional label provider properties ([ni/nimble@518c229](https://github.com/ni/nimble/commit/518c229b964d2c4a2e77210692f5d367f2937ff4))
- Bump @ni/nimble-components to v22.0.0

## 20.3.0

Tue, 12 Mar 2024 22:17:11 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ export class NimbleLabelProviderCoreWithDefaultsDirective {
this.elementRef.nativeElement.popupDismiss = $localize`:Nimble popup - dismiss|:Close`;
this.elementRef.nativeElement.numericDecrement = $localize`:Nimble numeric - decrement|:Decrement`;
this.elementRef.nativeElement.numericIncrement = $localize`:Nimble numeric - increment|:Increment`;
this.elementRef.nativeElement.popupIconError = $localize`:Nimble popup icon - error|:Error`;
this.elementRef.nativeElement.popupIconWarning = $localize`:Nimble popup icon - warning|:Warning`;
this.elementRef.nativeElement.popupIconInformation = $localize`:Nimble popup icon - information|:Information`;
this.elementRef.nativeElement.filterSearch = $localize`:Nimble select - search items|:Search`;
this.elementRef.nativeElement.filterNoResults = $localize`:Nimble select - no items|:No items found`;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,44 @@ export class NimbleLabelProviderCoreDirective {
@Input('numeric-increment') public set numericIncrement(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);
}

public get popupIconError(): string | undefined {
return this.elementRef.nativeElement.popupIconError;
}

@Input('popup-icon-error') public set popupIconError(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'popupIconError', value);
}

public get popupIconWarning(): string | undefined {
return this.elementRef.nativeElement.popupIconWarning;
}

@Input('popup-icon-warning') public set popupIconWarning(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'popupIconWarning', value);
}

public get popupIconInformation(): string | undefined {
return this.elementRef.nativeElement.popupIconInformation;
}

@Input('popup-icon-information') public set popupIconInformation(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'popupIconInformation', value);
}

public get filterSearch(): string | undefined {
return this.elementRef.nativeElement.filterSearch;
}

@Input('filter-search') public set filterSearch(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'filterSearch', value);
}

public get filterNoResults(): string | undefined {
return this.elementRef.nativeElement.filterNoResults;
}

@Input('filter-no-results') public set filterNoResults(value: string | undefined) {
this.renderer.setProperty(this.elementRef.nativeElement, 'filterNoResults', value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ describe('Nimble LabelProviderCore withDefaults directive', () => {
loadTranslations({
[computeMsgId('Close', 'Nimble popup - dismiss')]: 'Translated close',
[computeMsgId('Decrement', 'Nimble numeric - decrement')]: 'Translated decrement',
[computeMsgId('Increment', 'Nimble numeric - increment')]: 'Translated increment'
[computeMsgId('Increment', 'Nimble numeric - increment')]: 'Translated increment',
[computeMsgId('Error', 'Nimble popup icon - error')]: 'Translated error',
[computeMsgId('Warning', 'Nimble popup icon - warning')]: 'Translated warning',
[computeMsgId('Information', 'Nimble popup icon - information')]: 'Translated information',
[computeMsgId('Search', 'Nimble select - search items')]: 'Translated search',
[computeMsgId('No items found', 'Nimble select - no items')]: 'Translated no items found'
});
const fixture = TestBed.createComponent(TestHostComponent);
const testHostComponent = fixture.componentInstance;
Expand All @@ -42,5 +47,10 @@ describe('Nimble LabelProviderCore withDefaults directive', () => {
expect(labelProvider.popupDismiss).toBe('Translated close');
expect(labelProvider.numericDecrement).toBe('Translated decrement');
expect(labelProvider.numericIncrement).toBe('Translated increment');
expect(labelProvider.popupIconError).toBe('Translated error');
expect(labelProvider.popupIconWarning).toBe('Translated warning');
expect(labelProvider.popupIconInformation).toBe('Translated information');
expect(labelProvider.filterSearch).toBe('Translated search');
expect(labelProvider.filterNoResults).toBe('Translated no items found');
});
});
Loading

0 comments on commit 1136f2a

Please sign in to comment.