-
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 clear-select
- Loading branch information
Showing
27 changed files
with
245 additions
and
27 deletions.
There are no files selected for viewing
7 changes: 0 additions & 7 deletions
7
change/@ni-nimble-components-9175671a-fa87-4b79-ab66-48e3b8e49550.json
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
6 changes: 6 additions & 0 deletions
6
packages/angular-workspace/nimble-angular/unit/celsius/ng-package.json
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,6 @@ | ||
{ | ||
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json", | ||
"lib": { | ||
"entryFile": "public-api.ts" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
packages/angular-workspace/nimble-angular/unit/celsius/nimble-unit-celsius.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
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 { | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/angular-workspace/nimble-angular/unit/celsius/nimble-unit-celsius.module.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,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 { } |
2 changes: 2 additions & 0 deletions
2
packages/angular-workspace/nimble-angular/unit/celsius/public-api.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,2 @@ | ||
export * from './nimble-unit-celsius.directive'; | ||
export * from './nimble-unit-celsius.module'; |
16 changes: 16 additions & 0 deletions
16
...angular-workspace/nimble-angular/unit/celsius/tests/nimble-unit-celsius.directive.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,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(); | ||
}); | ||
}); | ||
}); |
6 changes: 6 additions & 0 deletions
6
packages/angular-workspace/nimble-angular/unit/fahrenheit/ng-package.json
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,6 @@ | ||
{ | ||
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json", | ||
"lib": { | ||
"entryFile": "public-api.ts" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ages/angular-workspace/nimble-angular/unit/fahrenheit/nimble-unit-fahrenheit.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
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 { | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/angular-workspace/nimble-angular/unit/fahrenheit/nimble-unit-fahrenheit.module.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,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 { } |
2 changes: 2 additions & 0 deletions
2
packages/angular-workspace/nimble-angular/unit/fahrenheit/public-api.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,2 @@ | ||
export * from './nimble-unit-fahrenheit.directive'; | ||
export * from './nimble-unit-fahrenheit.module'; |
16 changes: 16 additions & 0 deletions
16
...r-workspace/nimble-angular/unit/fahrenheit/tests/nimble-unit-fahrenheit.directive.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,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(); | ||
}); | ||
}); | ||
}); |
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
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.