Skip to content

Commit

Permalink
Merge branch 'main' into clear-select
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 authored May 10, 2024
2 parents ae4fa8b + 16b2dd9 commit 5228fbd
Show file tree
Hide file tree
Showing 27 changed files with 245 additions and 27 deletions.

This file was deleted.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DurationPipe, NumberTextPipe, byteUnitScale, byte1024UnitScale, voltUnitScale } from '@ni/nimble-angular/pipes';
import { DurationPipe, NumberTextPipe, byteUnitScale, byte1024UnitScale, celsiusUnitScale, fahrenheitUnitScale, voltUnitScale } from '@ni/nimble-angular/pipes';

describe('Pipes', () => {
it('exports DurationPipe', () => {
Expand All @@ -17,6 +17,14 @@ describe('Pipes', () => {
expect(byte1024UnitScale).toBeTruthy();
});

it('exports celsiusUnitScale', () => {
expect(celsiusUnitScale).toBeTruthy();
});

it('exports fahrenheitUnitScale', () => {
expect(fahrenheitUnitScale).toBeTruthy();
});

it('exports voltUnitScale', () => {
expect(voltUnitScale).toBeTruthy();
});
Expand Down
30 changes: 30 additions & 0 deletions packages/angular-workspace/nimble-angular/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
{
"name": "@ni/nimble-angular",
"entries": [
{
"date": "Fri, 10 May 2024 18:51:13 GMT",
"version": "24.1.0",
"tag": "@ni/nimble-angular_v24.1.0",
"comments": {
"minor": [
{
"author": "7282195+m-akinc@users.noreply.github.com",
"package": "@ni/nimble-angular",
"commit": "7f6a791484cc420725502f5a5e07aa037a952a1f",
"comment": "Add Angular support for Celsius and Fahrenheit number format units"
}
]
}
},
{
"date": "Fri, 10 May 2024 16:42:46 GMT",
"version": "24.0.9",
"tag": "@ni/nimble-angular_v24.0.9",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/nimble-angular",
"comment": "Bump @ni/nimble-components to v28.2.1",
"commit": "not available"
}
]
}
},
{
"date": "Fri, 10 May 2024 16:11:56 GMT",
"version": "24.0.8",
Expand Down
18 changes: 17 additions & 1 deletion packages/angular-workspace/nimble-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# Change Log - @ni/nimble-angular

This log was last generated on Fri, 10 May 2024 16:11:56 GMT and should not be manually modified.
This log was last generated on Fri, 10 May 2024 18:51:13 GMT and should not be manually modified.

<!-- Start content -->

## 24.1.0

Fri, 10 May 2024 18:51:13 GMT

### Minor changes

- Add Angular support for Celsius and Fahrenheit number format units ([ni/nimble@7f6a791](https://github.com/ni/nimble/commit/7f6a791484cc420725502f5a5e07aa037a952a1f))

## 24.0.9

Fri, 10 May 2024 16:42:46 GMT

### Patches

- Bump @ni/nimble-components to v28.2.1

## 24.0.8

Fri, 10 May 2024 16:11:56 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": "24.0.8",
"version": "24.1.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": "^16.2.12",
"@angular/localize": "^16.2.12",
"@angular/router": "^16.2.12",
"@ni/nimble-components": "^28.2.0"
"@ni/nimble-components": "^28.2.1"
},
"dependencies": {
"tslib": "^2.2.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/angular-workspace/nimble-angular/pipes/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ 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';
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
export { celsiusUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/celsius-unit-scale';
export { fahrenheitUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/fahrenheit-unit-scale';
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "public-api.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Directive } from '@angular/core';
import { type UnitCelsius, unitCelsiusTag } from '@ni/nimble-components/dist/esm/unit/celsius';

export type { UnitCelsius };
export { unitCelsiusTag };

/**
* Directive to provide Angular integration for the Celsius unit element used by the number-text column.
*/
@Directive({
selector: 'nimble-unit-celsius'
})
export class NimbleUnitCelsiusDirective {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NimbleUnitCelsiusDirective } from './nimble-unit-celsius.directive';

import '@ni/nimble-components/dist/esm/unit/celsius';

@NgModule({
declarations: [NimbleUnitCelsiusDirective],
imports: [CommonModule],
exports: [NimbleUnitCelsiusDirective]
})
export class NimbleUnitCelsiusModule { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './nimble-unit-celsius.directive';
export * from './nimble-unit-celsius.module';
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { NimbleUnitCelsiusModule } from '../nimble-unit-celsius.module';

describe('Nimble Celsius unit', () => {
describe('module', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [NimbleUnitCelsiusModule]
});
});

it('custom element is defined', () => {
expect(customElements.get('nimble-unit-celsius')).not.toBeUndefined();
});
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "public-api.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Directive } from '@angular/core';
import { type UnitFahrenheit, unitFahrenheitTag } from '@ni/nimble-components/dist/esm/unit/fahrenheit';

export type { UnitFahrenheit };
export { unitFahrenheitTag };

/**
* Directive to provide Angular integration for the Fahrenheit unit element used by the number-text column.
*/
@Directive({
selector: 'nimble-unit-fahrenheit'
})
export class NimbleUnitFahrenheitDirective {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NimbleUnitFahrenheitDirective } from './nimble-unit-fahrenheit.directive';

import '@ni/nimble-components/dist/esm/unit/fahrenheit';

@NgModule({
declarations: [NimbleUnitFahrenheitDirective],
imports: [CommonModule],
exports: [NimbleUnitFahrenheitDirective]
})
export class NimbleUnitFahrenheitModule { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './nimble-unit-fahrenheit.directive';
export * from './nimble-unit-fahrenheit.module';
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { NimbleUnitFahrenheitModule } from '../nimble-unit-fahrenheit.module';

describe('Nimble Fahrenheit unit', () => {
describe('module', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [NimbleUnitFahrenheitModule]
});
});

it('custom element is defined', () => {
expect(customElements.get('nimble-unit-fahrenheit')).not.toBeUndefined();
});
});
});
15 changes: 15 additions & 0 deletions packages/angular-workspace/spright-angular/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@ni/spright-angular",
"entries": [
{
"date": "Fri, 10 May 2024 16:42:46 GMT",
"version": "0.1.20",
"tag": "@ni/spright-angular_v0.1.20",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@ni/spright-angular",
"comment": "Bump @ni/spright-components to v0.0.22",
"commit": "not available"
}
]
}
},
{
"date": "Fri, 10 May 2024 16:11:56 GMT",
"version": "0.1.19",
Expand Down
10 changes: 9 additions & 1 deletion packages/angular-workspace/spright-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Change Log - @ni/spright-angular

This log was last generated on Fri, 10 May 2024 16:11:56 GMT and should not be manually modified.
This log was last generated on Fri, 10 May 2024 16:42:46 GMT and should not be manually modified.

<!-- Start content -->

## 0.1.20

Fri, 10 May 2024 16:42:46 GMT

### Patches

- Bump @ni/spright-components to v0.0.22

## 0.1.19

Fri, 10 May 2024 16:11:56 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": "0.1.19",
"version": "0.1.20",
"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": "^16.2.12",
"@angular/core": "^16.2.12",
"@ni/spright-components": "^0.0.21"
"@ni/spright-components": "^0.0.22"
},
"dependencies": {
"tslib": "^2.2.0"
Expand Down
15 changes: 15 additions & 0 deletions packages/nimble-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@ni/nimble-components",
"entries": [
{
"date": "Fri, 10 May 2024 16:42:46 GMT",
"version": "28.2.1",
"tag": "@ni/nimble-components_v28.2.1",
"comments": {
"patch": [
{
"author": "26874831+atmgrifter00@users.noreply.github.com",
"package": "@ni/nimble-components",
"commit": "9714748c8963830a41b772796cb237262f26683b",
"comment": "Fix issue with clicking option in dropdown not updating display."
}
]
}
},
{
"date": "Fri, 10 May 2024 16:11:55 GMT",
"version": "28.2.0",
Expand Down
10 changes: 9 additions & 1 deletion packages/nimble-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Change Log - @ni/nimble-components

This log was last generated on Fri, 10 May 2024 16:11:55 GMT and should not be manually modified.
This log was last generated on Fri, 10 May 2024 16:42:46 GMT and should not be manually modified.

<!-- Start content -->

## 28.2.1

Fri, 10 May 2024 16:42:46 GMT

### Patches

- Fix issue with clicking option in dropdown not updating display. ([ni/nimble@9714748](https://github.com/ni/nimble/commit/9714748c8963830a41b772796cb237262f26683b))

## 28.2.0

Fri, 10 May 2024 16:11:55 GMT
Expand Down
Loading

0 comments on commit 5228fbd

Please sign in to comment.