From 8b17b15aa037f14375abaef6fa1c76190282efab Mon Sep 17 00:00:00 2001 From: m-akinc <7282195+m-akinc@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:47:31 -0600 Subject: [PATCH] Replace deprectated `importsNotUsedAsValues` option with `verbatimModuleSyntax` (#2512) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Pull Request ## ๐Ÿคจ Rationale The [`importsNotUsedAsValues`](https://www.typescriptlang.org/tsconfig/#importsNotUsedAsValues) TypeScript option is deprectated and will stop working in TypeScript 5.5. It is replaced by [`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax). My motivation for this change is that while updating Nimble to Angular 18, I found that `importsNotUsedAsValues` was forcing me to do a type-only import of `Router` and `ActivatedRoute` [in `router_link.ts`](https://github.com/ni/nimble/blob/a7927039f1da96ac4672c5550d6b8f55071f125d/packages/angular-workspace/nimble-angular/src/thirdparty/directives/router_link.ts#L39). But doing so caused a different error for `NimbleAnchorRouterLinkWithHrefDirective`: ``` error NG2016: The directive NimbleAnchorRouterLinkWithHrefDirective inherits its constructor from RouterLink, but the latter has a constructor parameter that is not compatible with dependency injection. Either add an explicit constructor to NimbleAnchorRouterLinkWithHrefDirective or change RouterLink's constructor to use parameters that are valid for DI. ``` Both `Router` and `ActivatedRoute` are parameters to the `RouterLink` constructor. The problem is that if we do a type-only import of `Router` and `ActivatedRoute`, the compiler doesn't know that they are decorated to be injectable. Using `verbatimModuleSyntax` solves this by allowing us to import from the definition file rather than the type declaration file for those types, even though we're not directly using the definition. This PR changes the option for the Angular projects, as well as `nimble-components`, `spright-components`, and `storybook`. ## ๐Ÿ‘ฉโ€๐Ÿ’ป Implementation Had to update all imports of type symbols to explicitly say `type`. ## ๐Ÿงช Testing Builds and existing tests pass. ## โœ… Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. --------- Co-authored-by: Milan Raj --- ...-535ed6e4-6372-4c96-844d-968e3c68ef76.json | 7 ++++ ...-9d86e017-60f4-4482-b523-df0b316912d7.json | 7 ++++ ...-1adc53ed-668a-47d2-9125-cb9219703a63.json | 7 ++++ .../src/app/customapp/customapp.component.ts | 6 ++-- ...mble-label-provider-core.directive.spec.ts | 2 +- ...label-provider-rich-text.directive.spec.ts | 2 +- ...ble-label-provider-table.directive.spec.ts | 2 +- .../icon/nimble-mapping-icon.directive.ts | 2 +- .../nimble-mapping-spinner.directive.ts | 2 +- .../nimble-mapping-user.directive.spec.ts | 2 +- .../nimble-angular/pipes/duration.pipe.ts | 2 +- .../nimble-angular/pipes/number-text.pipe.ts | 4 +-- .../pipes/tests/test-custom-pipe.spec.ts | 2 +- ...nimble-rich-text-mention-base.directive.ts | 2 +- ...-rich-text-mention-users.directive.spec.ts | 2 +- .../nimble-rich-text-editor.directive.ts | 4 +-- .../nimble-rich-text-editor.directive.spec.ts | 2 +- .../nimble-rich-text-viewer.directive.ts | 2 +- .../nimble-rich-text-viewer.directive.spec.ts | 2 +- .../nimble-anchor-button.directive.ts | 2 +- .../nimble-anchor-button.directive.spec.ts | 2 +- .../nimble-anchor-menu-item.directive.ts | 2 +- .../anchor-tab/nimble-anchor-tab.directive.ts | 2 +- .../tests/nimble-anchor-tab.directive.spec.ts | 2 +- .../nimble-anchor-tree-item.directive.ts | 2 +- .../nimble-anchor-tree-item.directive.spec.ts | 2 +- .../anchor/nimble-anchor.directive.ts | 2 +- .../tests/nimble-anchor.directive.spec.ts | 2 +- .../banner/nimble-banner.directive.ts | 4 +-- .../tests/nimble-banner.directive.spec.ts | 2 +- .../nimble-breadcrumb-item.directive.spec.ts | 2 +- .../tests/nimble-breadcrumb.directive.spec.ts | 2 +- .../button/nimble-button.directive.ts | 4 +-- .../tests/nimble-button.directive.spec.ts | 2 +- .../nimble-card-button.directive.ts | 2 +- .../nimble-card-button.directive.spec.ts | 2 +- .../checkbox/nimble-checkbox.directive.ts | 2 +- .../tests/nimble-checkbox.directive.spec.ts | 2 +- ...mbobox-control-value-accessor.directive.ts | 4 +-- .../combobox/nimble-combobox.directive.ts | 2 +- ...x-control-value-accessor.directive.spec.ts | 2 +- .../tests/nimble-combobox.directive.spec.ts | 2 +- .../dialog/nimble-dialog.directive.ts | 2 +- .../tests/nimble-dialog.directive.spec.ts | 2 +- .../drawer/nimble-drawer.directive.ts | 2 +- .../tests/nimble-drawer.directive.spec.ts | 2 +- .../tests/nimble-icon-check.directive.spec.ts | 2 +- .../nimble-list-option-group.directive.ts | 2 +- .../nimble-combobox-list-option.directive.ts | 2 +- .../nimble-list-option.directive.ts | 2 +- .../nimble-menu-button.directive.ts | 2 +- .../nimble-menu-button.directive.spec.ts | 2 +- .../menu-item/nimble-menu-item.directive.ts | 2 +- .../tests/nimble-menu-item.directive.spec.ts | 2 +- .../nimble-number-field.directive.ts | 2 +- .../nimble-number-field.directive.spec.ts | 2 +- .../nimble-radio-group.directive.ts | 2 +- .../nimble-radio-group.directive.spec.ts | 2 +- ...-radio-control-value-accessor.directive.ts | 2 +- .../radio/nimble-radio.directive.ts | 2 +- .../tests/nimble-radio.directive.spec.ts | 2 +- .../select/nimble-select.directive.ts | 6 ++-- ...t-control-value-accessor.directive.spec.ts | 2 +- .../tests/nimble-select.directive.spec.ts | 2 +- .../tests/nimble-spinner.directive.spec.ts | 2 +- .../switch/nimble-switch.directive.ts | 2 +- .../directives/tab/nimble-tab.directive.ts | 2 +- .../tab/tests/nimble-tab.directive.spec.ts | 2 +- .../text-area/nimble-text-area.directive.ts | 2 +- .../tests/nimble-text-area.directive.spec.ts | 2 +- .../text-field/nimble-text-field.directive.ts | 2 +- .../tests/nimble-text-field.directive.spec.ts | 2 +- .../nimble-theme-provider.directive.spec.ts | 2 +- .../nimble-toggle-button.directive.ts | 2 +- .../nimble-toggle-button.directive.spec.ts | 2 +- .../tooltip/nimble-tooltip.directive.ts | 2 +- .../tests/nimble-tooltip.directive.spec.ts | 2 +- .../tree-item/nimble-tree-item.directive.ts | 2 +- .../tests/nimble-tree-view.directive.spec.ts | 2 +- .../directives/checkbox_value_accessor.ts | 2 +- .../directives/default_value_accessor.ts | 4 +-- .../directives/number_value_accessor.ts | 2 +- .../radio_control_value_accessor.ts | 4 +-- .../src/thirdparty/directives/router_link.ts | 8 ++--- .../select_control_value_accessor.ts | 2 +- .../tests/router_integration.spec.ts | 14 ++++---- .../tests/value_accessor_integration.spec.ts | 2 +- .../nimble-table-column-anchor.directive.ts | 2 +- ...-anchor-navigation-guard.directive.spec.ts | 4 +-- ...mble-table-column-anchor.directive.spec.ts | 2 +- ...nimble-table-column-date-text.directive.ts | 36 +++++++++---------- ...e-table-column-date-text.directive.spec.ts | 4 +-- ...le-table-column-duration-text.directive.ts | 2 +- ...ble-column-duration-text.directive.spec.ts | 2 +- .../nimble-table-column-mapping.directive.ts | 2 +- ...ble-table-column-mapping.directive.spec.ts | 2 +- ...mble-table-column-menu-button.directive.ts | 2 +- ...table-column-menu-button.directive.spec.ts | 2 +- .../nimble-table-column-base.directive.ts | 4 +-- ...mble-table-column-number-text.directive.ts | 2 +- ...table-column-number-text.directive.spec.ts | 2 +- .../nimble-table-column-text.directive.ts | 2 +- ...nimble-table-column-text.directive.spec.ts | 2 +- .../table/nimble-table.directive.ts | 8 ++--- .../testing/tests/table.pageobject.spec.ts | 2 +- .../tests/nimble-table.directive.spec.ts | 2 +- .../tests/nimble-unit-byte.directive.spec.ts | 2 +- packages/angular-workspace/tsconfig.json | 3 +- .../source/tests/matrix-renderer.spec.ts | 2 +- .../src/anchor-button/index.ts | 6 ++-- .../src/anchor-button/template.ts | 4 +-- .../anchor-button/tests/anchor-button.spec.ts | 2 +- .../src/anchor-menu-item/index.ts | 4 +-- .../src/anchor-menu-item/template.ts | 4 +-- .../tests/anchor-menu-item.spec.ts | 2 +- .../nimble-components/src/anchor-tab/index.ts | 4 +-- .../src/anchor-tab/template.ts | 2 +- .../src/anchor-tab/tests/anchor-tab.spec.ts | 2 +- .../src/anchor-tabs/index.ts | 4 +-- .../src/anchor-tabs/tests/anchor-tabs.spec.ts | 2 +- .../src/anchor-tree-item/index.ts | 2 +- .../src/anchor-tree-item/template.ts | 4 +-- .../tests/anchor-tree-item.spec.ts | 2 +- .../nimble-components/src/anchor/index.ts | 2 +- .../src/anchor/tests/anchor.spec.ts | 2 +- .../nimble-components/src/banner/index.ts | 2 +- .../src/banner/tests/banner.spec.ts | 2 +- .../src/breadcrumb-item/index.ts | 2 +- .../nimble-components/src/button/index.ts | 2 +- .../nimble-components/src/button/template.ts | 4 +-- .../nimble-components/src/checkbox/index.ts | 2 +- .../nimble-components/src/combobox/index.ts | 2 +- .../testing/tests/combobox.pageobject.spec.ts | 2 +- .../src/combobox/tests/combobox.spec.ts | 2 +- .../src/dialog/tests/dialog.spec.ts | 2 +- .../src/drawer/tests/drawer.spec.ts | 2 +- .../src/icon-base/tests/icons.spec.ts | 2 +- .../src/label-provider/base/index.ts | 6 +++- .../base/tests/label-provider-base.spec.ts | 2 +- .../src/label-provider/core/index.ts | 2 +- .../core/tests/label-provider-core.spec.ts | 2 +- .../src/label-provider/rich-text/index.ts | 2 +- .../tests/label-provider-rich-text.spec.ts | 2 +- .../src/label-provider/table/index.ts | 2 +- .../table/tests/label-provider-table.spec.ts | 2 +- .../mapping/user/tests/mapping-user.spec.ts | 2 +- .../src/menu-button/index.ts | 2 +- .../src/menu-button/tests/menu-button.spec.ts | 4 +-- .../nimble-components/src/menu-item/index.ts | 2 +- .../src/menu/menu.foundation.ts | 2 +- .../src/menu/tests/menu.spec.ts | 2 +- .../src/number-field/index.ts | 2 +- .../src/number-field/template.ts | 4 +-- .../error/tests/error-pattern-mixin.spec.ts | 2 +- .../required-visible-pattern-mixin.spec.ts | 2 +- .../src/patterns/tabs/template.ts | 4 +-- .../src/radio-group/tests/radio-group.spec.ts | 2 +- packages/nimble-components/src/radio/index.ts | 2 +- .../src/rich-text-mention/base/index.ts | 6 ++-- .../base/models/mention-validator.ts | 5 ++- .../tests/rich-text-mention-users.spec.ts | 2 +- .../src/rich-text/editor/index.ts | 6 ++-- .../editor/models/create-tiptap-editor.ts | 4 +-- .../testing/rich-text-editor.pageobject.ts | 4 +-- .../src/rich-text/mention-listbox/index.ts | 2 +- .../nimble-components/src/select/index.ts | 6 ++-- .../nimble-components/src/select/template.ts | 4 +-- .../testing/tests/select.pageobject.spec.ts | 2 +- .../src/select/tests/select.spec.ts | 4 +-- .../src/spinner/tests/spinner.spec.ts | 2 +- .../nimble-components/src/switch/index.ts | 2 +- .../src/switch/tests/switch.spec.ts | 2 +- .../anchor/tests/table-column-anchor.spec.ts | 5 ++- .../src/table-column/base/index.ts | 2 +- .../base/models/column-internals.ts | 2 +- .../base/tests/table-cell-view.spec.ts | 2 +- .../base/tests/table-column.spec.ts | 2 +- .../src/table-column/date-text/index.ts | 6 ++-- .../src/table-column/duration-text/index.ts | 2 +- .../src/table-column/enum-base/index.ts | 4 +-- .../table-column/mapping/cell-view/index.ts | 4 +-- .../mapping/group-header-view/index.ts | 2 +- .../src/table-column/mapping/index.ts | 4 +-- .../src/table-column/menu-button/index.ts | 2 +- .../table-column/mixins/custom-sort-order.ts | 2 +- .../mixins/tests/custom-sort-order.spec.ts | 2 +- .../tests/fractional-width-column.spec.ts | 2 +- .../mixins/tests/groupable-column.spec.ts | 2 +- .../mixins/tests/sortable-column.spec.ts | 2 +- .../src/table-column/number-text/index.ts | 6 ++-- .../table-column/text-base/cell-view/index.ts | 5 ++- .../src/table/components/cell/template.ts | 2 +- .../src/table/components/group-row/index.ts | 4 +-- .../group-row/tests/table-group-row.spec.ts | 4 +-- .../src/table/components/row/index.ts | 2 +- .../components/row/tests/table-row.spec.ts | 4 +-- packages/nimble-components/src/table/index.ts | 24 +++++++------ .../models/interactive-selection-manager.ts | 8 ++--- .../models/keyboard-navigation-manager.ts | 12 ++++--- .../multi-selection-manager.ts | 6 ++-- .../selection-manager-base.ts | 6 ++-- .../src/table/models/table-validator.ts | 6 ++-- .../models/tests/table-validator.spec.ts | 4 +-- .../src/table/models/virtualizer.ts | 6 ++-- .../nimble-components/src/table/template.ts | 8 ++--- .../src/table/testing/table.pageobject.ts | 2 +- .../src/table/tests/table-action-menu.spec.ts | 4 +-- .../src/table/tests/table-grouping.spec.ts | 2 +- .../tests/table-keyboard-navigation.spec.ts | 2 +- .../src/table/tests/table-selection.spec.ts | 4 +-- .../src/table/tests/table-sorting.spec.ts | 9 +++-- .../src/table/tests/table.spec.ts | 4 +-- packages/nimble-components/src/tabs/index.ts | 2 +- .../src/tabs/tests/tabs.spec.ts | 2 +- .../src/text-area/tests/text-area.spec.ts | 2 +- .../nimble-components/src/text-field/index.ts | 2 +- .../src/text-field/template.ts | 4 +-- .../src/text-field/tests/text-field.spec.ts | 2 +- .../src/theme-provider/design-tokens.ts | 2 +- .../src/toggle-button/index.ts | 2 +- .../src/toggle-button/template.ts | 4 +-- .../toggle-button/tests/toggle-button.spec.ts | 2 +- .../nimble-components/src/toolbar/index.ts | 2 +- .../src/tooltip/tests/tooltip.spec.ts | 2 +- .../nimble-components/src/tree-item/index.ts | 2 +- .../src/tree-view/tests/tree.spec.ts | 2 +- ...multivalue-property-stylesheet-behavior.ts | 2 +- ...value-property-stylesheet-behavior.spec.ts | 2 +- .../src/utilities/tests/fixture.ts | 4 +-- .../unit-format/decimal-unit-format.ts | 2 +- .../unit-format/default-unit-format.ts | 2 +- .../unit-scale/byte-1024-unit-scale.ts | 2 +- .../unit-format/unit-scale/volt-unit-scale.ts | 2 +- .../wafer-map/experimental/computations.ts | 2 +- .../wafer-map/experimental/hover-handler.ts | 2 +- .../nimble-components/src/wafer-map/index.ts | 8 ++--- .../src/wafer-map/modules/computations.ts | 7 +++- .../modules/create-matrix-renderer.ts | 2 +- .../src/wafer-map/modules/hover-handler.ts | 2 +- .../src/wafer-map/modules/prerendering.ts | 7 +++- .../src/wafer-map/modules/rendering.ts | 2 +- .../src/wafer-map/tests/data-manager.spec.ts | 2 +- .../src/wafer-map/tests/hover-handler.spec.ts | 2 +- .../src/wafer-map/tests/utilities.ts | 11 +++--- packages/nimble-components/tsconfig.json | 5 +-- .../src/rectangle/tests/rectangle.spec.ts | 2 +- .../src/utilities/tests/fixture.ts | 4 +-- packages/spright-components/tsconfig.json | 5 +-- .../.storybook/blocks/StoryLayout.tsx | 2 +- packages/storybook/.storybook/preview.js | 2 +- .../anchor-button-matrix.stories.ts | 2 +- .../anchor-tabs/anchor-tabs-matrix.stories.ts | 2 +- .../src/nimble/banner/banner.stories.ts | 2 +- .../breadcrumb/breadcrumb-matrix.stories.ts | 2 +- .../nimble/button/button-matrix.stories.ts | 2 +- .../card-button/card-button-matrix.stories.ts | 2 +- .../checkbox/checkbox-matrix.stories.ts | 4 +-- .../combobox/combobox-matrix.stories.ts | 6 ++-- .../core/label-provider-core.stories.ts | 2 +- .../label-provider-rich-text.stories.ts | 2 +- .../table/label-provider-table.stories.ts | 2 +- .../menu-button/menu-button-matrix.stories.ts | 2 +- .../src/nimble/menu/menu-matrix.stories.ts | 5 ++- .../number-field-matrix.stories.ts | 8 ++--- .../radio-group/radio-group-matrix.stories.ts | 6 ++-- .../editor/rich-text-editor-matrix.stories.ts | 4 +-- .../nimble/select/select-matrix.stories.ts | 6 ++-- .../nimble/switch/switch-matrix.stories.ts | 2 +- .../anchor/table-column-anchor.stories.ts | 2 +- .../base/table-column-stories-utils.ts | 2 +- .../table-column/base/table-column.stories.ts | 2 +- .../table-column-date-text.stories.ts | 6 ++-- .../table-column-duration-text.stories.ts | 2 +- .../mapping/table-column-mapping.stories.ts | 2 +- .../table-column-menu-button.stories.ts | 2 +- .../table-column-number-text.stories.ts | 2 +- .../text/table-column-text.stories.ts | 2 +- .../src/nimble/tabs/tabs-matrix.stories.ts | 2 +- .../text-area/text-area-matrix.stories.ts | 8 ++--- .../text-field/text-field-matrix.stories.ts | 8 ++--- .../nimble/theme-provider/tokens.stories.ts | 2 +- .../toggle-button-matrix.stories.ts | 2 +- .../tree-view/tree-view-matrix.stories.ts | 4 +-- packages/storybook/src/utilities/storybook.ts | 2 +- packages/storybook/tsconfig.json | 3 +- 285 files changed, 476 insertions(+), 431 deletions(-) create mode 100644 change/@ni-nimble-angular-535ed6e4-6372-4c96-844d-968e3c68ef76.json create mode 100644 change/@ni-nimble-components-9d86e017-60f4-4482-b523-df0b316912d7.json create mode 100644 change/@ni-spright-components-1adc53ed-668a-47d2-9125-cb9219703a63.json diff --git a/change/@ni-nimble-angular-535ed6e4-6372-4c96-844d-968e3c68ef76.json b/change/@ni-nimble-angular-535ed6e4-6372-4c96-844d-968e3c68ef76.json new file mode 100644 index 0000000000..a32ad598e1 --- /dev/null +++ b/change/@ni-nimble-angular-535ed6e4-6372-4c96-844d-968e3c68ef76.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Replace deprectated importsNotUsedAsValues option with verbatimModuleSyntax", + "packageName": "@ni/nimble-angular", + "email": "7282195+m-akinc@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@ni-nimble-components-9d86e017-60f4-4482-b523-df0b316912d7.json b/change/@ni-nimble-components-9d86e017-60f4-4482-b523-df0b316912d7.json new file mode 100644 index 0000000000..ccdbd8aa29 --- /dev/null +++ b/change/@ni-nimble-components-9d86e017-60f4-4482-b523-df0b316912d7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Replace deprectated importsNotUsedAsValues option with verbatimModuleSyntax", + "packageName": "@ni/nimble-components", + "email": "7282195+m-akinc@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@ni-spright-components-1adc53ed-668a-47d2-9125-cb9219703a63.json b/change/@ni-spright-components-1adc53ed-668a-47d2-9125-cb9219703a63.json new file mode 100644 index 0000000000..4f2bdf6974 --- /dev/null +++ b/change/@ni-spright-components-1adc53ed-668a-47d2-9125-cb9219703a63.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Replace deprectated importsNotUsedAsValues option with verbatimModuleSyntax", + "packageName": "@ni/spright-components", + "email": "7282195+m-akinc@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.ts b/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.ts index c0e04491a9..7adb4aa91e 100644 --- a/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.ts +++ b/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.ts @@ -1,8 +1,8 @@ /* eslint-disable no-alert */ -import { AfterViewInit, Component, Inject, ViewChild } from '@angular/core'; +import { type AfterViewInit, Component, Inject, ViewChild } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; -import { DrawerLocation, MenuItem, NimbleDialogDirective, NimbleDrawerDirective, OptionNotFound, OPTION_NOT_FOUND, UserDismissed, SelectFilterInputEventDetail, NimbleSelectDirective } from '@ni/nimble-angular'; -import { NimbleTableDirective, TableRecordDelayedHierarchyState, TableRecord, TableRowExpansionToggleEventDetail, TableSetRecordHierarchyOptions } from '@ni/nimble-angular/table'; +import { DrawerLocation, type MenuItem, NimbleDialogDirective, NimbleDrawerDirective, type OptionNotFound, OPTION_NOT_FOUND, UserDismissed, type SelectFilterInputEventDetail, NimbleSelectDirective } from '@ni/nimble-angular'; +import { NimbleTableDirective, TableRecordDelayedHierarchyState, type TableRecord, type TableRowExpansionToggleEventDetail, type TableSetRecordHierarchyOptions } from '@ni/nimble-angular/table'; import { NimbleRichTextEditorDirective } from '@ni/nimble-angular/rich-text/editor'; import { BehaviorSubject, Observable } from 'rxjs'; import type { MenuButtonColumnToggleEventDetail } from '@ni/nimble-angular/table-column/menu-button'; diff --git a/packages/angular-workspace/nimble-angular/label-provider/core/tests/nimble-label-provider-core.directive.spec.ts b/packages/angular-workspace/nimble-angular/label-provider/core/tests/nimble-label-provider-core.directive.spec.ts index 420a973d07..cebfabed2b 100644 --- a/packages/angular-workspace/nimble-angular/label-provider/core/tests/nimble-label-provider-core.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/label-provider/core/tests/nimble-label-provider-core.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { LabelProviderCore, NimbleLabelProviderCoreDirective } from '../nimble-label-provider-core.directive'; +import { type LabelProviderCore, NimbleLabelProviderCoreDirective } from '../nimble-label-provider-core.directive'; import { NimbleLabelProviderCoreModule } from '../nimble-label-provider-core.module'; describe('Nimble Label Provider Core', () => { diff --git a/packages/angular-workspace/nimble-angular/label-provider/rich-text/tests/nimble-label-provider-rich-text.directive.spec.ts b/packages/angular-workspace/nimble-angular/label-provider/rich-text/tests/nimble-label-provider-rich-text.directive.spec.ts index 9f95feae2b..6897670da9 100644 --- a/packages/angular-workspace/nimble-angular/label-provider/rich-text/tests/nimble-label-provider-rich-text.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/label-provider/rich-text/tests/nimble-label-provider-rich-text.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { LabelProviderRichText, NimbleLabelProviderRichTextDirective } from '../nimble-label-provider-rich-text.directive'; +import { type LabelProviderRichText, NimbleLabelProviderRichTextDirective } from '../nimble-label-provider-rich-text.directive'; import { NimbleLabelProviderRichTextModule } from '../nimble-label-provider-rich-text.module'; describe('Nimble Label Provider Rich text', () => { diff --git a/packages/angular-workspace/nimble-angular/label-provider/table/tests/nimble-label-provider-table.directive.spec.ts b/packages/angular-workspace/nimble-angular/label-provider/table/tests/nimble-label-provider-table.directive.spec.ts index 15c43912f0..ffccf1a73b 100644 --- a/packages/angular-workspace/nimble-angular/label-provider/table/tests/nimble-label-provider-table.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/label-provider/table/tests/nimble-label-provider-table.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { LabelProviderTable, NimbleLabelProviderTableDirective } from '../nimble-label-provider-table.directive'; +import { type LabelProviderTable, NimbleLabelProviderTableDirective } from '../nimble-label-provider-table.directive'; import { NimbleLabelProviderTableModule } from '../nimble-label-provider-table.module'; describe('Nimble Label Provider Table', () => { diff --git a/packages/angular-workspace/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts b/packages/angular-workspace/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts index 9fb4ee70c6..397ae206af 100644 --- a/packages/angular-workspace/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts +++ b/packages/angular-workspace/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts @@ -3,7 +3,7 @@ import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base'; import { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon'; import type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types'; import type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { MappingIcon }; export { mappingIconTag }; diff --git a/packages/angular-workspace/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts b/packages/angular-workspace/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts index eec332dd61..07c69d5554 100644 --- a/packages/angular-workspace/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts +++ b/packages/angular-workspace/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts @@ -2,7 +2,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base'; import { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner'; import type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { MappingSpinner }; export { mappingSpinnerTag }; diff --git a/packages/angular-workspace/nimble-angular/mapping/user/tests/nimble-mapping-user.directive.spec.ts b/packages/angular-workspace/nimble-angular/mapping/user/tests/nimble-mapping-user.directive.spec.ts index a039c01214..e1eed35978 100644 --- a/packages/angular-workspace/nimble-angular/mapping/user/tests/nimble-mapping-user.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/mapping/user/tests/nimble-mapping-user.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleRichTextMentionUsersModule } from '../../../rich-text-mention/users/nimble-rich-text-mention-users.module'; import { NimbleRichTextEditorModule } from '../../../rich-text/editor/nimble-rich-text-editor.module'; -import { MappingUser, NimbleMappingUserDirective } from '../nimble-mapping-user.directive'; +import { type MappingUser, NimbleMappingUserDirective } from '../nimble-mapping-user.directive'; import { NimbleMappingUserModule } from '../nimble-mapping-user.module'; describe('NimbleMappingUser', () => { diff --git a/packages/angular-workspace/nimble-angular/pipes/duration.pipe.ts b/packages/angular-workspace/nimble-angular/pipes/duration.pipe.ts index 2fdd3d2895..9ff410ee19 100644 --- a/packages/angular-workspace/nimble-angular/pipes/duration.pipe.ts +++ b/packages/angular-workspace/nimble-angular/pipes/duration.pipe.ts @@ -1,4 +1,4 @@ -import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; +import { Inject, LOCALE_ID, Pipe, type PipeTransform } from '@angular/core'; import { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/duration-text/models/duration-formatter'; /** diff --git a/packages/angular-workspace/nimble-angular/pipes/number-text.pipe.ts b/packages/angular-workspace/nimble-angular/pipes/number-text.pipe.ts index ab1d20fb6a..2cc0ad87b6 100644 --- a/packages/angular-workspace/nimble-angular/pipes/number-text.pipe.ts +++ b/packages/angular-workspace/nimble-angular/pipes/number-text.pipe.ts @@ -1,5 +1,5 @@ -import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; -import { NumberTextUnitFormat, NumberTextUnitFormatOptions } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format'; +import { Inject, LOCALE_ID, Pipe, type PipeTransform } from '@angular/core'; +import { NumberTextUnitFormat, type NumberTextUnitFormatOptions } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format'; /** * A pipe that transforms a number into a string with optional unit diff --git a/packages/angular-workspace/nimble-angular/pipes/tests/test-custom-pipe.spec.ts b/packages/angular-workspace/nimble-angular/pipes/tests/test-custom-pipe.spec.ts index 20ca0aeb14..5800ffa047 100644 --- a/packages/angular-workspace/nimble-angular/pipes/tests/test-custom-pipe.spec.ts +++ b/packages/angular-workspace/nimble-angular/pipes/tests/test-custom-pipe.spec.ts @@ -1,4 +1,4 @@ -import { Component, ElementRef, Pipe, PipeTransform, ViewChild } from '@angular/core'; +import { Component, ElementRef, Pipe, type PipeTransform, ViewChild } from '@angular/core'; import { TestBed, type ComponentFixture } from '@angular/core/testing'; describe('Custom pipe instantiation', () => { diff --git a/packages/angular-workspace/nimble-angular/rich-text-mention/nimble-rich-text-mention-base.directive.ts b/packages/angular-workspace/nimble-angular/rich-text-mention/nimble-rich-text-mention-base.directive.ts index 7cfaf742d9..af9df90ae1 100644 --- a/packages/angular-workspace/nimble-angular/rich-text-mention/nimble-rich-text-mention-base.directive.ts +++ b/packages/angular-workspace/nimble-angular/rich-text-mention/nimble-rich-text-mention-base.directive.ts @@ -3,7 +3,7 @@ import type { RichTextMentionValidity } from '@ni/nimble-components/dist/esm/ric import type { MentionUpdateEventDetail } from '@ni/nimble-components/dist/esm/rich-text-mention/base/types'; import type { RichTextMention } from '@ni/nimble-components/dist/esm/rich-text-mention/base'; -export { RichTextMentionValidity }; +export type { RichTextMentionValidity }; export type { MentionUpdateEventDetail }; /** diff --git a/packages/angular-workspace/nimble-angular/rich-text-mention/users/tests/nimble-rich-text-mention-users.directive.spec.ts b/packages/angular-workspace/nimble-angular/rich-text-mention/users/tests/nimble-rich-text-mention-users.directive.spec.ts index 2e5f118dd9..57b71b8bce 100644 --- a/packages/angular-workspace/nimble-angular/rich-text-mention/users/tests/nimble-rich-text-mention-users.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/rich-text-mention/users/tests/nimble-rich-text-mention-users.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleRichTextMentionUsersModule } from '../nimble-rich-text-mention-users.module'; import { NimbleRichTextEditorModule } from '../../../rich-text/editor/nimble-rich-text-editor.module'; -import { NimbleRichTextMentionUsersDirective, RichTextMentionUsers } from '../nimble-rich-text-mention-users.directive'; +import { NimbleRichTextMentionUsersDirective, type RichTextMentionUsers } from '../nimble-rich-text-mention-users.directive'; describe('NimbleRichTextMentionUsers', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/rich-text/editor/nimble-rich-text-editor.directive.ts b/packages/angular-workspace/nimble-angular/rich-text/editor/nimble-rich-text-editor.directive.ts index 5c7f1b9427..28d7a46ae3 100644 --- a/packages/angular-workspace/nimble-angular/rich-text/editor/nimble-rich-text-editor.directive.ts +++ b/packages/angular-workspace/nimble-angular/rich-text/editor/nimble-rich-text-editor.directive.ts @@ -1,10 +1,10 @@ import { Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2 } from '@angular/core'; import type { RichTextEditor } from '@ni/nimble-components/dist/esm/rich-text/editor'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import type { RichTextValidity } from '@ni/nimble-components/dist/esm/rich-text/base/types'; export type { RichTextEditor }; -export { RichTextValidity }; +export type { RichTextValidity }; /** * Directive to provide Angular integration for the rich text editor element. diff --git a/packages/angular-workspace/nimble-angular/rich-text/editor/tests/nimble-rich-text-editor.directive.spec.ts b/packages/angular-workspace/nimble-angular/rich-text/editor/tests/nimble-rich-text-editor.directive.spec.ts index 8d23084ebb..7e1d264a86 100644 --- a/packages/angular-workspace/nimble-angular/rich-text/editor/tests/nimble-rich-text-editor.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/rich-text/editor/tests/nimble-rich-text-editor.directive.spec.ts @@ -2,7 +2,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Component, ElementRef, ViewChild } from '@angular/core'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { NimbleRichTextEditorModule } from '../nimble-rich-text-editor.module'; -import { NimbleRichTextEditorDirective, RichTextEditor } from '../nimble-rich-text-editor.directive'; +import { NimbleRichTextEditorDirective, type RichTextEditor } from '../nimble-rich-text-editor.directive'; describe('Nimble Rich Text Editor', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/rich-text/viewer/nimble-rich-text-viewer.directive.ts b/packages/angular-workspace/nimble-angular/rich-text/viewer/nimble-rich-text-viewer.directive.ts index 8060e369ff..cfb9486d92 100644 --- a/packages/angular-workspace/nimble-angular/rich-text/viewer/nimble-rich-text-viewer.directive.ts +++ b/packages/angular-workspace/nimble-angular/rich-text/viewer/nimble-rich-text-viewer.directive.ts @@ -3,7 +3,7 @@ import type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text/vi import type { RichTextValidity } from '@ni/nimble-components/dist/esm/rich-text/base/types'; export type { RichTextViewer }; -export { RichTextValidity }; +export type { RichTextValidity }; /** * Directive to provide Angular integration for the rich text viewer element. diff --git a/packages/angular-workspace/nimble-angular/rich-text/viewer/tests/nimble-rich-text-viewer.directive.spec.ts b/packages/angular-workspace/nimble-angular/rich-text/viewer/tests/nimble-rich-text-viewer.directive.spec.ts index 8b6ff44b2b..8ac71fc856 100644 --- a/packages/angular-workspace/nimble-angular/rich-text/viewer/tests/nimble-rich-text-viewer.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/rich-text/viewer/tests/nimble-rich-text-viewer.directive.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Component, ElementRef, ViewChild } from '@angular/core'; import { NimbleRichTextViewerModule } from '../nimble-rich-text-viewer.module'; -import { NimbleRichTextViewerDirective, RichTextViewer } from '../nimble-rich-text-viewer.directive'; +import { NimbleRichTextViewerDirective, type RichTextViewer } from '../nimble-rich-text-viewer.directive'; describe('Nimble Rich Text Viewer', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-button/nimble-anchor-button.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-button/nimble-anchor-button.directive.ts index c8e21e831a..ae97aa09a9 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-button/nimble-anchor-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-button/nimble-anchor-button.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type AnchorButton, anchorButtonTag } from '@ni/nimble-components/dist/esm/anchor-button'; import type { ButtonAppearance, ButtonAppearanceVariant } from '@ni/nimble-components/dist/esm/anchor-button/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleAnchorBaseDirective } from '../anchor-base/nimble-anchor-base.directive'; export type { AnchorButton }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-button/tests/nimble-anchor-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-button/tests/nimble-anchor-button.directive.spec.ts index e3d3f9e7a7..d2d07209ee 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-button/tests/nimble-anchor-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-button/tests/nimble-anchor-button.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { ButtonAppearance, ButtonAppearanceVariant } from '../../../public-api'; -import { AnchorButton, NimbleAnchorButtonDirective } from '../nimble-anchor-button.directive'; +import { type AnchorButton, NimbleAnchorButtonDirective } from '../nimble-anchor-button.directive'; import { NimbleAnchorButtonModule } from '../nimble-anchor-button.module'; describe('Nimble anchor button', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-menu-item/nimble-anchor-menu-item.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-menu-item/nimble-anchor-menu-item.directive.ts index 24f5b441b8..6a443d3bb3 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-menu-item/nimble-anchor-menu-item.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-menu-item/nimble-anchor-menu-item.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type AnchorMenuItem, anchorMenuItemTag } from '@ni/nimble-components/dist/esm/anchor-menu-item'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleAnchorBaseDirective } from '../anchor-base/nimble-anchor-base.directive'; export type { AnchorMenuItem }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/nimble-anchor-tab.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/nimble-anchor-tab.directive.ts index 52569bdb41..b58d40bf5c 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/nimble-anchor-tab.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/nimble-anchor-tab.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type AnchorTab, anchorTabTag } from '@ni/nimble-components/dist/esm/anchor-tab'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleAnchorBaseDirective } from '../anchor-base/nimble-anchor-base.directive'; export type { AnchorTab }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/tests/nimble-anchor-tab.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/tests/nimble-anchor-tab.directive.spec.ts index 698961005d..769fb01e48 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/tests/nimble-anchor-tab.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-tab/tests/nimble-anchor-tab.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { AnchorTab, NimbleAnchorTabDirective } from '../nimble-anchor-tab.directive'; +import { type AnchorTab, NimbleAnchorTabDirective } from '../nimble-anchor-tab.directive'; import { NimbleAnchorTabModule } from '../nimble-anchor-tab.module'; describe('Nimble anchor tab', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/nimble-anchor-tree-item.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/nimble-anchor-tree-item.directive.ts index a88f174020..458dfa23f2 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/nimble-anchor-tree-item.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/nimble-anchor-tree-item.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type AnchorTreeItem, anchorTreeItemTag } from '@ni/nimble-components/dist/esm/anchor-tree-item'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleAnchorBaseDirective } from '../anchor-base/nimble-anchor-base.directive'; export type { AnchorTreeItem }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/tests/nimble-anchor-tree-item.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/tests/nimble-anchor-tree-item.directive.spec.ts index 5478794de0..e279fdb608 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/tests/nimble-anchor-tree-item.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor-tree-item/tests/nimble-anchor-tree-item.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { AnchorTreeItem, NimbleAnchorTreeItemDirective } from '../nimble-anchor-tree-item.directive'; +import { type AnchorTreeItem, NimbleAnchorTreeItemDirective } from '../nimble-anchor-tree-item.directive'; import { NimbleAnchorTreeItemModule } from '../nimble-anchor-tree-item.module'; describe('Nimble anchor tree item', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor/nimble-anchor.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor/nimble-anchor.directive.ts index ab40d2044b..e7fbbc7731 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor/nimble-anchor.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor/nimble-anchor.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Anchor, anchorTag } from '@ni/nimble-components/dist/esm/anchor'; import { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleAnchorBaseDirective } from '../anchor-base/nimble-anchor-base.directive'; export type { Anchor }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/anchor/tests/nimble-anchor.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/anchor/tests/nimble-anchor.directive.spec.ts index 5b98299f43..03fa4e39b5 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/anchor/tests/nimble-anchor.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/anchor/tests/nimble-anchor.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { Anchor, AnchorAppearance, NimbleAnchorDirective } from '../nimble-anchor.directive'; +import { type Anchor, AnchorAppearance, NimbleAnchorDirective } from '../nimble-anchor.directive'; import { NimbleAnchorModule } from '../nimble-anchor.module'; describe('Nimble anchor', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/banner/nimble-banner.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/banner/nimble-banner.directive.ts index a1fe01f4b2..cb4bc51d6b 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/banner/nimble-banner.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/banner/nimble-banner.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2 } from '@angular/core'; import { type Banner, bannerTag } from '@ni/nimble-components/dist/esm/banner'; -import { BannerSeverity, BannerToggleEventDetail } from '@ni/nimble-components/dist/esm/banner/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { BannerSeverity, type BannerToggleEventDetail } from '@ni/nimble-components/dist/esm/banner/types'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Banner }; export { bannerTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/banner/tests/nimble-banner.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/banner/tests/nimble-banner.directive.spec.ts index 2136e4fbd3..0c7a6393c3 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/banner/tests/nimble-banner.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/banner/tests/nimble-banner.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { Banner, BannerSeverity, NimbleBannerDirective } from '../nimble-banner.directive'; +import { type Banner, BannerSeverity, NimbleBannerDirective } from '../nimble-banner.directive'; import { NimbleBannerModule } from '../nimble-banner.module'; describe('Nimble banner', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/breadcrumb-item/tests/nimble-breadcrumb-item.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/breadcrumb-item/tests/nimble-breadcrumb-item.directive.spec.ts index 8c24abe72d..272a8c8bed 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/breadcrumb-item/tests/nimble-breadcrumb-item.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/breadcrumb-item/tests/nimble-breadcrumb-item.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { BreadcrumbItem, NimbleBreadcrumbItemDirective } from '../nimble-breadcrumb-item.directive'; +import { type BreadcrumbItem, NimbleBreadcrumbItemDirective } from '../nimble-breadcrumb-item.directive'; import { NimbleBreadcrumbItemModule } from '../nimble-breadcrumb-item.module'; describe('Nimble breadcrumb item', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/breadcrumb/tests/nimble-breadcrumb.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/breadcrumb/tests/nimble-breadcrumb.directive.spec.ts index 8ad317e987..2cc85ce9a3 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/breadcrumb/tests/nimble-breadcrumb.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/breadcrumb/tests/nimble-breadcrumb.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { Breadcrumb, BreadcrumbAppearance, NimbleBreadcrumbDirective } from '../nimble-breadcrumb.directive'; +import { type Breadcrumb, BreadcrumbAppearance, NimbleBreadcrumbDirective } from '../nimble-breadcrumb.directive'; import { NimbleBreadcrumbModule } from '../nimble-breadcrumb.module'; describe('Nimble breadcrumb', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/button/nimble-button.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/button/nimble-button.directive.ts index 31c4bb2828..f11ac2b05f 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/button/nimble-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/button/nimble-button.directive.ts @@ -1,11 +1,11 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Button, buttonTag } from '@ni/nimble-components/dist/esm/button'; import type { ButtonType, ButtonAppearance, ButtonAppearanceVariant } from '@ni/nimble-components/dist/esm/button/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Button }; export { buttonTag }; -export { ButtonType }; +export type { ButtonType }; /** * Directive to provide Angular integration for the button. diff --git a/packages/angular-workspace/nimble-angular/src/directives/button/tests/nimble-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/button/tests/nimble-button.directive.spec.ts index bed992b323..25e8249393 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/button/tests/nimble-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/button/tests/nimble-button.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { ButtonAppearance, ButtonAppearanceVariant } from '../../../public-api'; -import { Button, NimbleButtonDirective } from '../nimble-button.directive'; +import { type Button, NimbleButtonDirective } from '../nimble-button.directive'; import { NimbleButtonModule } from '../nimble-button.module'; describe('Nimble button', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/card-button/nimble-card-button.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/card-button/nimble-card-button.directive.ts index 1e7f7d1c4b..3ab431ae3f 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/card-button/nimble-card-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/card-button/nimble-card-button.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type CardButton, cardButtonTag } from '@ni/nimble-components/dist/esm/card-button'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { CardButton }; export { cardButtonTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/card-button/tests/nimble-card-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/card-button/tests/nimble-card-button.directive.spec.ts index 08ad5fa632..e6b091d63a 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/card-button/tests/nimble-card-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/card-button/tests/nimble-card-button.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { NimbleCardButtonDirective, CardButton } from '../nimble-card-button.directive'; +import { NimbleCardButtonDirective, type CardButton } from '../nimble-card-button.directive'; import { NimbleCardButtonModule } from '../nimble-card-button.module'; describe('Nimble card button', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/checkbox/nimble-checkbox.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/checkbox/nimble-checkbox.directive.ts index 13c91e861a..cec4ecc60c 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/checkbox/nimble-checkbox.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/checkbox/nimble-checkbox.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Checkbox, checkboxTag } from '@ni/nimble-components/dist/esm/checkbox'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Checkbox }; export { checkboxTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/checkbox/tests/nimble-checkbox.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/checkbox/tests/nimble-checkbox.directive.spec.ts index 3653ebd0b0..6015f9e38c 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/checkbox/tests/nimble-checkbox.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/checkbox/tests/nimble-checkbox.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { Checkbox, NimbleCheckboxDirective } from '../nimble-checkbox.directive'; +import { type Checkbox, NimbleCheckboxDirective } from '../nimble-checkbox.directive'; import { NimbleCheckboxModule } from '../nimble-checkbox.module'; describe('Nimble checkbox', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox-control-value-accessor.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox-control-value-accessor.directive.ts index 86056e508a..700a5a1bb2 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox-control-value-accessor.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox-control-value-accessor.directive.ts @@ -1,5 +1,5 @@ -import { AfterViewChecked, Directive, ElementRef, forwardRef, HostListener, Input, Renderer2 } from '@angular/core'; -import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; +import { type AfterViewChecked, Directive, ElementRef, forwardRef, HostListener, Input, Renderer2 } from '@angular/core'; +import { type ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import type { ListOption } from '@ni/nimble-components/dist/esm/list-option'; import type { Combobox } from '../../public-api'; diff --git a/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox.directive.ts index e004ec5957..ecc2045162 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/combobox/nimble-combobox.directive.ts @@ -2,7 +2,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Combobox, comboboxTag } from '@ni/nimble-components/dist/esm/combobox'; import { ComboboxAutocomplete } from '@ni/nimble-components/dist/esm/combobox/types'; import type { DropdownAppearance } from '@ni/nimble-components/dist/esm/patterns/dropdown/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Combobox }; export { comboboxTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox-control-value-accessor.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox-control-value-accessor.directive.spec.ts index 91ba0feacb..40e00982d2 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox-control-value-accessor.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox-control-value-accessor.directive.spec.ts @@ -5,7 +5,7 @@ import { NimbleComboboxModule } from '../nimble-combobox.module'; import { NimbleListOptionModule } from '../../list-option/nimble-list-option.module'; import { processUpdates, waitForUpdatesAsync } from '../../../testing/async-helpers'; import type { Combobox } from '../nimble-combobox.directive'; -import { OptionNotFound, OPTION_NOT_FOUND } from '../nimble-combobox-control-value-accessor.directive'; +import { type OptionNotFound, OPTION_NOT_FOUND } from '../nimble-combobox-control-value-accessor.directive'; import type { ListOption } from '../../../public-api'; function clickOnListOption(combobox: Combobox, index: number): void { diff --git a/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox.directive.spec.ts index 65cdf86130..d779c3cf89 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/combobox/tests/nimble-combobox.directive.spec.ts @@ -3,7 +3,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { FormsModule } from '@angular/forms'; import { ComboboxAutocomplete, DropdownAppearance, NimbleListOptionModule } from '../../../public-api'; -import { Combobox, NimbleComboboxDirective } from '../nimble-combobox.directive'; +import { type Combobox, NimbleComboboxDirective } from '../nimble-combobox.directive'; import { NimbleComboboxModule } from '../nimble-combobox.module'; import { waitForUpdatesAsync } from '../../../testing/async-helpers'; diff --git a/packages/angular-workspace/nimble-angular/src/directives/dialog/nimble-dialog.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/dialog/nimble-dialog.directive.ts index 5c4e3e9454..815f3c0521 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/dialog/nimble-dialog.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/dialog/nimble-dialog.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Dialog, type UserDismissed, dialogTag } from '@ni/nimble-components/dist/esm/dialog'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Dialog }; export { dialogTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/dialog/tests/nimble-dialog.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/dialog/tests/nimble-dialog.directive.spec.ts index 604d6c51cc..17ba5f68c0 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/dialog/tests/nimble-dialog.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/dialog/tests/nimble-dialog.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { Dialog, NimbleDialogDirective } from '../nimble-dialog.directive'; +import { type Dialog, NimbleDialogDirective } from '../nimble-dialog.directive'; import { NimbleDialogModule } from '../nimble-dialog.module'; describe('Nimble dialog', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/drawer/nimble-drawer.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/drawer/nimble-drawer.directive.ts index 9a5f78723a..0a82305589 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/drawer/nimble-drawer.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/drawer/nimble-drawer.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Drawer, type UserDismissed, drawerTag } from '@ni/nimble-components/dist/esm/drawer'; import { DrawerLocation } from '@ni/nimble-components/dist/esm/drawer/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Drawer }; export { drawerTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/drawer/tests/nimble-drawer.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/drawer/tests/nimble-drawer.directive.spec.ts index a2e808c00a..44ad7af20a 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/drawer/tests/nimble-drawer.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/drawer/tests/nimble-drawer.directive.spec.ts @@ -1,6 +1,6 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { Drawer, DrawerLocation, NimbleDrawerDirective } from '../nimble-drawer.directive'; +import { type Drawer, DrawerLocation, NimbleDrawerDirective } from '../nimble-drawer.directive'; import { NimbleDrawerModule } from '../nimble-drawer.module'; describe('Nimble drawer', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/icon-base/tests/nimble-icon-check.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/icon-base/tests/nimble-icon-check.directive.spec.ts index 7fc972be53..3f5d8716e4 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/icon-base/tests/nimble-icon-check.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/icon-base/tests/nimble-icon-check.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { IconSeverity } from '../../../public-api'; -import { IconCheck, NimbleIconCheckDirective } from '../../icons/check/nimble-icon-check.directive'; +import { type IconCheck, NimbleIconCheckDirective } from '../../icons/check/nimble-icon-check.directive'; import { NimbleIconCheckModule } from '../../icons/check/nimble-icon-check.module'; // As the icons are generated and have identical apis, testing every icon seemed unnecessary. diff --git a/packages/angular-workspace/nimble-angular/src/directives/list-option-group/nimble-list-option-group.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/list-option-group/nimble-list-option-group.directive.ts index 7a24d4e9d9..1208664b94 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/list-option-group/nimble-list-option-group.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/list-option-group/nimble-list-option-group.directive.ts @@ -1,6 +1,6 @@ import { Directive, Input, ElementRef, Renderer2 } from '@angular/core'; import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; -import type { ListOptionGroup, listOptionGroupTag } from '@ni/nimble-components/dist/esm/list-option-group'; +import { type ListOptionGroup, listOptionGroupTag } from '@ni/nimble-components/dist/esm/list-option-group'; export type { ListOptionGroup }; export { listOptionGroupTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-combobox-list-option.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-combobox-list-option.directive.ts index 9f177732cc..87976d183a 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-combobox-list-option.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-combobox-list-option.directive.ts @@ -1,4 +1,4 @@ -import { Directive, ElementRef, Host, Inject, Input, Optional, AfterViewInit, OnDestroy } from '@angular/core'; +import { Directive, ElementRef, Host, Inject, Input, Optional, type AfterViewInit, type OnDestroy } from '@angular/core'; import type { ListOption } from '@ni/nimble-components/dist/esm/list-option'; import { NimbleComboboxControlValueAccessorDirective } from '../combobox/nimble-combobox-control-value-accessor.directive'; diff --git a/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-list-option.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-list-option.directive.ts index 3dc2eb2c96..3872383558 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-list-option.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/list-option/nimble-list-option.directive.ts @@ -1,6 +1,6 @@ import { Directive, Input, ElementRef, Renderer2 } from '@angular/core'; import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; -import type { ListOption, listOptionTag } from '@ni/nimble-components/dist/esm/list-option'; +import { type ListOption, listOptionTag } from '@ni/nimble-components/dist/esm/list-option'; export type { ListOption }; export { listOptionTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/menu-button/nimble-menu-button.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/menu-button/nimble-menu-button.directive.ts index 3b7df35151..63c1443c27 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/menu-button/nimble-menu-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/menu-button/nimble-menu-button.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type MenuButton, menuButtonTag } from '@ni/nimble-components/dist/esm/menu-button'; import type { ButtonAppearance, ButtonAppearanceVariant, MenuButtonToggleEventDetail } from '@ni/nimble-components/dist/esm/menu-button/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { MenuButton }; export { menuButtonTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/menu-button/tests/nimble-menu-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/menu-button/tests/nimble-menu-button.directive.spec.ts index e82c06106e..f3f3377606 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/menu-button/tests/nimble-menu-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/menu-button/tests/nimble-menu-button.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { ButtonAppearance, ButtonAppearanceVariant } from '../../../public-api'; -import { NimbleMenuButtonDirective, MenuButton } from '../nimble-menu-button.directive'; +import { NimbleMenuButtonDirective, type MenuButton } from '../nimble-menu-button.directive'; import { NimbleMenuButtonModule } from '../nimble-menu-button.module'; describe('Nimble menu button', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/menu-item/nimble-menu-item.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/menu-item/nimble-menu-item.directive.ts index 5eac6ae3c7..2dba19197d 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/menu-item/nimble-menu-item.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/menu-item/nimble-menu-item.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type MenuItem, menuItemTag } from '@ni/nimble-components/dist/esm/menu-item'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { MenuItem }; export { menuItemTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/menu-item/tests/nimble-menu-item.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/menu-item/tests/nimble-menu-item.directive.spec.ts index cff48cd7d5..58dcea8b12 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/menu-item/tests/nimble-menu-item.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/menu-item/tests/nimble-menu-item.directive.spec.ts @@ -2,7 +2,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Component, ElementRef, ViewChild } from '@angular/core'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { NimbleMenuItemModule } from '../nimble-menu-item.module'; -import { MenuItem, NimbleMenuItemDirective } from '../nimble-menu-item.directive'; +import { type MenuItem, NimbleMenuItemDirective } from '../nimble-menu-item.directive'; describe('Nimble menu item', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/number-field/nimble-number-field.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/number-field/nimble-number-field.directive.ts index 755021dd89..3f5de8c3e2 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/number-field/nimble-number-field.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/number-field/nimble-number-field.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type NumberField, numberFieldTag } from '@ni/nimble-components/dist/esm/number-field'; import { NumberFieldAppearance } from '@ni/nimble-components/dist/esm/number-field/types'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; export type { NumberField }; export { numberFieldTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/number-field/tests/nimble-number-field.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/number-field/tests/nimble-number-field.directive.spec.ts index 9e43e1a02b..4b4082837a 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/number-field/tests/nimble-number-field.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/number-field/tests/nimble-number-field.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { NimbleNumberFieldDirective, NumberField, NumberFieldAppearance } from '../nimble-number-field.directive'; +import { NimbleNumberFieldDirective, type NumberField, NumberFieldAppearance } from '../nimble-number-field.directive'; import { NimbleNumberFieldModule } from '../nimble-number-field.module'; describe('Nimble number field', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/radio-group/nimble-radio-group.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/radio-group/nimble-radio-group.directive.ts index 03b75b7b0c..e28faf2220 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/radio-group/nimble-radio-group.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/radio-group/nimble-radio-group.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { Orientation, radioGroupTag } from '@ni/nimble-components/dist/esm/radio-group'; import type { RadioGroup } from '@ni/nimble-components/dist/esm/radio-group'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export { Orientation }; export type { RadioGroup }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/radio-group/tests/nimble-radio-group.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/radio-group/tests/nimble-radio-group.directive.spec.ts index 377d809147..6ddec675b9 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/radio-group/tests/nimble-radio-group.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/radio-group/tests/nimble-radio-group.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { NimbleRadioGroupDirective, RadioGroup, Orientation } from '../nimble-radio-group.directive'; +import { NimbleRadioGroupDirective, type RadioGroup, Orientation } from '../nimble-radio-group.directive'; import { NimbleRadioGroupModule } from '../nimble-radio-group.module'; describe('Nimble radio group', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio-control-value-accessor.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio-control-value-accessor.directive.ts index 66bf439f9f..856849be80 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio-control-value-accessor.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio-control-value-accessor.directive.ts @@ -1,4 +1,4 @@ -import { Directive, ElementRef, forwardRef, Injector, OnInit, Renderer2 } from '@angular/core'; +import { Directive, ElementRef, forwardRef, Injector, type OnInit, Renderer2 } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; import { RadioGroup } from '@ni/nimble-components/dist/esm/radio-group'; import type { Radio } from '@ni/nimble-components/dist/esm/radio'; diff --git a/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio.directive.ts index 668de9b936..fed69322ab 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/radio/nimble-radio.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Radio, radioTag } from '@ni/nimble-components/dist/esm/radio'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Radio }; export { radioTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/radio/tests/nimble-radio.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/radio/tests/nimble-radio.directive.spec.ts index 8ec07f61b8..90ea616de1 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/radio/tests/nimble-radio.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/radio/tests/nimble-radio.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { NimbleRadioDirective, Radio } from '../nimble-radio.directive'; +import { NimbleRadioDirective, type Radio } from '../nimble-radio.directive'; import { NimbleRadioModule } from '../nimble-radio.module'; describe('Nimble radio', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/select/nimble-select.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/select/nimble-select.directive.ts index f43f17a9a8..9a733db432 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/select/nimble-select.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/select/nimble-select.directive.ts @@ -1,11 +1,11 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Select, selectTag } from '@ni/nimble-components/dist/esm/select'; -import { FilterMode, SelectFilterInputEventDetail } from '@ni/nimble-components/dist/esm/select/types'; +import { FilterMode, type SelectFilterInputEventDetail } from '@ni/nimble-components/dist/esm/select/types'; import type { DropdownAppearance } from '@ni/nimble-components/dist/esm/patterns/dropdown/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Select }; -export { FilterMode, SelectFilterInputEventDetail }; +export { FilterMode, type SelectFilterInputEventDetail }; export { selectTag }; /** diff --git a/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select-control-value-accessor.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select-control-value-accessor.directive.spec.ts index eaa69269f9..f2d6ca3c5e 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select-control-value-accessor.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select-control-value-accessor.directive.spec.ts @@ -1,4 +1,4 @@ -import { Component, ElementRef, Input, OnChanges, OnInit, SimpleChange, SimpleChanges, ViewChild } from '@angular/core'; +import { Component, ElementRef, Input, type OnChanges, type OnInit, SimpleChange, type SimpleChanges, ViewChild } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { AbstractControl, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms'; import { SelectPageObject } from '@ni/nimble-angular/select/testing'; diff --git a/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select.directive.spec.ts index b263573f05..d9b49dcf7b 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/select/tests/nimble-select.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { DropdownAppearance } from '../../../public-api'; -import { FilterMode, NimbleSelectDirective, Select } from '../nimble-select.directive'; +import { FilterMode, NimbleSelectDirective, type Select } from '../nimble-select.directive'; import { NimbleSelectModule } from '../nimble-select.module'; describe('Nimble select', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/spinner/tests/nimble-spinner.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/spinner/tests/nimble-spinner.directive.spec.ts index 4c2f2f4f02..26e9f8f952 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/spinner/tests/nimble-spinner.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/spinner/tests/nimble-spinner.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { SpinnerAppearance } from '../../../public-api'; -import { Spinner, NimbleSpinnerDirective } from '../nimble-spinner.directive'; +import { type Spinner, NimbleSpinnerDirective } from '../nimble-spinner.directive'; import { NimbleSpinnerModule } from '../nimble-spinner.module'; describe('Nimble Spinner', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/switch/nimble-switch.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/switch/nimble-switch.directive.ts index 54230cfe01..0d1dcbcfb1 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/switch/nimble-switch.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/switch/nimble-switch.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Switch, switchTag } from '@ni/nimble-components/dist/esm/switch'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Switch }; export { switchTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/tab/nimble-tab.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/tab/nimble-tab.directive.ts index 7873658fd5..a3b6016327 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tab/nimble-tab.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tab/nimble-tab.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Tab, tabTag } from '@ni/nimble-components/dist/esm/tab'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { Tab }; export { tabTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/tab/tests/nimble-tab.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/tab/tests/nimble-tab.directive.spec.ts index f356bc60ec..debde0f85e 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tab/tests/nimble-tab.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tab/tests/nimble-tab.directive.spec.ts @@ -2,7 +2,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Component, ElementRef, ViewChild } from '@angular/core'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { NimbleTabModule } from '../nimble-tab.module'; -import { NimbleTabDirective, Tab } from '../nimble-tab.directive'; +import { NimbleTabDirective, type Tab } from '../nimble-tab.directive'; describe('Nimble tab', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/text-area/nimble-text-area.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/text-area/nimble-text-area.directive.ts index c1a0cd2078..fa789644b4 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/text-area/nimble-text-area.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/text-area/nimble-text-area.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TextArea, textAreaTag } from '@ni/nimble-components/dist/esm/text-area'; import { TextAreaAppearance, TextAreaResize } from '@ni/nimble-components/dist/esm/text-area/types'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; export type { TextArea }; export { textAreaTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/text-area/tests/nimble-text-area.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/text-area/tests/nimble-text-area.directive.spec.ts index 3217f6f0b7..15fabb4902 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/text-area/tests/nimble-text-area.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/text-area/tests/nimble-text-area.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { NimbleTextAreaDirective, TextArea, TextAreaAppearance, TextAreaResize } from '../nimble-text-area.directive'; +import { NimbleTextAreaDirective, type TextArea, TextAreaAppearance, TextAreaResize } from '../nimble-text-area.directive'; import { NimbleTextAreaModule } from '../nimble-text-area.module'; describe('Nimble text area', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/text-field/nimble-text-field.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/text-field/nimble-text-field.directive.ts index 3f66c1e7bd..50d268ef50 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/text-field/nimble-text-field.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/text-field/nimble-text-field.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TextField, textFieldTag } from '@ni/nimble-components/dist/esm/text-field'; import { TextFieldAppearance, TextFieldType } from '@ni/nimble-components/dist/esm/text-field/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { TextField }; export { textFieldTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/text-field/tests/nimble-text-field.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/text-field/tests/nimble-text-field.directive.spec.ts index 48d9a0183d..c1a93ffda8 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/text-field/tests/nimble-text-field.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/text-field/tests/nimble-text-field.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { NimbleTextFieldModule } from '../nimble-text-field.module'; -import { NimbleTextFieldDirective, TextField, TextFieldAppearance, TextFieldType } from '../nimble-text-field.directive'; +import { NimbleTextFieldDirective, type TextField, TextFieldAppearance, TextFieldType } from '../nimble-text-field.directive'; describe('Nimble text field', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/theme-provider/tests/nimble-theme-provider.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/theme-provider/tests/nimble-theme-provider.directive.spec.ts index 2dd328ca45..be9d400115 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/theme-provider/tests/nimble-theme-provider.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/theme-provider/tests/nimble-theme-provider.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleThemeProviderModule } from '../nimble-theme-provider.module'; -import { NimbleThemeProviderDirective, Theme, ThemeProvider } from '../nimble-theme-provider.directive'; +import { NimbleThemeProviderDirective, Theme, type ThemeProvider } from '../nimble-theme-provider.directive'; describe('Nimble theme provider', () => { beforeEach(() => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/toggle-button/nimble-toggle-button.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/toggle-button/nimble-toggle-button.directive.ts index 704a037839..5c7c97642c 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/toggle-button/nimble-toggle-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/toggle-button/nimble-toggle-button.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type ToggleButton, toggleButtonTag } from '@ni/nimble-components/dist/esm/toggle-button'; import type { ButtonAppearance, ButtonAppearanceVariant } from '@ni/nimble-components/dist/esm/toggle-button/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { ToggleButton }; export { toggleButtonTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/toggle-button/tests/nimble-toggle-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/toggle-button/tests/nimble-toggle-button.directive.spec.ts index 3fbfd8e42f..a78feef53e 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/toggle-button/tests/nimble-toggle-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/toggle-button/tests/nimble-toggle-button.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; import { ButtonAppearance, ButtonAppearanceVariant } from '../../../public-api'; -import { NimbleToggleButtonDirective, ToggleButton } from '../nimble-toggle-button.directive'; +import { NimbleToggleButtonDirective, type ToggleButton } from '../nimble-toggle-button.directive'; import { NimbleToggleButtonModule } from '../nimble-toggle-button.module'; describe('Nimble toggle button', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/tooltip/nimble-tooltip.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/tooltip/nimble-tooltip.directive.ts index 19b5bf8d8f..2f694c2ae9 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tooltip/nimble-tooltip.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tooltip/nimble-tooltip.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type Tooltip, tooltipTag } from '@ni/nimble-components/dist/esm/tooltip'; import { TooltipSeverity } from '@ni/nimble-components/dist/esm/tooltip/types'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNumberProperty } from '@ni/nimble-angular/internal-utilities'; export type { Tooltip }; export { tooltipTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/tooltip/tests/nimble-tooltip.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/tooltip/tests/nimble-tooltip.directive.spec.ts index 2b16b84e4b..06beeb4f1f 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tooltip/tests/nimble-tooltip.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tooltip/tests/nimble-tooltip.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import type { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities'; -import { Tooltip, NimbleTooltipDirective, TooltipSeverity } from '../nimble-tooltip.directive'; +import { type Tooltip, NimbleTooltipDirective, TooltipSeverity } from '../nimble-tooltip.directive'; import { NimbleTooltipModule } from '../nimble-tooltip.module'; describe('Nimble tooltip', () => { diff --git a/packages/angular-workspace/nimble-angular/src/directives/tree-item/nimble-tree-item.directive.ts b/packages/angular-workspace/nimble-angular/src/directives/tree-item/nimble-tree-item.directive.ts index dbe67cb75b..fed4fa8c66 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tree-item/nimble-tree-item.directive.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tree-item/nimble-tree-item.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2 } from '@angular/core'; import { type TreeItem, treeItemTag } from '@ni/nimble-components/dist/esm/tree-item'; -import { BooleanValueOrAttribute, toBooleanAriaAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanAriaAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; export type { TreeItem }; export { treeItemTag }; diff --git a/packages/angular-workspace/nimble-angular/src/directives/tree-view/tests/nimble-tree-view.directive.spec.ts b/packages/angular-workspace/nimble-angular/src/directives/tree-view/tests/nimble-tree-view.directive.spec.ts index 256d5de9ca..d5a2ea7e55 100644 --- a/packages/angular-workspace/nimble-angular/src/directives/tree-view/tests/nimble-tree-view.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/directives/tree-view/tests/nimble-tree-view.directive.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Component, ElementRef, ViewChild } from '@angular/core'; import { NimbleTreeViewModule } from '../nimble-tree-view.module'; -import { NimbleTreeViewDirective, TreeView, TreeViewSelectionMode } from '../nimble-tree-view.directive'; +import { NimbleTreeViewDirective, type TreeView, TreeViewSelectionMode } from '../nimble-tree-view.directive'; describe('Nimble tree view', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/checkbox_value_accessor.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/checkbox_value_accessor.ts index dabdfbd5d3..18daecc7fc 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/checkbox_value_accessor.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/checkbox_value_accessor.ts @@ -14,7 +14,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {Directive, forwardRef, Provider} from '@angular/core'; +import {Directive, forwardRef, type Provider} from '@angular/core'; import type {ControlValueAccessor} from '@angular/forms'; import {BuiltInControlValueAccessor} from './control_value_accessor'; diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/default_value_accessor.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/default_value_accessor.ts index f511ec9135..bc1fefb3ba 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/default_value_accessor.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/default_value_accessor.ts @@ -16,9 +16,9 @@ */ import {ษตgetDOM as getDOM} from '@angular/common'; -import {Directive, ElementRef, forwardRef, Inject, InjectionToken, Optional, Provider, Renderer2} from '@angular/core'; +import {Directive, ElementRef, forwardRef, Inject, InjectionToken, Optional, type Provider, Renderer2} from '@angular/core'; -import {ControlValueAccessor, COMPOSITION_BUFFER_MODE} from '@angular/forms'; +import {type ControlValueAccessor, COMPOSITION_BUFFER_MODE} from '@angular/forms'; import {BaseControlValueAccessor} from './control_value_accessor'; /* [Nimble] Do not register as a default value accessor provider diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/number_value_accessor.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/number_value_accessor.ts index 274801c6f7..db7bd2e2d4 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/number_value_accessor.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/number_value_accessor.ts @@ -15,7 +15,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {Directive, ElementRef, forwardRef, Provider} from '@angular/core'; +import {Directive, ElementRef, forwardRef, type Provider} from '@angular/core'; import type {ControlValueAccessor} from '@angular/forms'; import {BuiltInControlValueAccessor} from './control_value_accessor'; diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/radio_control_value_accessor.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/radio_control_value_accessor.ts index d2881caa20..04aa45ad67 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/radio_control_value_accessor.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/radio_control_value_accessor.ts @@ -17,10 +17,10 @@ * found in the LICENSE file at https://angular.io/license */ -import {Directive, ElementRef, forwardRef, inject, Injectable, Injector, Input, OnDestroy, OnInit, Provider, Renderer2, ษตRuntimeError as RuntimeError} from '@angular/core'; +import {Directive, ElementRef, forwardRef, inject, Injectable, Injector, Input, type OnDestroy, type OnInit, type Provider, Renderer2, ษตRuntimeError as RuntimeError} from '@angular/core'; import {BuiltInControlValueAccessor} from './control_value_accessor'; -import {ControlValueAccessor, NgControl, SetDisabledStateOption} from '@angular/forms'; +import {type ControlValueAccessor, NgControl, type SetDisabledStateOption} from '@angular/forms'; /* [Nimble] Do not register as a value accessor provider const RADIO_VALUE_ACCESSOR: Provider = { diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/router_link.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/router_link.ts index a64f66d4e9..da064d90c4 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/router_link.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/router_link.ts @@ -28,15 +28,15 @@ import { HostListener, Inject, Input, - OnChanges, - OnDestroy, + type OnChanges, + type OnDestroy, Renderer2, - SimpleChanges, + type SimpleChanges, ษตษตsanitizeUrlOrResourceUrl, } from '@angular/core'; import {Subject, Subscription} from 'rxjs'; -import { Event, Params, QueryParamsHandling, ActivatedRoute, Router, NavigationEnd, UrlTree } from '@angular/router'; +import { type Event, type Params, type QueryParamsHandling, ActivatedRoute, Router, NavigationEnd, UrlTree } from '@angular/router'; /** diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/select_control_value_accessor.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/select_control_value_accessor.ts index 63384091c0..f6b5cbf4fe 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/select_control_value_accessor.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/select_control_value_accessor.ts @@ -17,7 +17,7 @@ * found in the LICENSE file at https://angular.io/license */ -import {Directive, ElementRef, forwardRef, Host, Input, OnDestroy, Optional, Provider, Renderer2, ษตRuntimeError as RuntimeError, isDevMode} from '@angular/core'; +import {Directive, ElementRef, forwardRef, Host, Input, type OnDestroy, Optional, type Provider, Renderer2, ษตRuntimeError as RuntimeError, isDevMode} from '@angular/core'; import type {ControlValueAccessor} from '@angular/forms'; import {BuiltInControlValueAccessor} from './control_value_accessor'; diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/router_integration.spec.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/router_integration.spec.ts index dd596cbb69..ea0875a2dc 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/router_integration.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/router_integration.spec.ts @@ -30,7 +30,7 @@ import { NgModule, NgModuleRef, NgZone, - OnDestroy, + type OnDestroy, QueryList, Type, ViewChildren, @@ -47,19 +47,19 @@ import { ChildActivationEnd, ChildActivationStart, DefaultUrlSerializer, - DetachedRouteHandle, - Event, + type DetachedRouteHandle, + type Event, GuardsCheckEnd, GuardsCheckStart, - Navigation, + type Navigation, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationError, NavigationSkipped, NavigationStart, - ParamMap, - Params, + type ParamMap, + type Params, PreloadAllModules, PreloadingStrategy, PRIMARY_OUTLET, @@ -76,7 +76,7 @@ import { RouterPreloader, RouterStateSnapshot, RoutesRecognized, - RunGuardsAndResolvers, + type RunGuardsAndResolvers, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, diff --git a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/value_accessor_integration.spec.ts b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/value_accessor_integration.spec.ts index 91599b366c..147ae6b85a 100644 --- a/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/value_accessor_integration.spec.ts +++ b/packages/angular-workspace/nimble-angular/src/thirdparty/directives/tests/value_accessor_integration.spec.ts @@ -19,7 +19,7 @@ // [Nimble] Update imports import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, EventEmitter, Input, Output, Type, ViewChild, forwardRef} from '@angular/core'; import {ComponentFixture, fakeAsync, TestBed, tick, waitForAsync} from '@angular/core/testing'; -import {AbstractControl, ControlValueAccessor, FormControl, FormGroup, FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, NgForm, NgModel, ReactiveFormsModule, Validators, DefaultValueAccessor as AngularDefaultValueAccessor, CheckboxControlValueAccessor as AngularCheckboxControlValueAccessor, NumberValueAccessor as AngularNumberValueAccessor, RadioControlValueAccessor as AngularRadioControlValueAccessor, SelectControlValueAccessor as AngularSelectControlValueAccessor, NgSelectOption as AngularNgSelectOption} from '@angular/forms'; +import {AbstractControl, type ControlValueAccessor, FormControl, FormGroup, FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, NgForm, NgModel, ReactiveFormsModule, Validators, DefaultValueAccessor as AngularDefaultValueAccessor, CheckboxControlValueAccessor as AngularCheckboxControlValueAccessor, NumberValueAccessor as AngularNumberValueAccessor, RadioControlValueAccessor as AngularRadioControlValueAccessor, SelectControlValueAccessor as AngularSelectControlValueAccessor, NgSelectOption as AngularNgSelectOption} from '@angular/forms'; import {By} from '@angular/platform-browser'; import {CheckboxControlValueAccessor} from '../checkbox_value_accessor'; import {DefaultValueAccessor} from '../default_value_accessor'; diff --git a/packages/angular-workspace/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts b/packages/angular-workspace/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts index 8be638fa18..85141cf09e 100644 --- a/packages/angular-workspace/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts @@ -1,7 +1,7 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TableColumnAnchor, tableColumnAnchorTag } from '@ni/nimble-components/dist/esm/table-column/anchor'; import { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; export type { TableColumnAnchor }; diff --git a/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor-navigation-guard.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor-navigation-guard.directive.spec.ts index a52ed3b7fd..de01e0d474 100644 --- a/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor-navigation-guard.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor-navigation-guard.directive.spec.ts @@ -1,9 +1,9 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { CommonModule } from '@angular/common'; -import { Anchor, processUpdates, waitForUpdatesAsync } from '@ni/nimble-angular'; +import { type Anchor, processUpdates, waitForUpdatesAsync } from '@ni/nimble-angular'; import { TablePageObject } from '@ni/nimble-angular/table/testing'; -import { NimbleTableModule, Table } from '@ni/nimble-angular/table'; +import { NimbleTableModule, type Table } from '@ni/nimble-angular/table'; import { parameterizeSpec } from '@ni/jasmine-parameterized'; import { NimbleTableColumnAnchorModule } from '../nimble-table-column-anchor.module'; diff --git a/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor.directive.spec.ts index 73a17224aa..c94a8664c3 100644 --- a/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { TableColumnSortDirection } from '@ni/nimble-angular/table-column'; -import { NimbleTableColumnAnchorDirective, TableColumnAnchor } from '../nimble-table-column-anchor.directive'; +import { NimbleTableColumnAnchorDirective, type TableColumnAnchor } from '../nimble-table-column-anchor.directive'; import { NimbleTableColumnAnchorModule } from '../nimble-table-column-anchor.module'; describe('Nimble anchor table column', () => { diff --git a/packages/angular-workspace/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts b/packages/angular-workspace/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts index 6540f5b6f2..a84fb14739 100644 --- a/packages/angular-workspace/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts @@ -1,9 +1,9 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; -import { - DateTextFormat, +import { DateTextFormat } from '@ni/nimble-components/dist/esm/table-column/date-text/types'; +import type { DateStyle, DayFormat, DayPeriodFormat, @@ -22,22 +22,22 @@ import { } from '@ni/nimble-components/dist/esm/table-column/date-text/types'; export type { TableColumnDateText }; -export { DateStyle }; +export type { DateStyle }; export { DateTextFormat }; -export { DayFormat }; -export { DayPeriodFormat }; -export { EraFormat }; -export { FormatMatcherAlgorithm }; -export { HourCycleFormat }; -export { HourFormat }; -export { LocaleMatcherAlgorithm }; -export { MinuteFormat }; -export { MonthFormat }; -export { SecondFormat }; -export { TimeStyle }; -export { TimeZoneNameFormat }; -export { WeekdayFormat }; -export { YearFormat }; +export type { DayFormat }; +export type { DayPeriodFormat }; +export type { EraFormat }; +export type { FormatMatcherAlgorithm }; +export type { HourCycleFormat }; +export type { HourFormat }; +export type { LocaleMatcherAlgorithm }; +export type { MinuteFormat }; +export type { MonthFormat }; +export type { SecondFormat }; +export type { TimeStyle }; +export type { TimeZoneNameFormat }; +export type { WeekdayFormat }; +export type { YearFormat }; export { tableColumnDateTextTag }; /** diff --git a/packages/angular-workspace/nimble-angular/table-column/date-text/tests/nimble-table-column-date-text.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/date-text/tests/nimble-table-column-date-text.directive.spec.ts index 877fcfcd8d..a234b34888 100644 --- a/packages/angular-workspace/nimble-angular/table-column/date-text/tests/nimble-table-column-date-text.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/date-text/tests/nimble-table-column-date-text.directive.spec.ts @@ -2,8 +2,8 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { NimbleTableColumnDateTextModule } from '../nimble-table-column-date-text.module'; -import { - NimbleTableColumnDateTextDirective, +import { NimbleTableColumnDateTextDirective } from '../nimble-table-column-date-text.directive'; +import type { TableColumnDateText, DateStyle, DateTextFormat, diff --git a/packages/angular-workspace/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts b/packages/angular-workspace/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts index 5408c50f52..384d6b91f1 100644 --- a/packages/angular-workspace/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TableColumnDurationText, tableColumnDurationTextTag } from '@ni/nimble-components/dist/esm/table-column/duration-text'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; export type { TableColumnDurationText }; diff --git a/packages/angular-workspace/nimble-angular/table-column/duration-text/tests/nimble-table-column-duration-text.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/duration-text/tests/nimble-table-column-duration-text.directive.spec.ts index 328bc6f005..383ddad746 100644 --- a/packages/angular-workspace/nimble-angular/table-column/duration-text/tests/nimble-table-column-duration-text.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/duration-text/tests/nimble-table-column-duration-text.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { NimbleTableColumnDurationTextModule } from '../nimble-table-column-duration-text.module'; -import { NimbleTableColumnDurationTextDirective, TableColumnDurationText } from '../nimble-table-column-duration-text.directive'; +import { NimbleTableColumnDurationTextDirective, type TableColumnDurationText } from '../nimble-table-column-duration-text.directive'; import { TableColumnSortDirection } from '../../nimble-table-column-base.directive'; describe('NimbleTableColumnDurationText', () => { diff --git a/packages/angular-workspace/nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts b/packages/angular-workspace/nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts index 9c88b86919..6f77d0cf2e 100644 --- a/packages/angular-workspace/nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TableColumnMapping, tableColumnMappingTag } from '@ni/nimble-components/dist/esm/table-column/mapping'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; import { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types'; import { TableColumnMappingWidthMode } from '@ni/nimble-components/dist/esm/table-column/mapping/types'; diff --git a/packages/angular-workspace/nimble-angular/table-column/mapping/tests/nimble-table-column-mapping.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/mapping/tests/nimble-table-column-mapping.directive.spec.ts index 89f92bf6b5..4cff994389 100644 --- a/packages/angular-workspace/nimble-angular/table-column/mapping/tests/nimble-table-column-mapping.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/mapping/tests/nimble-table-column-mapping.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { NimbleTableColumnMappingModule } from '../nimble-table-column-mapping.module'; -import { NimbleTableColumnMappingDirective, TableColumnMapping, TableColumnMappingWidthMode } from '../nimble-table-column-mapping.directive'; +import { NimbleTableColumnMappingDirective, type TableColumnMapping, TableColumnMappingWidthMode } from '../nimble-table-column-mapping.directive'; import { TableColumnSortDirection } from '../../nimble-table-column-base.directive'; describe('NimbleTableColumnMapping', () => { diff --git a/packages/angular-workspace/nimble-angular/table-column/menu-button/nimble-table-column-menu-button.directive.ts b/packages/angular-workspace/nimble-angular/table-column/menu-button/nimble-table-column-menu-button.directive.ts index 7b1d75f104..46fd6b94e1 100644 --- a/packages/angular-workspace/nimble-angular/table-column/menu-button/nimble-table-column-menu-button.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/menu-button/nimble-table-column-menu-button.directive.ts @@ -1,5 +1,5 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; -import { NumberValueOrAttribute, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type NumberValueOrAttribute, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column'; import { TableColumnMenuButton, tableColumnMenuButtonTag } from '@ni/nimble-components/dist/esm/table-column/menu-button'; import type { MenuButtonColumnToggleEventDetail } from '@ni/nimble-components/dist/esm/table-column/menu-button/types'; diff --git a/packages/angular-workspace/nimble-angular/table-column/menu-button/tests/nimble-table-column-menu-button.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/menu-button/tests/nimble-table-column-menu-button.directive.spec.ts index 37d3ef6d75..a900512d80 100644 --- a/packages/angular-workspace/nimble-angular/table-column/menu-button/tests/nimble-table-column-menu-button.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/menu-button/tests/nimble-table-column-menu-button.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { NimbleTableColumnMenuButtonModule } from '../nimble-table-column-menu-button.module'; -import { NimbleTableColumnMenuButtonDirective, TableColumnMenuButton } from '../nimble-table-column-menu-button.directive'; +import { NimbleTableColumnMenuButtonDirective, type TableColumnMenuButton } from '../nimble-table-column-menu-button.directive'; describe('NimbleTableColumnMenuButtonDirective', () => { describe('module', () => { diff --git a/packages/angular-workspace/nimble-angular/table-column/nimble-table-column-base.directive.ts b/packages/angular-workspace/nimble-angular/table-column/nimble-table-column-base.directive.ts index 6a7a2a8863..179f3d44c4 100644 --- a/packages/angular-workspace/nimble-angular/table-column/nimble-table-column-base.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/nimble-table-column-base.directive.ts @@ -2,9 +2,9 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base'; import type { DelegatedEventEventDetails, TableColumnValidity } from '@ni/nimble-components/dist/esm/table-column/base/types'; import { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types'; -import { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities'; -export { TableColumnSortDirection, DelegatedEventEventDetails, TableColumnValidity }; +export { TableColumnSortDirection, type DelegatedEventEventDetails, type TableColumnValidity }; /** * Base class for table column directives. diff --git a/packages/angular-workspace/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts b/packages/angular-workspace/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts index 7ec7f8f37b..37fb6a7d18 100644 --- a/packages/angular-workspace/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts @@ -1,5 +1,5 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; import { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text'; import { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types'; diff --git a/packages/angular-workspace/nimble-angular/table-column/number-text/tests/nimble-table-column-number-text.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/number-text/tests/nimble-table-column-number-text.directive.spec.ts index fc545b67c9..9a9d0406d0 100644 --- a/packages/angular-workspace/nimble-angular/table-column/number-text/tests/nimble-table-column-number-text.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/number-text/tests/nimble-table-column-number-text.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { TableColumnSortDirection } from '../../nimble-table-column-base.directive'; -import { NimbleTableColumnNumberTextDirective, NumberTextAlignment, NumberTextFormat, TableColumnNumberText } from '../nimble-table-column-number-text.directive'; +import { NimbleTableColumnNumberTextDirective, NumberTextAlignment, NumberTextFormat, type TableColumnNumberText } from '../nimble-table-column-number-text.directive'; import { NimbleTableColumnNumberTextModule } from '../nimble-table-column-number-text.module'; describe('NimbleTableColumnNumberText', () => { diff --git a/packages/angular-workspace/nimble-angular/table-column/text/nimble-table-column-text.directive.ts b/packages/angular-workspace/nimble-angular/table-column/text/nimble-table-column-text.directive.ts index 05a7d369e5..e07ecc15fd 100644 --- a/packages/angular-workspace/nimble-angular/table-column/text/nimble-table-column-text.directive.ts +++ b/packages/angular-workspace/nimble-angular/table-column/text/nimble-table-column-text.directive.ts @@ -1,6 +1,6 @@ import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text'; -import { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; +import { type BooleanValueOrAttribute, type NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities'; import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column'; export type { TableColumnText }; diff --git a/packages/angular-workspace/nimble-angular/table-column/text/tests/nimble-table-column-text.directive.spec.ts b/packages/angular-workspace/nimble-angular/table-column/text/tests/nimble-table-column-text.directive.spec.ts index 5dd45a0393..a590bfb6cb 100644 --- a/packages/angular-workspace/nimble-angular/table-column/text/tests/nimble-table-column-text.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table-column/text/tests/nimble-table-column-text.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleTableModule } from '../../../table/nimble-table.module'; import { NimbleTableColumnTextModule } from '../nimble-table-column-text.module'; -import { NimbleTableColumnTextDirective, TableColumnText } from '../nimble-table-column-text.directive'; +import { NimbleTableColumnTextDirective, type TableColumnText } from '../nimble-table-column-text.directive'; import { TableColumnSortDirection } from '../../nimble-table-column-base.directive'; describe('NimbleTableColumnText', () => { diff --git a/packages/angular-workspace/nimble-angular/table/nimble-table.directive.ts b/packages/angular-workspace/nimble-angular/table/nimble-table.directive.ts index 5afbc5e876..48ecf28823 100644 --- a/packages/angular-workspace/nimble-angular/table/nimble-table.directive.ts +++ b/packages/angular-workspace/nimble-angular/table/nimble-table.directive.ts @@ -1,13 +1,13 @@ -import { Directive, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core'; +import { Directive, ElementRef, Input, type OnDestroy, Renderer2 } from '@angular/core'; import { type Table, tableTag } from '@ni/nimble-components/dist/esm/table'; -import type { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail } from '@ni/nimble-components/dist/esm/table/types'; -import { TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions } from '@ni/nimble-components/dist/esm/table/types'; +import type { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions } from '@ni/nimble-components/dist/esm/table/types'; +import { TableRowSelectionMode, TableRecordDelayedHierarchyState } from '@ni/nimble-components/dist/esm/table/types'; import type { Observable, Subscription } from 'rxjs'; export type { Table }; export { tableTag }; export type { TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail }; -export { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions }; +export { type TableRecord, type TableFieldName, type TableFieldValue, type TableValidity, TableRowSelectionMode, TableRecordDelayedHierarchyState, type TableSetRecordHierarchyOptions, type TableRecordHierarchyOptions }; /** * Directive to provide Angular integration for the table element. diff --git a/packages/angular-workspace/nimble-angular/table/testing/tests/table.pageobject.spec.ts b/packages/angular-workspace/nimble-angular/table/testing/tests/table.pageobject.spec.ts index a0742248a6..86635fd55c 100644 --- a/packages/angular-workspace/nimble-angular/table/testing/tests/table.pageobject.spec.ts +++ b/packages/angular-workspace/nimble-angular/table/testing/tests/table.pageobject.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { Subject } from 'rxjs'; import { waitForUpdatesAsync } from '@ni/nimble-angular'; -import { NimbleTableModule, Table, TableRecord } from '@ni/nimble-angular/table'; +import { NimbleTableModule, type Table, type TableRecord } from '@ni/nimble-angular/table'; import { NimbleTableColumnTextModule } from '@ni/nimble-angular/table-column/text'; import { tableFitRowsHeight } from '@ni/nimble-components/dist/esm/theme-provider/design-tokens'; import { TablePageObject } from '../table.pageobject'; diff --git a/packages/angular-workspace/nimble-angular/table/tests/nimble-table.directive.spec.ts b/packages/angular-workspace/nimble-angular/table/tests/nimble-table.directive.spec.ts index c3a43c8d5b..3fe51fff94 100644 --- a/packages/angular-workspace/nimble-angular/table/tests/nimble-table.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/table/tests/nimble-table.directive.spec.ts @@ -2,7 +2,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { processUpdates } from '@ni/nimble-angular'; import { Observable, Subject } from 'rxjs'; -import { NimbleTableDirective, TableRowSelectionMode, Table, TableRecord, TableValidity } from '../nimble-table.directive'; +import { NimbleTableDirective, TableRowSelectionMode, type Table, type TableRecord, type TableValidity } from '../nimble-table.directive'; import { NimbleTableModule } from '../nimble-table.module'; describe('Nimble table', () => { diff --git a/packages/angular-workspace/nimble-angular/unit/byte/tests/nimble-unit-byte.directive.spec.ts b/packages/angular-workspace/nimble-angular/unit/byte/tests/nimble-unit-byte.directive.spec.ts index 6a80e1bee0..368d11c05e 100644 --- a/packages/angular-workspace/nimble-angular/unit/byte/tests/nimble-unit-byte.directive.spec.ts +++ b/packages/angular-workspace/nimble-angular/unit/byte/tests/nimble-unit-byte.directive.spec.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NimbleUnitByteModule } from '../nimble-unit-byte.module'; -import { NimbleUnitByteDirective, UnitByte } from '../nimble-unit-byte.directive'; +import { NimbleUnitByteDirective, type UnitByte } from '../nimble-unit-byte.directive'; describe('Nimble byte unit', () => { describe('module', () => { diff --git a/packages/angular-workspace/tsconfig.json b/packages/angular-workspace/tsconfig.json index 2bfd8b0646..b0a3896767 100644 --- a/packages/angular-workspace/tsconfig.json +++ b/packages/angular-workspace/tsconfig.json @@ -36,8 +36,7 @@ "es2020", "dom" ], - "importsNotUsedAsValues": "error", - "ignoreDeprecations": "5.0", + "verbatimModuleSyntax": true, "useDefineForClassFields": false }, "angularCompilerOptions": { diff --git a/packages/nimble-components/build/generate-workers/source/tests/matrix-renderer.spec.ts b/packages/nimble-components/build/generate-workers/source/tests/matrix-renderer.spec.ts index 21854ddc11..456c7e1f9b 100644 --- a/packages/nimble-components/build/generate-workers/source/tests/matrix-renderer.spec.ts +++ b/packages/nimble-components/build/generate-workers/source/tests/matrix-renderer.spec.ts @@ -1,4 +1,4 @@ -import { Remote, expose, transfer, wrap } from 'comlink'; +import { type Remote, expose, transfer, wrap } from 'comlink'; import { MatrixRenderer } from '../matrix-renderer'; // OffscreenCanvas not supported in Playwright's Windows/Linux Webkit build: https://github.com/ni/nimble/issues/2169 diff --git a/packages/nimble-components/src/anchor-button/index.ts b/packages/nimble-components/src/anchor-button/index.ts index cd7e8e6c31..3973427d07 100644 --- a/packages/nimble-components/src/anchor-button/index.ts +++ b/packages/nimble-components/src/anchor-button/index.ts @@ -1,11 +1,11 @@ import { attr } from '@microsoft/fast-element'; -import { DesignSystem, AnchorOptions } from '@microsoft/fast-foundation'; +import { DesignSystem, type AnchorOptions } from '@microsoft/fast-foundation'; import { AnchorBase } from '../anchor-base'; import { ButtonAppearance, ButtonAppearanceVariant, - ButtonPattern, - ButtonAppearanceVariantPattern + type ButtonPattern, + type ButtonAppearanceVariantPattern } from '../patterns/button/types'; import { styles } from './styles'; import { template } from './template'; diff --git a/packages/nimble-components/src/anchor-button/template.ts b/packages/nimble-components/src/anchor-button/template.ts index 53866c87b6..57ab2aca1c 100644 --- a/packages/nimble-components/src/anchor-button/template.ts +++ b/packages/nimble-components/src/anchor-button/template.ts @@ -1,8 +1,8 @@ import { html, ref, slotted, ViewTemplate } from '@microsoft/fast-element'; import { - AnchorOptions, + type AnchorOptions, endSlotTemplate, - FoundationElementTemplate, + type FoundationElementTemplate, startSlotTemplate } from '@microsoft/fast-foundation'; import type { AnchorButton } from '.'; diff --git a/packages/nimble-components/src/anchor-button/tests/anchor-button.spec.ts b/packages/nimble-components/src/anchor-button/tests/anchor-button.spec.ts index bc4bcd7d6d..586c1febf9 100644 --- a/packages/nimble-components/src/anchor-button/tests/anchor-button.spec.ts +++ b/packages/nimble-components/src/anchor-button/tests/anchor-button.spec.ts @@ -2,7 +2,7 @@ import { html } from '@microsoft/fast-element'; import { parameterizeSpec } from '@ni/jasmine-parameterized'; import { AnchorButton, anchorButtonTag } from '..'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; async function setup(): Promise> { return await fixture( diff --git a/packages/nimble-components/src/anchor-menu-item/index.ts b/packages/nimble-components/src/anchor-menu-item/index.ts index 6a6659f6c2..5a00946216 100644 --- a/packages/nimble-components/src/anchor-menu-item/index.ts +++ b/packages/nimble-components/src/anchor-menu-item/index.ts @@ -1,8 +1,8 @@ import { attr, observable } from '@microsoft/fast-element'; import { DesignSystem, - AnchorOptions, - MenuItemColumnCount + type AnchorOptions, + type MenuItemColumnCount } from '@microsoft/fast-foundation'; import { keyEnter } from '@microsoft/fast-web-utilities'; import { AnchorBase } from '../anchor-base'; diff --git a/packages/nimble-components/src/anchor-menu-item/template.ts b/packages/nimble-components/src/anchor-menu-item/template.ts index bc1af6cdfe..911dce2285 100644 --- a/packages/nimble-components/src/anchor-menu-item/template.ts +++ b/packages/nimble-components/src/anchor-menu-item/template.ts @@ -1,8 +1,8 @@ import { html, ref, ViewTemplate } from '@microsoft/fast-element'; import { - AnchorOptions, + type AnchorOptions, endSlotTemplate, - FoundationElementTemplate, + type FoundationElementTemplate, startSlotTemplate } from '@microsoft/fast-foundation'; import type { AnchorMenuItem } from '.'; diff --git a/packages/nimble-components/src/anchor-menu-item/tests/anchor-menu-item.spec.ts b/packages/nimble-components/src/anchor-menu-item/tests/anchor-menu-item.spec.ts index 83851eb15c..c29f1e4054 100644 --- a/packages/nimble-components/src/anchor-menu-item/tests/anchor-menu-item.spec.ts +++ b/packages/nimble-components/src/anchor-menu-item/tests/anchor-menu-item.spec.ts @@ -6,7 +6,7 @@ import { iconCheckTag, type IconCheck } from '../../icons/check'; import { iconXmarkTag, type IconXmark } from '../../icons/xmark'; import { menuTag, type Menu } from '../../menu'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { menuItemTag } from '../../menu-item'; @customElement('foundation-menu-item') diff --git a/packages/nimble-components/src/anchor-tab/index.ts b/packages/nimble-components/src/anchor-tab/index.ts index 30a09d49fd..d8c3d2e243 100644 --- a/packages/nimble-components/src/anchor-tab/index.ts +++ b/packages/nimble-components/src/anchor-tab/index.ts @@ -1,8 +1,8 @@ import { attr } from '@microsoft/fast-element'; import { DesignSystem, - FoundationElementDefinition, - StartEndOptions + type FoundationElementDefinition, + type StartEndOptions } from '@microsoft/fast-foundation'; import { AnchorBase } from '../anchor-base'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/anchor-tab/template.ts b/packages/nimble-components/src/anchor-tab/template.ts index 766b959c95..5d314ff6cf 100644 --- a/packages/nimble-components/src/anchor-tab/template.ts +++ b/packages/nimble-components/src/anchor-tab/template.ts @@ -1,7 +1,7 @@ import { html, ViewTemplate } from '@microsoft/fast-element'; import { endSlotTemplate, - FoundationElementTemplate, + type FoundationElementTemplate, startSlotTemplate } from '@microsoft/fast-foundation'; import type { AnchorTab, TabOptions } from '.'; diff --git a/packages/nimble-components/src/anchor-tab/tests/anchor-tab.spec.ts b/packages/nimble-components/src/anchor-tab/tests/anchor-tab.spec.ts index d1219982c9..38a3b74673 100644 --- a/packages/nimble-components/src/anchor-tab/tests/anchor-tab.spec.ts +++ b/packages/nimble-components/src/anchor-tab/tests/anchor-tab.spec.ts @@ -2,7 +2,7 @@ import { html } from '@microsoft/fast-element'; import { parameterizeSpec } from '@ni/jasmine-parameterized'; import { AnchorTab, anchorTabTag } from '..'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; -import { Fixture, fixture } from '../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../utilities/tests/fixture'; async function setup(): Promise> { return await fixture(html`<${anchorTabTag}>`); diff --git a/packages/nimble-components/src/anchor-tabs/index.ts b/packages/nimble-components/src/anchor-tabs/index.ts index 9203bf7e33..d91efd5fe1 100644 --- a/packages/nimble-components/src/anchor-tabs/index.ts +++ b/packages/nimble-components/src/anchor-tabs/index.ts @@ -22,8 +22,8 @@ import { DesignSystem, StartEnd, applyMixins, - StartEndOptions, - FoundationElementDefinition, + type StartEndOptions, + type FoundationElementDefinition, FoundationElement } from '@microsoft/fast-foundation'; import { styles } from '../patterns/tabs/styles'; diff --git a/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts b/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts index 28b32d22a3..080caeb0ce 100644 --- a/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts +++ b/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts @@ -13,7 +13,7 @@ import { AnchorTabs, anchorTabsTag } from '..'; import '../../anchor-tab'; import { anchorTabTag, type AnchorTab } from '../../anchor-tab'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { AnchorTabsPageObject } from '../testing/anchor-tabs.pageobject'; describe('AnchorTabs', () => { diff --git a/packages/nimble-components/src/anchor-tree-item/index.ts b/packages/nimble-components/src/anchor-tree-item/index.ts index 3d6f24a22a..35ef4a9b1f 100644 --- a/packages/nimble-components/src/anchor-tree-item/index.ts +++ b/packages/nimble-components/src/anchor-tree-item/index.ts @@ -1,7 +1,7 @@ import { attr } from '@microsoft/fast-element'; import { DesignSystem, - AnchorOptions, + type AnchorOptions, isTreeItemElement, TreeItem as FoundationTreeItem } from '@microsoft/fast-foundation'; diff --git a/packages/nimble-components/src/anchor-tree-item/template.ts b/packages/nimble-components/src/anchor-tree-item/template.ts index e5fdf3f2f3..0296d0513d 100644 --- a/packages/nimble-components/src/anchor-tree-item/template.ts +++ b/packages/nimble-components/src/anchor-tree-item/template.ts @@ -1,8 +1,8 @@ import { html, ref, ViewTemplate } from '@microsoft/fast-element'; import { - AnchorOptions, + type AnchorOptions, endSlotTemplate, - FoundationElementTemplate, + type FoundationElementTemplate, startSlotTemplate } from '@microsoft/fast-foundation'; import type { AnchorTreeItem } from '.'; diff --git a/packages/nimble-components/src/anchor-tree-item/tests/anchor-tree-item.spec.ts b/packages/nimble-components/src/anchor-tree-item/tests/anchor-tree-item.spec.ts index 3154d2f9bb..b26f34bc97 100644 --- a/packages/nimble-components/src/anchor-tree-item/tests/anchor-tree-item.spec.ts +++ b/packages/nimble-components/src/anchor-tree-item/tests/anchor-tree-item.spec.ts @@ -7,7 +7,7 @@ import { iconXmarkTag, type IconXmark } from '../../icons/xmark'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { treeItemTag, type TreeItem } from '../../tree-item'; import { treeViewTag, type TreeView } from '../../tree-view'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; @customElement('foundation-tree-item') export class TestTreeItem extends FoundationTreeItem {} diff --git a/packages/nimble-components/src/anchor/index.ts b/packages/nimble-components/src/anchor/index.ts index 3d59c01542..8227ac854a 100644 --- a/packages/nimble-components/src/anchor/index.ts +++ b/packages/nimble-components/src/anchor/index.ts @@ -2,7 +2,7 @@ import { attr, nullableNumberConverter } from '@microsoft/fast-element'; import { DesignSystem, Anchor as FoundationAnchor, - AnchorOptions + type AnchorOptions } from '@microsoft/fast-foundation'; import { AnchorBase } from '../anchor-base'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/anchor/tests/anchor.spec.ts b/packages/nimble-components/src/anchor/tests/anchor.spec.ts index 76c9da8758..4628a24d47 100644 --- a/packages/nimble-components/src/anchor/tests/anchor.spec.ts +++ b/packages/nimble-components/src/anchor/tests/anchor.spec.ts @@ -2,7 +2,7 @@ import { html } from '@microsoft/fast-element'; import { parameterizeSpec } from '@ni/jasmine-parameterized'; import { Anchor, anchorTag } from '..'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; async function setup(): Promise> { return await fixture(html`<${anchorTag}>`); diff --git a/packages/nimble-components/src/banner/index.ts b/packages/nimble-components/src/banner/index.ts index 66f8dcb09d..508db632c0 100644 --- a/packages/nimble-components/src/banner/index.ts +++ b/packages/nimble-components/src/banner/index.ts @@ -7,7 +7,7 @@ import { } from '@microsoft/fast-foundation'; import { styles } from './styles'; import { template } from './template'; -import { BannerSeverity, BannerToggleEventDetail } from './types'; +import { BannerSeverity, type BannerToggleEventDetail } from './types'; declare global { interface HTMLElementTagNameMap { diff --git a/packages/nimble-components/src/banner/tests/banner.spec.ts b/packages/nimble-components/src/banner/tests/banner.spec.ts index eaf9de6e46..46f465cf73 100644 --- a/packages/nimble-components/src/banner/tests/banner.spec.ts +++ b/packages/nimble-components/src/banner/tests/banner.spec.ts @@ -1,5 +1,5 @@ import { html } from '@microsoft/fast-element'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Banner, bannerTag } from '..'; import { BannerSeverity } from '../types'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; diff --git a/packages/nimble-components/src/breadcrumb-item/index.ts b/packages/nimble-components/src/breadcrumb-item/index.ts index a695c44e4a..15e88ec65c 100644 --- a/packages/nimble-components/src/breadcrumb-item/index.ts +++ b/packages/nimble-components/src/breadcrumb-item/index.ts @@ -2,7 +2,7 @@ import { DesignSystem, BreadcrumbItem as FoundationBreadcrumbItem, breadcrumbItemTemplate as template, - BreadcrumbItemOptions + type BreadcrumbItemOptions } from '@microsoft/fast-foundation'; import { forwardSlash16X16 } from '@ni/nimble-tokens/dist/icons/js'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/button/index.ts b/packages/nimble-components/src/button/index.ts index 8b702638f8..5eb44c24f1 100644 --- a/packages/nimble-components/src/button/index.ts +++ b/packages/nimble-components/src/button/index.ts @@ -1,7 +1,7 @@ import { attr, nullableNumberConverter } from '@microsoft/fast-element'; import { Button as FoundationButton, - ButtonOptions, + type ButtonOptions, DesignSystem } from '@microsoft/fast-foundation'; import type { diff --git a/packages/nimble-components/src/button/template.ts b/packages/nimble-components/src/button/template.ts index fabe485441..ee1eab44dd 100644 --- a/packages/nimble-components/src/button/template.ts +++ b/packages/nimble-components/src/button/template.ts @@ -1,9 +1,9 @@ import { html, ref, slotted } from '@microsoft/fast-element'; import type { ViewTemplate } from '@microsoft/fast-element'; import { - ButtonOptions, + type ButtonOptions, endSlotTemplate, - FoundationElementTemplate, + type FoundationElementTemplate, startSlotTemplate } from '@microsoft/fast-foundation'; import type { Button } from '.'; diff --git a/packages/nimble-components/src/checkbox/index.ts b/packages/nimble-components/src/checkbox/index.ts index 2d93d5bd77..e2d336ca7f 100644 --- a/packages/nimble-components/src/checkbox/index.ts +++ b/packages/nimble-components/src/checkbox/index.ts @@ -2,7 +2,7 @@ import { attr, nullableNumberConverter } from '@microsoft/fast-element'; import { DesignSystem, Checkbox as FoundationCheckbox, - CheckboxOptions + type CheckboxOptions } from '@microsoft/fast-foundation'; import { check16X16, minus16X16 } from '@ni/nimble-tokens/dist/icons/js'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/combobox/index.ts b/packages/nimble-components/src/combobox/index.ts index ff935fe0e5..c5a40f9782 100644 --- a/packages/nimble-components/src/combobox/index.ts +++ b/packages/nimble-components/src/combobox/index.ts @@ -8,7 +8,7 @@ import { } from '@microsoft/fast-element'; import { DesignSystem, - ComboboxOptions, + type ComboboxOptions, ComboboxAutocomplete, SelectPosition, ListboxOption, diff --git a/packages/nimble-components/src/combobox/testing/tests/combobox.pageobject.spec.ts b/packages/nimble-components/src/combobox/testing/tests/combobox.pageobject.spec.ts index e8911094f5..71728ccfe6 100644 --- a/packages/nimble-components/src/combobox/testing/tests/combobox.pageobject.spec.ts +++ b/packages/nimble-components/src/combobox/testing/tests/combobox.pageobject.spec.ts @@ -1,5 +1,5 @@ import { html } from '@microsoft/fast-element'; -import { fixture, Fixture } from '../../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../../utilities/tests/fixture'; import { comboboxTag, type Combobox } from '../..'; import { ComboboxPageObject } from '../combobox.pageobject'; import { listOptionTag } from '../../../list-option'; diff --git a/packages/nimble-components/src/combobox/tests/combobox.spec.ts b/packages/nimble-components/src/combobox/tests/combobox.spec.ts index f7da174e50..4062445cd6 100644 --- a/packages/nimble-components/src/combobox/tests/combobox.spec.ts +++ b/packages/nimble-components/src/combobox/tests/combobox.spec.ts @@ -1,6 +1,6 @@ import { html, repeat } from '@microsoft/fast-element'; import { parameterizeSpec, parameterizeSuite } from '@ni/jasmine-parameterized'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Combobox, comboboxTag } from '..'; import { ComboboxAutocomplete } from '../types'; import { diff --git a/packages/nimble-components/src/dialog/tests/dialog.spec.ts b/packages/nimble-components/src/dialog/tests/dialog.spec.ts index cddadde004..6df424704a 100644 --- a/packages/nimble-components/src/dialog/tests/dialog.spec.ts +++ b/packages/nimble-components/src/dialog/tests/dialog.spec.ts @@ -1,5 +1,5 @@ import { html } from '@microsoft/fast-element'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Dialog, dialogTag, UserDismissed } from '..'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { buttonTag } from '../../button'; diff --git a/packages/nimble-components/src/drawer/tests/drawer.spec.ts b/packages/nimble-components/src/drawer/tests/drawer.spec.ts index 0e14b1d190..4dfa7a500e 100644 --- a/packages/nimble-components/src/drawer/tests/drawer.spec.ts +++ b/packages/nimble-components/src/drawer/tests/drawer.spec.ts @@ -1,6 +1,6 @@ import { html } from '@microsoft/fast-element'; import { eventAnimationEnd } from '@microsoft/fast-web-utilities'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Drawer, drawerTag, UserDismissed } from '..'; import { DrawerLocation } from '../types'; import { diff --git a/packages/nimble-components/src/icon-base/tests/icons.spec.ts b/packages/nimble-components/src/icon-base/tests/icons.spec.ts index 05f680f687..8768dd7bf9 100644 --- a/packages/nimble-components/src/icon-base/tests/icons.spec.ts +++ b/packages/nimble-components/src/icon-base/tests/icons.spec.ts @@ -4,7 +4,7 @@ import { html } from '@microsoft/fast-element'; import { parameterizeSpec } from '@ni/jasmine-parameterized'; import * as allIconsNamespace from '../../icons/all-icons'; import { iconMetadata } from './icon-metadata'; -import { Fixture, fixture } from '../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { IconAdd, iconAddTag } from '../../icons/add'; describe('Icons', () => { diff --git a/packages/nimble-components/src/label-provider/base/index.ts b/packages/nimble-components/src/label-provider/base/index.ts index a4b906cb4c..15a099c064 100644 --- a/packages/nimble-components/src/label-provider/base/index.ts +++ b/packages/nimble-components/src/label-provider/base/index.ts @@ -1,5 +1,9 @@ import { DesignToken, FoundationElement } from '@microsoft/fast-foundation'; -import { Notifier, Observable, type Subscriber } from '@microsoft/fast-element'; +import { + type Notifier, + Observable, + type Subscriber +} from '@microsoft/fast-element'; import { themeProviderTag } from '../../theme-provider'; export type DesignTokensFor = { diff --git a/packages/nimble-components/src/label-provider/base/tests/label-provider-base.spec.ts b/packages/nimble-components/src/label-provider/base/tests/label-provider-base.spec.ts index 270af620b0..d8349f8f36 100644 --- a/packages/nimble-components/src/label-provider/base/tests/label-provider-base.spec.ts +++ b/packages/nimble-components/src/label-provider/base/tests/label-provider-base.spec.ts @@ -2,7 +2,7 @@ import { attr, customElement, html } from '@microsoft/fast-element'; import { DesignToken } from '@microsoft/fast-foundation'; import { ThemeProvider, themeProviderTag } from '../../../theme-provider'; import { - Fixture, + type Fixture, fixture, uniqueElementName } from '../../../utilities/tests/fixture'; diff --git a/packages/nimble-components/src/label-provider/core/index.ts b/packages/nimble-components/src/label-provider/core/index.ts index 65c5a9667f..1436dadccf 100644 --- a/packages/nimble-components/src/label-provider/core/index.ts +++ b/packages/nimble-components/src/label-provider/core/index.ts @@ -1,6 +1,6 @@ import { attr } from '@microsoft/fast-element'; import { DesignSystem } from '@microsoft/fast-foundation'; -import { DesignTokensFor, LabelProviderBase } from '../base'; +import { type DesignTokensFor, LabelProviderBase } from '../base'; import { popupDismissLabel, numericDecrementLabel, diff --git a/packages/nimble-components/src/label-provider/core/tests/label-provider-core.spec.ts b/packages/nimble-components/src/label-provider/core/tests/label-provider-core.spec.ts index fae573300f..5b55e0d959 100644 --- a/packages/nimble-components/src/label-provider/core/tests/label-provider-core.spec.ts +++ b/packages/nimble-components/src/label-provider/core/tests/label-provider-core.spec.ts @@ -8,7 +8,7 @@ import { getPropertyName } from '../../base/tests/label-name-utils'; import { ThemeProvider, themeProviderTag } from '../../../theme-provider'; -import { Fixture, fixture } from '../../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../../utilities/tests/fixture'; type DesignTokenPropertyName = keyof typeof labelTokensNamespace; const designTokenPropertyNames = Object.keys( diff --git a/packages/nimble-components/src/label-provider/rich-text/index.ts b/packages/nimble-components/src/label-provider/rich-text/index.ts index fd77afc2c7..1232f36c46 100644 --- a/packages/nimble-components/src/label-provider/rich-text/index.ts +++ b/packages/nimble-components/src/label-provider/rich-text/index.ts @@ -1,6 +1,6 @@ import { attr } from '@microsoft/fast-element'; import { DesignSystem } from '@microsoft/fast-foundation'; -import { DesignTokensFor, LabelProviderBase } from '../base'; +import { type DesignTokensFor, LabelProviderBase } from '../base'; import { richTextToggleBoldLabel, richTextToggleItalicsLabel, diff --git a/packages/nimble-components/src/label-provider/rich-text/tests/label-provider-rich-text.spec.ts b/packages/nimble-components/src/label-provider/rich-text/tests/label-provider-rich-text.spec.ts index a966e17d61..93d9b0993a 100644 --- a/packages/nimble-components/src/label-provider/rich-text/tests/label-provider-rich-text.spec.ts +++ b/packages/nimble-components/src/label-provider/rich-text/tests/label-provider-rich-text.spec.ts @@ -9,7 +9,7 @@ import { removePrefixAndCamelCase } from '../../base/tests/label-name-utils'; import { ThemeProvider, themeProviderTag } from '../../../theme-provider'; -import { Fixture, fixture } from '../../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../../utilities/tests/fixture'; type DesignTokenPropertyName = keyof typeof labelTokensNamespace; const designTokenPropertyNames = Object.keys( diff --git a/packages/nimble-components/src/label-provider/table/index.ts b/packages/nimble-components/src/label-provider/table/index.ts index 98baf903fe..2afb68eba4 100644 --- a/packages/nimble-components/src/label-provider/table/index.ts +++ b/packages/nimble-components/src/label-provider/table/index.ts @@ -1,6 +1,6 @@ import { attr } from '@microsoft/fast-element'; import { DesignSystem } from '@microsoft/fast-foundation'; -import { DesignTokensFor, LabelProviderBase } from '../base'; +import { type DesignTokensFor, LabelProviderBase } from '../base'; import { tableCellActionMenuLabel, tableColumnHeaderGroupedLabel, diff --git a/packages/nimble-components/src/label-provider/table/tests/label-provider-table.spec.ts b/packages/nimble-components/src/label-provider/table/tests/label-provider-table.spec.ts index e079977757..7863699dd7 100644 --- a/packages/nimble-components/src/label-provider/table/tests/label-provider-table.spec.ts +++ b/packages/nimble-components/src/label-provider/table/tests/label-provider-table.spec.ts @@ -9,7 +9,7 @@ import { removePrefixAndCamelCase } from '../../base/tests/label-name-utils'; import { ThemeProvider, themeProviderTag } from '../../../theme-provider'; -import { Fixture, fixture } from '../../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../../utilities/tests/fixture'; type DesignTokenPropertyName = keyof typeof labelTokensNamespace; const designTokenPropertyNames = Object.keys( diff --git a/packages/nimble-components/src/mapping/user/tests/mapping-user.spec.ts b/packages/nimble-components/src/mapping/user/tests/mapping-user.spec.ts index 81916da03b..54d8f5a781 100644 --- a/packages/nimble-components/src/mapping/user/tests/mapping-user.spec.ts +++ b/packages/nimble-components/src/mapping/user/tests/mapping-user.spec.ts @@ -1,6 +1,6 @@ import { html } from '@microsoft/fast-element'; import { MappingUser, mappingUserTag } from '..'; -import { fixture, Fixture } from '../../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../../utilities/tests/fixture'; describe('User Mapping', () => { let element: MappingUser; diff --git a/packages/nimble-components/src/menu-button/index.ts b/packages/nimble-components/src/menu-button/index.ts index 9b3d348739..2b5bfee93a 100644 --- a/packages/nimble-components/src/menu-button/index.ts +++ b/packages/nimble-components/src/menu-button/index.ts @@ -13,7 +13,7 @@ import { import { ButtonAppearance, ButtonAppearanceVariant, - MenuButtonToggleEventDetail, + type MenuButtonToggleEventDetail, MenuButtonPosition } from './types'; import type { ToggleButton } from '../toggle-button'; diff --git a/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts b/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts index 0a4948a98d..6cc88c05f4 100644 --- a/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts +++ b/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts @@ -2,11 +2,11 @@ import { html } from '@microsoft/fast-element'; import { eventChange, keyEnter } from '@microsoft/fast-web-utilities'; import { FoundationElement } from '@microsoft/fast-foundation'; import { parameterizeSuite } from '@ni/jasmine-parameterized'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { menuTag, type Menu } from '../../menu'; import { menuItemTag, type MenuItem } from '../../menu-item'; import { MenuButton, menuButtonTag } from '..'; -import { MenuButtonToggleEventDetail, MenuButtonPosition } from '../types'; +import { type MenuButtonToggleEventDetail, MenuButtonPosition } from '../types'; import { processUpdates, waitForUpdatesAsync diff --git a/packages/nimble-components/src/menu-item/index.ts b/packages/nimble-components/src/menu-item/index.ts index 658021d688..b5f1e2ef4b 100644 --- a/packages/nimble-components/src/menu-item/index.ts +++ b/packages/nimble-components/src/menu-item/index.ts @@ -2,7 +2,7 @@ import { DesignSystem, MenuItem as FoundationMenuItem, menuItemTemplate as template, - MenuItemOptions + type MenuItemOptions } from '@microsoft/fast-foundation'; import { arrowExpanderRight16X16 } from '@ni/nimble-tokens/dist/icons/js'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/menu/menu.foundation.ts b/packages/nimble-components/src/menu/menu.foundation.ts index 45aae16c89..0496a9369c 100644 --- a/packages/nimble-components/src/menu/menu.foundation.ts +++ b/packages/nimble-components/src/menu/menu.foundation.ts @@ -12,7 +12,7 @@ import { import { FoundationElement, MenuItem, - MenuItemColumnCount, + type MenuItemColumnCount, MenuItemRole, roleForMenuItem } from '@microsoft/fast-foundation'; diff --git a/packages/nimble-components/src/menu/tests/menu.spec.ts b/packages/nimble-components/src/menu/tests/menu.spec.ts index 171910eea4..67574fe7f6 100644 --- a/packages/nimble-components/src/menu/tests/menu.spec.ts +++ b/packages/nimble-components/src/menu/tests/menu.spec.ts @@ -4,7 +4,7 @@ import { Menu, menuTag } from '..'; import { menuItemTag } from '../../menu-item'; import { anchorMenuItemTag } from '../../anchor-menu-item'; import { iconCheckTag } from '../../icons/check'; -import { Fixture, fixture } from '../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; describe('Menu', () => { diff --git a/packages/nimble-components/src/number-field/index.ts b/packages/nimble-components/src/number-field/index.ts index 4be6faee70..7b06d51025 100644 --- a/packages/nimble-components/src/number-field/index.ts +++ b/packages/nimble-components/src/number-field/index.ts @@ -2,7 +2,7 @@ import { attr, html } from '@microsoft/fast-element'; import { DesignSystem, NumberField as FoundationNumberField, - NumberFieldOptions + type NumberFieldOptions } from '@microsoft/fast-foundation'; import { styles } from './styles'; import { NumberFieldAppearance } from './types'; diff --git a/packages/nimble-components/src/number-field/template.ts b/packages/nimble-components/src/number-field/template.ts index f39337fa9a..de759d3381 100644 --- a/packages/nimble-components/src/number-field/template.ts +++ b/packages/nimble-components/src/number-field/template.ts @@ -2,8 +2,8 @@ import { html, ref, slotted, when } from '@microsoft/fast-element'; import type { ViewTemplate } from '@microsoft/fast-element'; import { endSlotTemplate, - FoundationElementTemplate, - NumberFieldOptions, + type FoundationElementTemplate, + type NumberFieldOptions, startSlotTemplate } from '@microsoft/fast-foundation'; import type { NumberField } from '.'; diff --git a/packages/nimble-components/src/patterns/error/tests/error-pattern-mixin.spec.ts b/packages/nimble-components/src/patterns/error/tests/error-pattern-mixin.spec.ts index 1656b269f7..371bc7eef1 100644 --- a/packages/nimble-components/src/patterns/error/tests/error-pattern-mixin.spec.ts +++ b/packages/nimble-components/src/patterns/error/tests/error-pattern-mixin.spec.ts @@ -1,7 +1,7 @@ import { customElement, html } from '@microsoft/fast-element'; import { FoundationElement } from '@microsoft/fast-foundation'; import { - Fixture, + type Fixture, fixture, uniqueElementName } from '../../../utilities/tests/fixture'; diff --git a/packages/nimble-components/src/patterns/required-visible/tests/required-visible-pattern-mixin.spec.ts b/packages/nimble-components/src/patterns/required-visible/tests/required-visible-pattern-mixin.spec.ts index d5238f4503..17708ef7f1 100644 --- a/packages/nimble-components/src/patterns/required-visible/tests/required-visible-pattern-mixin.spec.ts +++ b/packages/nimble-components/src/patterns/required-visible/tests/required-visible-pattern-mixin.spec.ts @@ -1,7 +1,7 @@ import { customElement, html } from '@microsoft/fast-element'; import { FoundationElement } from '@microsoft/fast-foundation'; import { - Fixture, + type Fixture, fixture, uniqueElementName } from '../../../utilities/tests/fixture'; diff --git a/packages/nimble-components/src/patterns/tabs/template.ts b/packages/nimble-components/src/patterns/tabs/template.ts index 4719279847..0dbee1537a 100644 --- a/packages/nimble-components/src/patterns/tabs/template.ts +++ b/packages/nimble-components/src/patterns/tabs/template.ts @@ -3,8 +3,8 @@ import type { ViewTemplate } from '@microsoft/fast-element'; import { endSlotTemplate, startSlotTemplate, - FoundationElementTemplate, - TabsOptions + type FoundationElementTemplate, + type TabsOptions } from '@microsoft/fast-foundation'; import type { Tabs } from '../../tabs'; import { buttonTag } from '../../button'; diff --git a/packages/nimble-components/src/radio-group/tests/radio-group.spec.ts b/packages/nimble-components/src/radio-group/tests/radio-group.spec.ts index 01cf60c7be..09d5cc4a18 100644 --- a/packages/nimble-components/src/radio-group/tests/radio-group.spec.ts +++ b/packages/nimble-components/src/radio-group/tests/radio-group.spec.ts @@ -1,6 +1,6 @@ import { html } from '@microsoft/fast-element'; import { RadioGroup, radioGroupTag } from '..'; -import { Fixture, fixture } from '../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { processUpdates } from '../../testing/async-helpers'; async function setup(): Promise> { diff --git a/packages/nimble-components/src/radio/index.ts b/packages/nimble-components/src/radio/index.ts index 586774a7a3..13cce2cdf4 100644 --- a/packages/nimble-components/src/radio/index.ts +++ b/packages/nimble-components/src/radio/index.ts @@ -2,7 +2,7 @@ import { Radio as FoundationRadio, radioTemplate as template, DesignSystem, - RadioOptions + type RadioOptions } from '@microsoft/fast-foundation'; import { circleFilled16X16 } from '@ni/nimble-tokens/dist/icons/js'; import { styles } from './styles'; diff --git a/packages/nimble-components/src/rich-text-mention/base/index.ts b/packages/nimble-components/src/rich-text-mention/base/index.ts index e81ce5ac3a..216536c9dd 100644 --- a/packages/nimble-components/src/rich-text-mention/base/index.ts +++ b/packages/nimble-components/src/rich-text-mention/base/index.ts @@ -1,9 +1,9 @@ import { attr, - Notifier, + type Notifier, Observable, observable, - Subscriber + type Subscriber } from '@microsoft/fast-element'; import { FoundationElement } from '@microsoft/fast-foundation'; import type { MappingConfig } from './models/mapping-config'; @@ -13,7 +13,7 @@ import type { } from './models/mention-validator'; import { MentionInternals, - MentionInternalsOptions + type MentionInternalsOptions } from './models/mention-internals'; import { Mapping } from '../../mapping/base'; import type { MappingConfigs, MentionUpdateEventDetail } from './types'; diff --git a/packages/nimble-components/src/rich-text-mention/base/models/mention-validator.ts b/packages/nimble-components/src/rich-text-mention/base/models/mention-validator.ts index 736e80bb05..c4a75c0d2f 100644 --- a/packages/nimble-components/src/rich-text-mention/base/models/mention-validator.ts +++ b/packages/nimble-components/src/rich-text-mention/base/models/mention-validator.ts @@ -1,5 +1,8 @@ import type { Mapping } from '../../../mapping/base'; -import { Validator, ValidityObject } from '../../../utilities/models/validator'; +import { + Validator, + type ValidityObject +} from '../../../utilities/models/validator'; // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface RichTextMentionValidity extends ValidityObject {} diff --git a/packages/nimble-components/src/rich-text-mention/users/tests/rich-text-mention-users.spec.ts b/packages/nimble-components/src/rich-text-mention/users/tests/rich-text-mention-users.spec.ts index 518518941c..bf39d64ea4 100644 --- a/packages/nimble-components/src/rich-text-mention/users/tests/rich-text-mention-users.spec.ts +++ b/packages/nimble-components/src/rich-text-mention/users/tests/rich-text-mention-users.spec.ts @@ -3,7 +3,7 @@ import { RichTextMentionUsers, richTextMentionUsersTag } from '..'; import type { MappingUserKey } from '../../../mapping/base/types'; import { MappingUser, mappingUserTag } from '../../../mapping/user'; import { mappingTextTag } from '../../../mapping/text'; -import { Fixture, fixture } from '../../../utilities/tests/fixture'; +import { type Fixture, fixture } from '../../../utilities/tests/fixture'; import { iconAtTag } from '../../../icons/at'; import { waitForUpdatesAsync } from '../../../testing/async-helpers'; diff --git a/packages/nimble-components/src/rich-text/editor/index.ts b/packages/nimble-components/src/rich-text/editor/index.ts index c828fbaf82..23278cb33b 100644 --- a/packages/nimble-components/src/rich-text/editor/index.ts +++ b/packages/nimble-components/src/rich-text/editor/index.ts @@ -8,7 +8,7 @@ import { keyEnter, keySpace } from '@microsoft/fast-web-utilities'; import { findParentNode, isList, - AnyExtension, + type AnyExtension, Extension, Editor } from '@tiptap/core'; @@ -22,8 +22,8 @@ import type { ToggleButton } from '../../toggle-button'; import { TipTapNodeName, mentionPluginPrefix, - MentionDetail, - FormatButtonsState + type MentionDetail, + type FormatButtonsState } from './types'; import { mixinErrorPattern } from '../../patterns/error/types'; import { RichTextMarkdownParser } from '../models/markdown-parser'; diff --git a/packages/nimble-components/src/rich-text/editor/models/create-tiptap-editor.ts b/packages/nimble-components/src/rich-text/editor/models/create-tiptap-editor.ts index 0b50d06201..b467976da9 100644 --- a/packages/nimble-components/src/rich-text/editor/models/create-tiptap-editor.ts +++ b/packages/nimble-components/src/rich-text/editor/models/create-tiptap-editor.ts @@ -17,8 +17,8 @@ import { PluginKey } from 'prosemirror-state'; import { keyEscape } from '@microsoft/fast-web-utilities'; import { - ActiveMentionCommandEmitter, - ActiveMentionCharacterEmitter, + type ActiveMentionCommandEmitter, + type ActiveMentionCharacterEmitter, mentionPluginPrefix } from '../types'; diff --git a/packages/nimble-components/src/rich-text/editor/testing/rich-text-editor.pageobject.ts b/packages/nimble-components/src/rich-text/editor/testing/rich-text-editor.pageobject.ts index 53897f0ac2..1df6330d13 100644 --- a/packages/nimble-components/src/rich-text/editor/testing/rich-text-editor.pageobject.ts +++ b/packages/nimble-components/src/rich-text/editor/testing/rich-text-editor.pageobject.ts @@ -9,9 +9,9 @@ import { waitForUpdatesAsync } from '../../../testing/async-helpers'; import { toggleButtonTag, type ToggleButton } from '../../../toggle-button'; import { ArrowKeyButton, - MappingConfiguration, + type MappingConfiguration, ToolbarButton, - ToolbarButtonKey + type ToolbarButtonKey } from './types'; import { getTagsFromElement, diff --git a/packages/nimble-components/src/rich-text/mention-listbox/index.ts b/packages/nimble-components/src/rich-text/mention-listbox/index.ts index 6a315e0a1a..081d4ec838 100644 --- a/packages/nimble-components/src/rich-text/mention-listbox/index.ts +++ b/packages/nimble-components/src/rich-text/mention-listbox/index.ts @@ -1,4 +1,4 @@ -import { Notifier, Observable, observable } from '@microsoft/fast-element'; +import { type Notifier, Observable, observable } from '@microsoft/fast-element'; import { DesignSystem, ListboxElement as FoundationListbox, diff --git a/packages/nimble-components/src/select/index.ts b/packages/nimble-components/src/select/index.ts index 86003e95f7..96ee66a230 100644 --- a/packages/nimble-components/src/select/index.ts +++ b/packages/nimble-components/src/select/index.ts @@ -11,7 +11,7 @@ import { DesignSystem, Select as FoundationSelect, ListboxOption, - SelectOptions, + type SelectOptions, SelectPosition, applyMixins, StartEnd, @@ -32,14 +32,14 @@ import { arrowExpanderDown16X16 } from '@ni/nimble-tokens/dist/icons/js'; import { styles } from './styles'; import { DropdownAppearance, - ListOptionOwner + type ListOptionOwner } from '../patterns/dropdown/types'; import { errorTextTemplate } from '../patterns/error/template'; import { mixinErrorPattern } from '../patterns/error/types'; import { iconExclamationMarkTag } from '../icons/exclamation-mark'; import { isListOption, isListOptionGroup, template } from './template'; import type { ListOption } from '../list-option'; -import { FilterMode, SelectFilterInputEventDetail } from './types'; +import { FilterMode, type SelectFilterInputEventDetail } from './types'; import { diacriticInsensitiveStringNormalizer } from '../utilities/models/string-normalizers'; import { FormAssociatedSelect } from './models/select-form-associated'; import type { ListOptionGroup } from '../list-option-group'; diff --git a/packages/nimble-components/src/select/template.ts b/packages/nimble-components/src/select/template.ts index 0fbb999534..e467164337 100644 --- a/packages/nimble-components/src/select/template.ts +++ b/packages/nimble-components/src/select/template.ts @@ -7,8 +7,8 @@ import { } from '@microsoft/fast-element'; import { endSlotTemplate, - FoundationElementTemplate, - SelectOptions, + type FoundationElementTemplate, + type SelectOptions, startSlotTemplate } from '@microsoft/fast-foundation'; import type { Select } from '.'; diff --git a/packages/nimble-components/src/select/testing/tests/select.pageobject.spec.ts b/packages/nimble-components/src/select/testing/tests/select.pageobject.spec.ts index d0b51b3d68..6491db393d 100644 --- a/packages/nimble-components/src/select/testing/tests/select.pageobject.spec.ts +++ b/packages/nimble-components/src/select/testing/tests/select.pageobject.spec.ts @@ -1,5 +1,5 @@ import { html } from '@microsoft/fast-element'; -import { fixture, Fixture } from '../../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../../utilities/tests/fixture'; import { SelectPageObject } from '../select.pageobject'; import { selectTag, type Select } from '../..'; import { listOptionTag } from '../../../list-option'; diff --git a/packages/nimble-components/src/select/tests/select.spec.ts b/packages/nimble-components/src/select/tests/select.spec.ts index 8333379ad1..be13cdb8c7 100644 --- a/packages/nimble-components/src/select/tests/select.spec.ts +++ b/packages/nimble-components/src/select/tests/select.spec.ts @@ -1,6 +1,6 @@ import { html, repeat } from '@microsoft/fast-element'; import { parameterizeSpec, parameterizeSuite } from '@ni/jasmine-parameterized'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Select, selectTag } from '..'; import { SelectPageObjectInternal as SelectPageObject } from './select.pageobject.internal'; import { ListOption, listOptionTag } from '../../list-option'; @@ -9,7 +9,7 @@ import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { checkFullyInViewport } from '../../utilities/tests/intersection-observer'; -import { FilterMode, SelectFilterInputEventDetail } from '../types'; +import { FilterMode, type SelectFilterInputEventDetail } from '../types'; import { waitForEvent, waitAnimationFrame diff --git a/packages/nimble-components/src/spinner/tests/spinner.spec.ts b/packages/nimble-components/src/spinner/tests/spinner.spec.ts index 821633bb9b..27663bba51 100644 --- a/packages/nimble-components/src/spinner/tests/spinner.spec.ts +++ b/packages/nimble-components/src/spinner/tests/spinner.spec.ts @@ -1,5 +1,5 @@ import { html } from '@microsoft/fast-element'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Spinner, spinnerTag } from '..'; async function setup(): Promise> { diff --git a/packages/nimble-components/src/switch/index.ts b/packages/nimble-components/src/switch/index.ts index 8348e6c559..ad79b9567c 100644 --- a/packages/nimble-components/src/switch/index.ts +++ b/packages/nimble-components/src/switch/index.ts @@ -1,7 +1,7 @@ import { DesignSystem, Switch as FoundationSwitch, - SwitchOptions + type SwitchOptions } from '@microsoft/fast-foundation'; import { styles } from './styles'; import { template } from './template'; diff --git a/packages/nimble-components/src/switch/tests/switch.spec.ts b/packages/nimble-components/src/switch/tests/switch.spec.ts index 2e744b4df5..f6a32d3886 100644 --- a/packages/nimble-components/src/switch/tests/switch.spec.ts +++ b/packages/nimble-components/src/switch/tests/switch.spec.ts @@ -1,6 +1,6 @@ import { html } from '@microsoft/fast-element'; import { keyEnter, keySpace } from '@microsoft/fast-web-utilities'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { Switch, switchTag } from '..'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; diff --git a/packages/nimble-components/src/table-column/anchor/tests/table-column-anchor.spec.ts b/packages/nimble-components/src/table-column/anchor/tests/table-column-anchor.spec.ts index 34ccb55c3a..be2985db00 100644 --- a/packages/nimble-components/src/table-column/anchor/tests/table-column-anchor.spec.ts +++ b/packages/nimble-components/src/table-column/anchor/tests/table-column-anchor.spec.ts @@ -5,7 +5,10 @@ import { tableTag, type Table } from '../../../table'; import { TableColumnAnchor, tableColumnAnchorTag } from '..'; import { waitForUpdatesAsync } from '../../../testing/async-helpers'; import { type Fixture, fixture } from '../../../utilities/tests/fixture'; -import { TableColumnSortDirection, TableRecord } from '../../../table/types'; +import { + TableColumnSortDirection, + type TableRecord +} from '../../../table/types'; import { TablePageObject } from '../../../table/testing/table.pageobject'; import { wackyStrings } from '../../../utilities/tests/wacky-strings'; import type { Anchor } from '../../../anchor'; diff --git a/packages/nimble-components/src/table-column/base/index.ts b/packages/nimble-components/src/table-column/base/index.ts index 1fb4294c9f..5c72f1de01 100644 --- a/packages/nimble-components/src/table-column/base/index.ts +++ b/packages/nimble-components/src/table-column/base/index.ts @@ -2,7 +2,7 @@ import { attr, observable } from '@microsoft/fast-element'; import { FoundationElement } from '@microsoft/fast-foundation'; import { ColumnInternals, - ColumnInternalsOptions + type ColumnInternalsOptions } from './models/column-internals'; import type { TableColumnValidity } from './types'; import type { ColumnValidator } from './models/column-validator'; diff --git a/packages/nimble-components/src/table-column/base/models/column-internals.ts b/packages/nimble-components/src/table-column/base/models/column-internals.ts index 6beed629b9..e632b2d505 100644 --- a/packages/nimble-components/src/table-column/base/models/column-internals.ts +++ b/packages/nimble-components/src/table-column/base/models/column-internals.ts @@ -3,7 +3,7 @@ import { ViewTemplate, observable } from '@microsoft/fast-element'; import { TableColumnAlignment, TableColumnSortDirection, - TableFieldName + type TableFieldName } from '../../../table/types'; import type { TableCell } from '../../../table/components/cell'; import { diff --git a/packages/nimble-components/src/table-column/base/tests/table-cell-view.spec.ts b/packages/nimble-components/src/table-column/base/tests/table-cell-view.spec.ts index 8aa5698131..440f4310a2 100644 --- a/packages/nimble-components/src/table-column/base/tests/table-cell-view.spec.ts +++ b/packages/nimble-components/src/table-column/base/tests/table-cell-view.spec.ts @@ -2,7 +2,7 @@ import { customElement } from '@microsoft/fast-element'; import { TableColumn } from '..'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import type { TableCellView } from '../cell-view'; diff --git a/packages/nimble-components/src/table-column/base/tests/table-column.spec.ts b/packages/nimble-components/src/table-column/base/tests/table-column.spec.ts index b022d8e633..204798b249 100644 --- a/packages/nimble-components/src/table-column/base/tests/table-column.spec.ts +++ b/packages/nimble-components/src/table-column/base/tests/table-column.spec.ts @@ -1,7 +1,7 @@ import { customElement } from '@microsoft/fast-element'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import { diff --git a/packages/nimble-components/src/table-column/date-text/index.ts b/packages/nimble-components/src/table-column/date-text/index.ts index 849048cee2..fc7d52c0cf 100644 --- a/packages/nimble-components/src/table-column/date-text/index.ts +++ b/packages/nimble-components/src/table-column/date-text/index.ts @@ -1,6 +1,6 @@ import { DesignSystem, - DesignTokenSubscriber + type DesignTokenSubscriber } from '@microsoft/fast-foundation'; import { attr } from '@microsoft/fast-element'; import { styles } from '../base/styles'; @@ -11,8 +11,8 @@ import { TableColumnSortOperation } from '../base/types'; import { tableColumnDateTextGroupHeaderViewTag } from './group-header-view'; import { tableColumnDateTextCellViewTag } from './cell-view'; import type { ColumnInternalsOptions } from '../base/models/column-internals'; -import { - DateTextFormat, +import { DateTextFormat } from './types'; +import type { LocaleMatcherAlgorithm, EraFormat, YearFormat, diff --git a/packages/nimble-components/src/table-column/duration-text/index.ts b/packages/nimble-components/src/table-column/duration-text/index.ts index ca2b22c1ca..8727d40491 100644 --- a/packages/nimble-components/src/table-column/duration-text/index.ts +++ b/packages/nimble-components/src/table-column/duration-text/index.ts @@ -1,6 +1,6 @@ import { DesignSystem, - DesignTokenSubscriber + type DesignTokenSubscriber } from '@microsoft/fast-foundation'; import { styles } from '../base/styles'; import { template } from '../base/template'; diff --git a/packages/nimble-components/src/table-column/enum-base/index.ts b/packages/nimble-components/src/table-column/enum-base/index.ts index 485357c099..74bf315b9e 100644 --- a/packages/nimble-components/src/table-column/enum-base/index.ts +++ b/packages/nimble-components/src/table-column/enum-base/index.ts @@ -1,9 +1,9 @@ import { attr, - Notifier, + type Notifier, Observable, observable, - Subscriber + type Subscriber } from '@microsoft/fast-element'; import type { TableStringField, diff --git a/packages/nimble-components/src/table-column/mapping/cell-view/index.ts b/packages/nimble-components/src/table-column/mapping/cell-view/index.ts index 2a2c9db145..451a2eff37 100644 --- a/packages/nimble-components/src/table-column/mapping/cell-view/index.ts +++ b/packages/nimble-components/src/table-column/mapping/cell-view/index.ts @@ -8,13 +8,13 @@ import type { TableColumnEnumColumnConfig } from '../../enum-base'; import { - IconView, + type IconView, MappingIconConfig } from '../../enum-base/models/mapping-icon-config'; import { IconSeverity } from '../../../icon-base/types'; import { MappingSpinnerConfig, - SpinnerView + type SpinnerView } from '../../enum-base/models/mapping-spinner-config'; import { MappingTextConfig } from '../../enum-base/models/mapping-text-config'; import { MappingEmptyConfig } from '../../enum-base/models/mapping-empty-config'; diff --git a/packages/nimble-components/src/table-column/mapping/group-header-view/index.ts b/packages/nimble-components/src/table-column/mapping/group-header-view/index.ts index 97854ef69d..09ac1e0435 100644 --- a/packages/nimble-components/src/table-column/mapping/group-header-view/index.ts +++ b/packages/nimble-components/src/table-column/mapping/group-header-view/index.ts @@ -11,7 +11,7 @@ import { } from '../../enum-base/models/mapping-icon-config'; import { MappingSpinnerConfig, - SpinnerView + type SpinnerView } from '../../enum-base/models/mapping-spinner-config'; import { MappingTextConfig } from '../../enum-base/models/mapping-text-config'; import { MappingEmptyConfig } from '../../enum-base/models/mapping-empty-config'; diff --git a/packages/nimble-components/src/table-column/mapping/index.ts b/packages/nimble-components/src/table-column/mapping/index.ts index 4944824315..0ee6413c7e 100644 --- a/packages/nimble-components/src/table-column/mapping/index.ts +++ b/packages/nimble-components/src/table-column/mapping/index.ts @@ -1,9 +1,9 @@ import { DesignSystem } from '@microsoft/fast-foundation'; import { attr } from '@microsoft/fast-element'; import { - MappingConfigs, + type MappingConfigs, TableColumnEnumBase, - TableColumnEnumColumnConfig + type TableColumnEnumColumnConfig } from '../enum-base'; import { styles } from '../enum-base/styles'; import { template } from '../enum-base/template'; diff --git a/packages/nimble-components/src/table-column/menu-button/index.ts b/packages/nimble-components/src/table-column/menu-button/index.ts index fa5ee86f90..ba38360ac0 100644 --- a/packages/nimble-components/src/table-column/menu-button/index.ts +++ b/packages/nimble-components/src/table-column/menu-button/index.ts @@ -9,7 +9,7 @@ import { ColumnValidator } from '../base/models/column-validator'; import { mixinFractionalWidthColumnAPI } from '../mixins/fractional-width-column'; import { TableColumn } from '../base'; import { - MenuButtonColumnToggleEventDetail, + type MenuButtonColumnToggleEventDetail, cellViewMenuSlotName } from './types'; import type { DelegatedEventEventDetails } from '../base/types'; diff --git a/packages/nimble-components/src/table-column/mixins/custom-sort-order.ts b/packages/nimble-components/src/table-column/mixins/custom-sort-order.ts index 28a4c6f534..b7ceba7c23 100644 --- a/packages/nimble-components/src/table-column/mixins/custom-sort-order.ts +++ b/packages/nimble-components/src/table-column/mixins/custom-sort-order.ts @@ -1,4 +1,4 @@ -import { Notifier, Observable, attr } from '@microsoft/fast-element'; +import { type Notifier, Observable, attr } from '@microsoft/fast-element'; import type { TableColumn } from '../base'; import { TableColumnSortOperation } from '../base/types'; import type { ColumnValidator } from '../base/models/column-validator'; diff --git a/packages/nimble-components/src/table-column/mixins/tests/custom-sort-order.spec.ts b/packages/nimble-components/src/table-column/mixins/tests/custom-sort-order.spec.ts index f7384f78dd..1f97c7d653 100644 --- a/packages/nimble-components/src/table-column/mixins/tests/custom-sort-order.spec.ts +++ b/packages/nimble-components/src/table-column/mixins/tests/custom-sort-order.spec.ts @@ -1,7 +1,7 @@ import { customElement } from '@microsoft/fast-element'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import { TableColumn } from '../../base'; diff --git a/packages/nimble-components/src/table-column/mixins/tests/fractional-width-column.spec.ts b/packages/nimble-components/src/table-column/mixins/tests/fractional-width-column.spec.ts index c937e3a0a6..143219bfa0 100644 --- a/packages/nimble-components/src/table-column/mixins/tests/fractional-width-column.spec.ts +++ b/packages/nimble-components/src/table-column/mixins/tests/fractional-width-column.spec.ts @@ -1,7 +1,7 @@ import { customElement } from '@microsoft/fast-element'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import { TableColumn } from '../../base'; diff --git a/packages/nimble-components/src/table-column/mixins/tests/groupable-column.spec.ts b/packages/nimble-components/src/table-column/mixins/tests/groupable-column.spec.ts index 33e325750d..4bdf705b54 100644 --- a/packages/nimble-components/src/table-column/mixins/tests/groupable-column.spec.ts +++ b/packages/nimble-components/src/table-column/mixins/tests/groupable-column.spec.ts @@ -1,7 +1,7 @@ import { customElement } from '@microsoft/fast-element'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import { TableColumn } from '../../base'; diff --git a/packages/nimble-components/src/table-column/mixins/tests/sortable-column.spec.ts b/packages/nimble-components/src/table-column/mixins/tests/sortable-column.spec.ts index 075afd9db0..42db08225c 100644 --- a/packages/nimble-components/src/table-column/mixins/tests/sortable-column.spec.ts +++ b/packages/nimble-components/src/table-column/mixins/tests/sortable-column.spec.ts @@ -1,7 +1,7 @@ import { customElement } from '@microsoft/fast-element'; import { fixture, - Fixture, + type Fixture, uniqueElementName } from '../../../utilities/tests/fixture'; import { TableColumn } from '../../base'; diff --git a/packages/nimble-components/src/table-column/number-text/index.ts b/packages/nimble-components/src/table-column/number-text/index.ts index 76bf20cbff..5a57f05790 100644 --- a/packages/nimble-components/src/table-column/number-text/index.ts +++ b/packages/nimble-components/src/table-column/number-text/index.ts @@ -1,14 +1,14 @@ import { DesignSystem, - DesignTokenSubscriber + type DesignTokenSubscriber } from '@microsoft/fast-foundation'; import { attr, - Notifier, + type Notifier, nullableNumberConverter, Observable, observable, - Subscriber + type Subscriber } from '@microsoft/fast-element'; import { styles } from '../base/styles'; import { template } from './template'; diff --git a/packages/nimble-components/src/table-column/text-base/cell-view/index.ts b/packages/nimble-components/src/table-column/text-base/cell-view/index.ts index 8aa6f0b04f..e9cb0f14ec 100644 --- a/packages/nimble-components/src/table-column/text-base/cell-view/index.ts +++ b/packages/nimble-components/src/table-column/text-base/cell-view/index.ts @@ -1,7 +1,10 @@ import { observable } from '@microsoft/fast-element'; import { TableCellView } from '../../base/cell-view'; import type { TableCellRecord } from '../../base/types'; -import { TableColumnAlignment, TableFieldValue } from '../../../table/types'; +import { + TableColumnAlignment, + type TableFieldValue +} from '../../../table/types'; export interface TableColumnTextBaseCellRecord extends TableCellRecord { value: TableFieldValue; diff --git a/packages/nimble-components/src/table/components/cell/template.ts b/packages/nimble-components/src/table/components/cell/template.ts index 85b65ab13a..01a66bb90d 100644 --- a/packages/nimble-components/src/table/components/cell/template.ts +++ b/packages/nimble-components/src/table/components/cell/template.ts @@ -4,7 +4,7 @@ import { iconThreeDotsLineTag } from '../../../icons/three-dots-line'; import { menuButtonTag } from '../../../menu-button'; import { ButtonAppearance, - MenuButtonToggleEventDetail + type MenuButtonToggleEventDetail } from '../../../menu-button/types'; import { tableCellActionMenuLabel } from '../../../label-provider/table/label-tokens'; diff --git a/packages/nimble-components/src/table/components/group-row/index.ts b/packages/nimble-components/src/table/components/group-row/index.ts index e4c9559e8c..141e41200a 100644 --- a/packages/nimble-components/src/table/components/group-row/index.ts +++ b/packages/nimble-components/src/table/components/group-row/index.ts @@ -4,9 +4,9 @@ import type { TableColumn } from '../../../table-column/base'; import { styles } from './styles'; import { template } from './template'; import { - TableRowFocusableElements, + type TableRowFocusableElements, TableRowSelectionState, - TableRowSelectionToggleEventDetail + type TableRowSelectionToggleEventDetail } from '../../types'; import type { Checkbox } from '../../../checkbox'; diff --git a/packages/nimble-components/src/table/components/group-row/tests/table-group-row.spec.ts b/packages/nimble-components/src/table/components/group-row/tests/table-group-row.spec.ts index 5f408badf8..138b0e2d29 100644 --- a/packages/nimble-components/src/table/components/group-row/tests/table-group-row.spec.ts +++ b/packages/nimble-components/src/table/components/group-row/tests/table-group-row.spec.ts @@ -1,11 +1,11 @@ import { html } from '@microsoft/fast-element'; import { TableGroupRow, tableGroupRowTag } from '..'; import { waitForEvent } from '../../../../utilities/testing/component'; -import { fixture, Fixture } from '../../../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../../../utilities/tests/fixture'; import { waitForUpdatesAsync } from '../../../../testing/async-helpers'; import { TableRowSelectionState, - TableRowSelectionToggleEventDetail + type TableRowSelectionToggleEventDetail } from '../../../types'; type TableRowSelectionToggleEventHandler = ( diff --git a/packages/nimble-components/src/table/components/row/index.ts b/packages/nimble-components/src/table/components/row/index.ts index bdb03bb891..d32e328d07 100644 --- a/packages/nimble-components/src/table/components/row/index.ts +++ b/packages/nimble-components/src/table/components/row/index.ts @@ -1,5 +1,5 @@ import { - Notifier, + type Notifier, Observable, attr, observable, diff --git a/packages/nimble-components/src/table/components/row/tests/table-row.spec.ts b/packages/nimble-components/src/table/components/row/tests/table-row.spec.ts index 4d6781bd2f..7f3d01fcc5 100644 --- a/packages/nimble-components/src/table/components/row/tests/table-row.spec.ts +++ b/packages/nimble-components/src/table/components/row/tests/table-row.spec.ts @@ -7,7 +7,7 @@ import { } from '../../../../table-column/text'; import { waitForUpdatesAsync } from '../../../../testing/async-helpers'; -import { fixture, Fixture } from '../../../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../../../utilities/tests/fixture'; import type { TableRecord, TableRowExpansionToggleEventDetail, @@ -18,7 +18,7 @@ import { waitForEvent } from '../../../../utilities/testing/component'; import { tableTag, type Table } from '../../..'; import { TableColumnDateText, - TableColumnDateTextCellRecord, + type TableColumnDateTextCellRecord, tableColumnDateTextTag } from '../../../../table-column/date-text'; diff --git a/packages/nimble-components/src/table/index.ts b/packages/nimble-components/src/table/index.ts index 534b4e6477..659c32a7b8 100644 --- a/packages/nimble-components/src/table/index.ts +++ b/packages/nimble-components/src/table/index.ts @@ -2,27 +2,29 @@ import { attr, Observable, observable, - Notifier, + type Notifier, DOM, volatile } from '@microsoft/fast-element'; import { Checkbox, DesignSystem, - DesignTokenSubscriber, + type DesignTokenSubscriber, FoundationElement } from '@microsoft/fast-foundation'; import { + createTable as tanStackCreateTable, + getCoreRowModel as tanStackGetCoreRowModel, + getSortedRowModel as tanStackGetSortedRowModel, + getGroupedRowModel as tanStackGetGroupedRowModel, + getExpandedRowModel as tanStackGetExpandedRowModel +} from '@tanstack/table-core'; +import type { ColumnDef as TanStackColumnDef, TableState as TanStackTableState, Updater as TanStackUpdater, Table as TanStackTable, Row as TanStackRow, - createTable as tanStackCreateTable, - getCoreRowModel as tanStackGetCoreRowModel, - getSortedRowModel as tanStackGetSortedRowModel, - getGroupedRowModel as tanStackGetGroupedRowModel, - getExpandedRowModel as tanStackGetExpandedRowModel, TableOptionsResolved as TanStackTableOptionsResolved, SortingState as TanStackSortingState, RowSelectionState as TanStackRowSelectionState, @@ -36,15 +38,17 @@ import { TableValidator } from './models/table-validator'; import { styles } from './styles'; import { template } from './template'; import { + TableColumnSortDirection, + TableRowSelectionMode, + TableRowSelectionState +} from './types'; +import type { TableNode, TableActionMenuToggleEventDetail, TableColumnConfigurationChangeEventDetail, - TableColumnSortDirection, TableFieldValue, TableRecord, TableRowSelectionEventDetail, - TableRowSelectionMode, - TableRowSelectionState, TableRowSelectionToggleEventDetail, TableRowState, TableValidity, diff --git a/packages/nimble-components/src/table/models/interactive-selection-manager.ts b/packages/nimble-components/src/table/models/interactive-selection-manager.ts index 241ded4292..ba91a269af 100644 --- a/packages/nimble-components/src/table/models/interactive-selection-manager.ts +++ b/packages/nimble-components/src/table/models/interactive-selection-manager.ts @@ -1,10 +1,6 @@ import type { Table as TanStackTable } from '@tanstack/table-core'; -import { - TableRecord, - TableRowState, - TableRowSelectionMode, - TableNode -} from '../types'; +import { TableRowSelectionMode } from '../types'; +import type { TableRecord, TableRowState, TableNode } from '../types'; import type { SelectionManagerBase } from './selection-managers/selection-manager-base'; import { DisabledSelectionManager } from './selection-managers/disabled-selection-manager'; import { MultiSelectionManager } from './selection-managers/multi-selection-manager'; diff --git a/packages/nimble-components/src/table/models/keyboard-navigation-manager.ts b/packages/nimble-components/src/table/models/keyboard-navigation-manager.ts index ac2b55fb02..041905a089 100644 --- a/packages/nimble-components/src/table/models/keyboard-navigation-manager.ts +++ b/packages/nimble-components/src/table/models/keyboard-navigation-manager.ts @@ -1,4 +1,8 @@ -import { Notifier, Subscriber, Observable } from '@microsoft/fast-element'; +import { + type Notifier, + type Subscriber, + Observable +} from '@microsoft/fast-element'; import { keyArrowDown, keyArrowLeft, @@ -17,12 +21,12 @@ import { import { FoundationElement } from '@microsoft/fast-foundation'; import type { ScrollToOptions } from '@tanstack/virtual-core'; import type { Table } from '..'; -import { +import { TableFocusType } from '../types'; +import type { TableActionMenuToggleEventDetail, - TableFocusType, TableHeaderFocusableElements, TableRowFocusableElements, - type TableRecord + TableRecord } from '../types'; import type { Virtualizer } from './virtualizer'; import { TableGroupRow } from '../components/group-row'; diff --git a/packages/nimble-components/src/table/models/selection-managers/multi-selection-manager.ts b/packages/nimble-components/src/table/models/selection-managers/multi-selection-manager.ts index 4c311d0401..9e70405074 100644 --- a/packages/nimble-components/src/table/models/selection-managers/multi-selection-manager.ts +++ b/packages/nimble-components/src/table/models/selection-managers/multi-selection-manager.ts @@ -3,10 +3,10 @@ import type { RowSelectionState as TanStackRowSelectionState } from '@tanstack/table-core'; import { - TableNode, - TableRecord, + type TableNode, + type TableRecord, TableRowSelectionState, - TableRowState + type TableRowState } from '../../types'; import { SelectionManagerBase } from './selection-manager-base'; diff --git a/packages/nimble-components/src/table/models/selection-managers/selection-manager-base.ts b/packages/nimble-components/src/table/models/selection-managers/selection-manager-base.ts index 541af5504f..f0f752337d 100644 --- a/packages/nimble-components/src/table/models/selection-managers/selection-manager-base.ts +++ b/packages/nimble-components/src/table/models/selection-managers/selection-manager-base.ts @@ -4,10 +4,10 @@ import type { RowSelectionState as TanStackRowSelectionState } from '@tanstack/table-core'; import { - TableNode, - TableRecord, + type TableNode, + type TableRecord, TableRowSelectionState, - TableRowState + type TableRowState } from '../../types'; /** diff --git a/packages/nimble-components/src/table/models/table-validator.ts b/packages/nimble-components/src/table/models/table-validator.ts index 89b04e3e6a..3d2d8c8e07 100644 --- a/packages/nimble-components/src/table/models/table-validator.ts +++ b/packages/nimble-components/src/table/models/table-validator.ts @@ -1,9 +1,9 @@ import type { TableColumn } from '../../table-column/base'; import { - TableRecord, + type TableRecord, TableRowSelectionMode, - TableSetRecordHierarchyOptions, - TableValidity + type TableSetRecordHierarchyOptions, + type TableValidity } from '../types'; /** diff --git a/packages/nimble-components/src/table/models/tests/table-validator.spec.ts b/packages/nimble-components/src/table/models/tests/table-validator.spec.ts index ea58ebd919..9e027ca2ef 100644 --- a/packages/nimble-components/src/table/models/tests/table-validator.spec.ts +++ b/packages/nimble-components/src/table/models/tests/table-validator.spec.ts @@ -1,9 +1,9 @@ import { parameterizeSpec } from '@ni/jasmine-parameterized'; import { - TableRecord, + type TableRecord, TableRecordDelayedHierarchyState, TableRowSelectionMode, - TableSetRecordHierarchyOptions + type TableSetRecordHierarchyOptions } from '../../types'; import { TableValidator } from '../table-validator'; import { diff --git a/packages/nimble-components/src/table/models/virtualizer.ts b/packages/nimble-components/src/table/models/virtualizer.ts index 31f1314da1..7032cfe5ad 100644 --- a/packages/nimble-components/src/table/models/virtualizer.ts +++ b/packages/nimble-components/src/table/models/virtualizer.ts @@ -2,12 +2,12 @@ import { observable } from '@microsoft/fast-element'; import type { Table as TanStackTable } from '@tanstack/table-core'; import { Virtualizer as TanStackVirtualizer, - VirtualizerOptions, + type VirtualizerOptions, elementScroll, observeElementOffset, observeElementRect, - VirtualItem, - ScrollToOptions + type VirtualItem, + type ScrollToOptions } from '@tanstack/virtual-core'; import type { Table } from '..'; import type { TableNode, TableRecord } from '../types'; diff --git a/packages/nimble-components/src/table/template.ts b/packages/nimble-components/src/table/template.ts index 0c99888519..816456ef86 100644 --- a/packages/nimble-components/src/table/template.ts +++ b/packages/nimble-components/src/table/template.ts @@ -13,13 +13,13 @@ import { tableHeaderTag } from './components/header'; import { tableRowTag } from './components/row'; import type { TableColumn } from '../table-column/base'; import { - RowSlotRequestEventDetail, - SlotMetadata, - TableActionMenuToggleEventDetail, + type RowSlotRequestEventDetail, + type SlotMetadata, + type TableActionMenuToggleEventDetail, TableColumnSortDirection, TableRowSelectionMode, TableRowSelectionState, - TableRowSelectionToggleEventDetail + type TableRowSelectionToggleEventDetail } from './types'; import { tableGroupRowTag } from './components/group-row'; import { buttonTag } from '../button'; diff --git a/packages/nimble-components/src/table/testing/table.pageobject.ts b/packages/nimble-components/src/table/testing/table.pageobject.ts index 0522f4f37d..0afca52750 100644 --- a/packages/nimble-components/src/table/testing/table.pageobject.ts +++ b/packages/nimble-components/src/table/testing/table.pageobject.ts @@ -4,7 +4,7 @@ import type { Table } from '..'; import { tableHeaderTag, type TableHeader } from '../components/header'; import { TableColumnSortDirection, - TableRecord, + type TableRecord, TableRowSelectionState } from '../types'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; diff --git a/packages/nimble-components/src/table/tests/table-action-menu.spec.ts b/packages/nimble-components/src/table/tests/table-action-menu.spec.ts index 8fc9b0bc43..307aabaed7 100644 --- a/packages/nimble-components/src/table/tests/table-action-menu.spec.ts +++ b/packages/nimble-components/src/table/tests/table-action-menu.spec.ts @@ -12,8 +12,8 @@ import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { waitForEvent } from '../../utilities/testing/component'; import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { - TableActionMenuToggleEventDetail, - TableRecord, + type TableActionMenuToggleEventDetail, + type TableRecord, TableRowSelectionMode } from '../types'; import { TablePageObject } from '../testing/table.pageobject'; diff --git a/packages/nimble-components/src/table/tests/table-grouping.spec.ts b/packages/nimble-components/src/table/tests/table-grouping.spec.ts index d7aa317832..aea7f2b4ae 100644 --- a/packages/nimble-components/src/table/tests/table-grouping.spec.ts +++ b/packages/nimble-components/src/table/tests/table-grouping.spec.ts @@ -6,7 +6,7 @@ import { } from '../../table-column/text'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { type Fixture, fixture } from '../../utilities/tests/fixture'; -import { TableColumnSortDirection, TableRecord } from '../types'; +import { TableColumnSortDirection, type TableRecord } from '../types'; import { TablePageObject } from '../testing/table.pageobject'; interface SimpleTableRecord extends TableRecord { diff --git a/packages/nimble-components/src/table/tests/table-keyboard-navigation.spec.ts b/packages/nimble-components/src/table/tests/table-keyboard-navigation.spec.ts index 6cfb6225fe..464fd5ed26 100644 --- a/packages/nimble-components/src/table/tests/table-keyboard-navigation.spec.ts +++ b/packages/nimble-components/src/table/tests/table-keyboard-navigation.spec.ts @@ -26,7 +26,7 @@ import { } from '../../utilities/tests/fixture'; import { TableColumnSortDirection, - TableRecord, + type TableRecord, TableRowSelectionMode } from '../types'; import { TablePageObject } from '../testing/table.pageobject'; diff --git a/packages/nimble-components/src/table/tests/table-selection.spec.ts b/packages/nimble-components/src/table/tests/table-selection.spec.ts index c67e1f08aa..31a5fbeb69 100644 --- a/packages/nimble-components/src/table/tests/table-selection.spec.ts +++ b/packages/nimble-components/src/table/tests/table-selection.spec.ts @@ -9,8 +9,8 @@ import { } from '../../utilities/testing/component'; import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { - TableRecord, - TableRowSelectionEventDetail, + type TableRecord, + type TableRowSelectionEventDetail, TableRowSelectionMode, TableRowSelectionState } from '../types'; diff --git a/packages/nimble-components/src/table/tests/table-sorting.spec.ts b/packages/nimble-components/src/table/tests/table-sorting.spec.ts index 0f79ed1bd5..6a83a288f1 100644 --- a/packages/nimble-components/src/table/tests/table-sorting.spec.ts +++ b/packages/nimble-components/src/table/tests/table-sorting.spec.ts @@ -7,11 +7,14 @@ import { import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { type Fixture, fixture } from '../../utilities/tests/fixture'; import { - TableColumnConfigurationChangeEventDetail, + type TableColumnConfigurationChangeEventDetail, TableColumnSortDirection, - TableRecord + type TableRecord } from '../types'; -import { SortedColumn, TablePageObject } from '../testing/table.pageobject'; +import { + type SortedColumn, + TablePageObject +} from '../testing/table.pageobject'; import { waitForEvent } from '../../utilities/testing/component'; interface SimpleTableRecord extends TableRecord { diff --git a/packages/nimble-components/src/table/tests/table.spec.ts b/packages/nimble-components/src/table/tests/table.spec.ts index 96d64ae07e..52d4b47192 100644 --- a/packages/nimble-components/src/table/tests/table.spec.ts +++ b/packages/nimble-components/src/table/tests/table.spec.ts @@ -19,9 +19,9 @@ import { import { TableColumnAlignment, TableColumnSortDirection, - TableRecord, + type TableRecord, TableRecordDelayedHierarchyState, - TableRecordHierarchyOptions + type TableRecordHierarchyOptions } from '../types'; import { TablePageObject } from '../testing/table.pageobject'; import { diff --git a/packages/nimble-components/src/tabs/index.ts b/packages/nimble-components/src/tabs/index.ts index d34a109a00..a6359208c2 100644 --- a/packages/nimble-components/src/tabs/index.ts +++ b/packages/nimble-components/src/tabs/index.ts @@ -2,7 +2,7 @@ import { observable } from '@microsoft/fast-element'; import { DesignSystem, Tabs as FoundationTabs, - TabsOptions + type TabsOptions } from '@microsoft/fast-foundation'; import { styles } from './styles'; import { template } from '../patterns/tabs/template'; diff --git a/packages/nimble-components/src/tabs/tests/tabs.spec.ts b/packages/nimble-components/src/tabs/tests/tabs.spec.ts index 4dc6edc2c6..a65add5be1 100644 --- a/packages/nimble-components/src/tabs/tests/tabs.spec.ts +++ b/packages/nimble-components/src/tabs/tests/tabs.spec.ts @@ -1,6 +1,6 @@ import { html } from '@microsoft/fast-element'; import { Tabs, tabsTag } from '..'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; import { TabsPageObject } from '../testing/tabs.pageobject'; import { tabTag } from '../../tab'; diff --git a/packages/nimble-components/src/text-area/tests/text-area.spec.ts b/packages/nimble-components/src/text-area/tests/text-area.spec.ts index a4a56d6645..a58f460a5e 100644 --- a/packages/nimble-components/src/text-area/tests/text-area.spec.ts +++ b/packages/nimble-components/src/text-area/tests/text-area.spec.ts @@ -5,7 +5,7 @@ import { processUpdates, waitForUpdatesAsync } from '../../testing/async-helpers'; -import { fixture, Fixture } from '../../utilities/tests/fixture'; +import { fixture, type Fixture } from '../../utilities/tests/fixture'; async function setup(): Promise> { return await fixture