Skip to content

Commit

Permalink
Merge branch 'main' into users/makinc/angular18
Browse files Browse the repository at this point in the history
  • Loading branch information
m-akinc committed Feb 10, 2025
2 parents 1fa2d0e + 1f99c0b commit aedeb74
Show file tree
Hide file tree
Showing 52 changed files with 4,775 additions and 1,790 deletions.
5,219 changes: 3,517 additions & 1,702 deletions package-lock.json

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions packages/angular-workspace/nimble-angular/CHANGELOG.json
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",
Expand Down
50 changes: 49 additions & 1 deletion packages/angular-workspace/nimble-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,57 @@
# Change Log - @ni/nimble-angular

<!-- This log was last generated on Thu, 16 Jan 2025 23:05:03 GMT and should not be manually modified. -->
<!-- This log was last generated on Fri, 07 Feb 2025 17:33:50 GMT and should not be manually modified. -->

<!-- Start content -->

## 28.10.0

Fri, 07 Feb 2025 17:33:50 GMT

### Minor changes

- Bump @ni/nimble-components to v32.12.0

## 28.9.4

Thu, 30 Jan 2025 22:22:52 GMT

### Patches

- Bump @ni/nimble-components to v32.11.6

## 28.9.3

Thu, 30 Jan 2025 19:42:04 GMT

### Patches

- Bump @ni/nimble-components to v32.11.5

## 28.9.2

Thu, 30 Jan 2025 18:42:36 GMT

### Patches

- Bump @ni/nimble-components to v32.11.4

## 28.9.1

Wed, 29 Jan 2025 18:28:30 GMT

### Patches

- Bump @ni/nimble-components to v32.11.3

## 28.9.0

Wed, 29 Jan 2025 17:51:30 GMT

### Minor changes

- Export DiacriticInsensitivePipe, Icon base, and Table SortedColumn types ([ni/nimble@2da4a67](https://github.com/ni/nimble/commit/2da4a675fd278413bee4afbc7c7717f40c5cb93f))

## 28.8.2

Thu, 16 Jan 2025 23:05:03 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/angular-workspace/nimble-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ni/nimble-angular",
"version": "29.0.0",
"version": "28.10.0",
"description": "Angular components for the NI Nimble Design System",
"scripts": {
"invoke-publish": "npm run invoke-publish:setup && cd ../dist/nimble-angular && npm publish",
Expand Down Expand Up @@ -32,7 +32,7 @@
"@angular/forms": "^18.2.13",
"@angular/localize": "^18.2.13",
"@angular/router": "^18.2.13",
"@ni/nimble-components": "^32.11.2"
"@ni/nimble-components": "^32.12.0"
},
"dependencies": {
"tslib": "^2.2.0"
Expand Down
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);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './diacritic-insensitive.pipe';
export * from './duration.pipe';
export * from './number-text.pipe';
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
Expand Down
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)');
});
});
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
import type { Icon } from '@ni/nimble-components/dist/esm/icon-base';
import { Icon } from '@ni/nimble-components/dist/esm/icon-base';
import type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';

export { Icon };

/**
* Base class for the nimble icon directives
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { TablePageObject as NimbleComponentsTablePageObject } from '@ni/nimble-components/dist/esm/table/testing/table.pageobject';
import { TablePageObject as NimbleComponentsTablePageObject, type SortedColumn } from '@ni/nimble-components/dist/esm/table/testing/table.pageobject';
import { waitForUpdatesAsync } from '@ni/nimble-angular';
import type { Table, TableRecord } from '@ni/nimble-angular/table';

export type { SortedColumn };

/**
* The page object for the `nimble-table` component to provide consistent ways of querying
* and interacting with the component during tests.
Expand Down
75 changes: 75 additions & 0 deletions packages/angular-workspace/spright-angular/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,81 @@
{
"name": "@ni/spright-angular",
"entries": [
{
"date": "Fri, 07 Feb 2025 17:33:50 GMT",
"version": "5.4.0",
"tag": "@ni/spright-angular_v5.4.0",
"comments": {
"minor": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v4.4.0",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 30 Jan 2025 22:22:52 GMT",
"version": "5.3.10",
"tag": "@ni/spright-angular_v5.3.10",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v4.3.11",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 30 Jan 2025 19:42:04 GMT",
"version": "5.3.9",
"tag": "@ni/spright-angular_v5.3.9",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v4.3.10",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 30 Jan 2025 18:42:36 GMT",
"version": "5.3.8",
"tag": "@ni/spright-angular_v5.3.8",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v4.3.9",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 29 Jan 2025 18:28:30 GMT",
"version": "5.3.7",
"tag": "@ni/spright-angular_v5.3.7",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v4.3.8",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 16 Jan 2025 23:05:03 GMT",
"version": "5.3.6",
Expand Down
42 changes: 41 additions & 1 deletion packages/angular-workspace/spright-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,49 @@
# Change Log - @ni/spright-angular

<!-- This log was last generated on Thu, 16 Jan 2025 23:05:03 GMT and should not be manually modified. -->
<!-- This log was last generated on Fri, 07 Feb 2025 17:33:50 GMT and should not be manually modified. -->

<!-- Start content -->

## 5.4.0

Fri, 07 Feb 2025 17:33:50 GMT

### Minor changes

- Bump @ni/spright-components to v4.4.0

## 5.3.10

Thu, 30 Jan 2025 22:22:52 GMT

### Patches

- Bump @ni/spright-components to v4.3.11

## 5.3.9

Thu, 30 Jan 2025 19:42:04 GMT

### Patches

- Bump @ni/spright-components to v4.3.10

## 5.3.8

Thu, 30 Jan 2025 18:42:36 GMT

### Patches

- Bump @ni/spright-components to v4.3.9

## 5.3.7

Wed, 29 Jan 2025 18:28:30 GMT

### Patches

- Bump @ni/spright-components to v4.3.8

## 5.3.6

Thu, 16 Jan 2025 23:05:03 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/angular-workspace/spright-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ni/spright-angular",
"version": "5.3.6",
"version": "5.4.0",
"description": "Angular components for NI Spright",
"scripts": {
"invoke-publish": "npm run invoke-publish:setup && cd ../dist/spright-angular && npm publish",
Expand All @@ -24,7 +24,7 @@
"peerDependencies": {
"@angular/common": "^18.2.13",
"@angular/core": "^18.2.13",
"@ni/spright-components": "^4.3.7"
"@ni/spright-components": "^4.4.0"
},
"dependencies": {
"tslib": "^2.2.0"
Expand Down
Loading

0 comments on commit aedeb74

Please sign in to comment.