From b42ecccb39dc6047b8b3a61f03e12a10fb2991f4 Mon Sep 17 00:00:00 2001 From: Vicki League Date: Mon, 23 Jun 2025 10:56:51 -0400 Subject: [PATCH] initial migration run (cherry picked from commit 4eb5023a304629067f135de19b3c28eae8827e65) --- .../src/a11y/a11y-title.directive.ts | 2 + .../anon-layout/anon-layout.component.html | 12 +++--- .../src/anon-layout/anon-layout.component.ts | 37 ++++++++++++++++--- .../src/async-actions/bit-action.directive.ts | 2 + .../src/async-actions/bit-submit.directive.ts | 10 ++--- .../async-actions/form-button.directive.ts | 15 ++++---- .../components/src/avatar/avatar.component.ts | 31 ++++++++-------- .../src/badge-list/badge-list.component.html | 6 +-- .../src/badge-list/badge-list.component.ts | 18 +++++---- .../components/src/badge/badge.component.html | 2 +- libs/components/src/badge/badge.component.ts | 23 ++++++------ .../src/banner/banner.component.html | 6 +-- .../components/src/banner/banner.component.ts | 15 +++++--- .../src/breadcrumbs/breadcrumb.component.ts | 22 ++++++++--- .../breadcrumbs/breadcrumbs.component.html | 12 +++--- .../src/breadcrumbs/breadcrumbs.component.ts | 11 +++--- .../components/src/button/button.component.ts | 6 ++- .../src/callout/callout.component.ts | 20 ++++++---- .../src/checkbox/checkbox.component.ts | 4 ++ .../chip-select/chip-select.component.html | 4 +- .../src/chip-select/chip-select.component.ts | 17 ++++++--- .../src/copy-click/copy-click.directive.ts | 26 +++++++++---- .../src/dialog/dialog/dialog.component.html | 14 +++---- .../src/dialog/dialog/dialog.component.ts | 18 +++++---- .../directives/dialog-close.directive.ts | 6 +-- .../dialog-title-container.directive.ts | 4 +- .../disclosure-trigger-for.directive.ts | 10 ++--- .../src/disclosure/disclosure.component.ts | 2 + .../form-control/form-control.component.ts | 8 +++- .../src/form-control/label.component.ts | 5 +++ .../src/form-field/error-summary.component.ts | 7 ++-- .../src/form-field/error.component.ts | 23 ++++++------ .../src/form-field/form-field.component.ts | 8 ++-- .../password-input-toggle.directive.ts | 2 + .../src/form-field/prefix.directive.ts | 2 + .../src/form-field/suffix.directive.ts | 2 + .../src/icon-button/icon-button.component.ts | 14 +++++-- libs/components/src/icon/icon.component.ts | 10 +++-- .../src/input/autofocus.directive.ts | 2 + libs/components/src/input/input.directive.ts | 22 +++++++++-- .../src/item/item-content.component.html | 8 ++-- .../src/item/item-content.component.ts | 4 +- libs/components/src/link/link.directive.ts | 9 ++--- .../src/menu/menu-item.directive.ts | 2 + .../src/menu/menu-trigger-for.directive.ts | 25 ++++++++----- libs/components/src/menu/menu.component.html | 6 +-- libs/components/src/menu/menu.component.ts | 8 ++-- .../multi-select/multi-select.component.html | 2 +- .../multi-select/multi-select.component.ts | 18 +++++++-- .../src/navigation/nav-base.component.ts | 23 +++++++----- .../src/navigation/nav-group.component.html | 24 ++++++------ .../src/navigation/nav-group.component.ts | 12 +++--- .../src/navigation/nav-item.component.html | 28 +++++++------- .../src/navigation/nav-item.component.ts | 6 +-- .../src/navigation/nav-logo.component.html | 14 +++---- .../src/navigation/nav-logo.component.ts | 10 ++--- .../src/navigation/side-nav.component.html | 2 +- .../src/navigation/side-nav.component.ts | 4 +- .../src/no-items/no-items.component.html | 2 +- .../src/no-items/no-items.component.ts | 4 +- .../popover/popover-trigger-for.directive.ts | 17 +++++---- .../src/popover/popover.component.html | 2 +- .../src/popover/popover.component.ts | 4 +- .../src/progress/progress.component.html | 4 +- .../src/progress/progress.component.ts | 22 +++++------ .../radio-button/radio-button.component.html | 4 +- .../radio-button/radio-button.component.ts | 15 +++++--- .../src/radio-button/radio-group.component.ts | 9 ++++- .../src/radio-button/radio-input.component.ts | 7 ++++ .../src/search/search.component.html | 4 +- .../components/src/search/search.component.ts | 8 ++-- .../src/section/section.component.ts | 6 +-- .../components/src/select/option.component.ts | 12 ++++++ .../src/select/select.component.html | 2 +- .../components/src/select/select.component.ts | 12 +++++- .../src/stepper/stepper.component.ts | 2 + libs/components/src/table/row.directive.ts | 6 +-- .../src/table/sortable.component.ts | 21 ++++++----- .../src/table/table-scroll.component.html | 4 +- .../src/table/table-scroll.component.ts | 6 +-- libs/components/src/table/table.component.ts | 18 +++++---- .../tabs/shared/tab-list-item.directive.ts | 11 ++++-- .../src/tabs/tab-group/tab-body.component.ts | 14 ++++--- .../tabs/tab-group/tab-group.component.html | 10 ++--- .../src/tabs/tab-group/tab-group.component.ts | 7 +++- .../src/tabs/tab-group/tab.component.ts | 8 ++-- .../tabs/tab-nav-bar/tab-link.component.html | 2 +- .../tabs/tab-nav-bar/tab-link.component.ts | 15 +++++++- .../tab-nav-bar/tab-nav-bar.component.html | 2 +- .../tabs/tab-nav-bar/tab-nav-bar.component.ts | 4 +- .../components/src/toast/toast.component.html | 6 +-- libs/components/src/toast/toast.component.ts | 19 ++++++---- .../toggle-group/toggle-group.component.ts | 7 +++- .../src/toggle-group/toggle.component.ts | 8 ++-- .../src/typography/typography.directive.ts | 8 ++-- 95 files changed, 602 insertions(+), 375 deletions(-) diff --git a/libs/components/src/a11y/a11y-title.directive.ts b/libs/components/src/a11y/a11y-title.directive.ts index f5f016b93c0..58f7834f35b 100644 --- a/libs/components/src/a11y/a11y-title.directive.ts +++ b/libs/components/src/a11y/a11y-title.directive.ts @@ -6,6 +6,8 @@ import { Directive, ElementRef, Input, OnInit, Renderer2 } from "@angular/core"; selector: "[appA11yTitle]", }) export class A11yTitleDirective implements OnInit { + // TODO: Skipped for migration because: + // Accessor inputs cannot be migrated as they are too complex. @Input() set appA11yTitle(title: string) { this.title = title; this.setAttributes(); diff --git a/libs/components/src/anon-layout/anon-layout.component.html b/libs/components/src/anon-layout/anon-layout.component.html index 4dfde5e7ef3..df353de91b0 100644 --- a/libs/components/src/anon-layout/anon-layout.component.html +++ b/libs/components/src/anon-layout/anon-layout.component.html @@ -6,7 +6,7 @@ }" > @@ -14,8 +14,8 @@
-
- +
+
@@ -50,11 +50,11 @@
-