-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into users/makinc/angular18
- Loading branch information
Showing
52 changed files
with
4,775 additions
and
1,790 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,96 @@ | ||
{ | ||
"name": "@ni/nimble-angular", | ||
"entries": [ | ||
{ | ||
"date": "Fri, 07 Feb 2025 17:33:50 GMT", | ||
"version": "28.10.0", | ||
"tag": "@ni/nimble-angular_v28.10.0", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@ni/nimble-angular", | ||
"comment": "Bump @ni/nimble-components to v32.12.0", | ||
"commit": "not available" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 30 Jan 2025 22:22:52 GMT", | ||
"version": "28.9.4", | ||
"tag": "@ni/nimble-angular_v28.9.4", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@ni/nimble-angular", | ||
"comment": "Bump @ni/nimble-components to v32.11.6", | ||
"commit": "not available" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 30 Jan 2025 19:42:04 GMT", | ||
"version": "28.9.3", | ||
"tag": "@ni/nimble-angular_v28.9.3", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@ni/nimble-angular", | ||
"comment": "Bump @ni/nimble-components to v32.11.5", | ||
"commit": "not available" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 30 Jan 2025 18:42:36 GMT", | ||
"version": "28.9.2", | ||
"tag": "@ni/nimble-angular_v28.9.2", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@ni/nimble-angular", | ||
"comment": "Bump @ni/nimble-components to v32.11.4", | ||
"commit": "not available" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Wed, 29 Jan 2025 18:28:30 GMT", | ||
"version": "28.9.1", | ||
"tag": "@ni/nimble-angular_v28.9.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@ni/nimble-angular", | ||
"comment": "Bump @ni/nimble-components to v32.11.3", | ||
"commit": "not available" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Wed, 29 Jan 2025 17:51:30 GMT", | ||
"version": "28.9.0", | ||
"tag": "@ni/nimble-angular_v28.9.0", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"author": "[email protected]", | ||
"package": "@ni/nimble-angular", | ||
"commit": "2da4a675fd278413bee4afbc7c7717f40c5cb93f", | ||
"comment": "Export DiacriticInsensitivePipe, Icon base, and Table SortedColumn types" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 16 Jan 2025 23:05:03 GMT", | ||
"version": "28.8.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/angular-workspace/nimble-angular/pipes/diacritic-insensitive.pipe.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Pipe, type PipeTransform } from '@angular/core'; | ||
import { diacriticInsensitiveStringNormalizer } from '@ni/nimble-components/dist/esm/utilities/models/string-normalizers'; | ||
|
||
/** | ||
* Generic normalize pipe that removes the accents and special characters. | ||
* This pipe can be used to normalize a string before performing diacritic-insensitive string comparisons. | ||
*/ | ||
@Pipe({ | ||
name: 'diacritic-insensitive', | ||
standalone: true | ||
}) | ||
export class DiacriticInsensitivePipe implements PipeTransform { | ||
public transform(value: string): string { | ||
return diacriticInsensitiveStringNormalizer(value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/angular-workspace/nimble-angular/pipes/tests/diacritic-insensitive.pipe.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { DiacriticInsensitivePipe } from '../diacritic-insensitive.pipe'; | ||
|
||
describe('DiacriticInsensitivePipe', () => { | ||
it('can be constructed and used', () => { | ||
const pipe = new DiacriticInsensitivePipe(); | ||
expect(pipe.transform('Français é, è, ê and ë (French characters)')).toBe('francais e, e, e and e (french characters)'); | ||
}); | ||
}); |
4 changes: 3 additions & 1 deletion
4
...s/angular-workspace/nimble-angular/src/directives/icon-base/nimble-icon-base.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/angular-workspace/nimble-angular/table/testing/table.pageobject.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.