common-header-lib 0.20.4 → 0.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,12 +2,34 @@
2
2
 
3
3
  Angular 20 shared header library for the Arcon platform. Provides the application header bar, LOB selector, user sidebar, notification panel, mailbox panel, waffle (9-dots) app panel, general configuration drawer, and all supporting services.
4
4
 
5
- Current published version: **0.20.4**
5
+ Current published version: **0.20.6**
6
6
 
7
7
  ---
8
8
 
9
9
  ## What's New
10
10
 
11
+ ### 0.20.6
12
+
13
+ - **9-dots app panel keyboard navigation**: full WAI-ARIA APG roving-focus grid — Arrow keys + Home/End move between app tiles, `aria-haspopup="dialog"` on the trigger. Tab past the last tile continues the user's forward tab traversal to the next page element instead of looping back onto the trigger; Shift+Tab out the front still returns to the trigger.
14
+ - **General Configuration tab buttons** now carry `aria-pressed`.
15
+ - **New `_accessibility.scss`**: the library's WCAG 2.4.7 focus-visible ring is now properly scoped to `.lib-ui` — previously an unscoped rule in `common-header-lib.component.scss` leaked its focus styling onto every focusable element on the host page (`ViewEncapsulation.None`).
16
+ - **Dropdown focus ring fixed**: PrimeNG's `p-select` puts keyboard-focus handling on an inner label span, not the outer box containing the dropdown chevron, so the ring previously stopped short of the chevron. Redirected via `:has(.p-select-label:focus-visible)` so the ring wraps the whole control; also removed a "double border" artifact from a pre-existing `.p-focus` rule.
17
+ - **`lib-ui` added to `SidePopupComponent` and `ConfirmDialogComponent`** — both were missing this marker class, so their contents fell back to the browser's raw default focus outline instead of this library's own ring.
18
+ - **Dialogs now render inside `<lib-app-header>` instead of `<body>`**: the LOB confirmation dialog, General Configuration, and Password/View Password dialogs previously escaped to `<body>`, so a consuming app could not target/style them with a scoped CSS selector. New `DialogHostService` gives them a reference to `<lib-app-header>`'s own host element to append into instead. `SidePopupComponent` already rendered inline and is unaffected.
19
+ - **`SliceToTwoPipe` fix**: hyphens are now treated as a name separator alongside spaces and underscores — `"Amit-Wagh"` previously produced `"AM"` instead of the correct `"AW"`.
20
+
21
+ ### 0.20.5
22
+
23
+ - **Dialog dragging disabled** — the LOB change confirmation dialog and both `DialogService`-opened dialogs (General Configuration, Password/View Password) now have dragging explicitly disabled. PrimeNG defaults `ConfirmDialog` to `draggable=true`, and `DynamicDialogConfig`'s class-field default of `draggable=false` is never applied by `DialogService.open()` (it forwards the caller's plain config object, and PrimeNG's own template checks `!== false`, so `undefined` resolved to draggable). `SidePopupComponent` was already non-draggable.
24
+ - **Password/View Password dialog border-radius** consolidated to a single rule on the dialog root (`overflow: hidden`), replacing separate top/bottom-corner overrides that could go out of sync.
25
+ - **Toast title**: `Generic_lib.Successful` now reads "Success" in English (other 7 languages unchanged; word choice already matched "Success" there).
26
+ - **Mailbox table**: removed the icon column (mail/flag/lock icons served no function) — table is now 4 columns.
27
+ - **i18n key rename**: `ArconLearningCenter` → `ArconCIResourceCenter`, displayed as "ARCON CI Resource Center" (English) across all 8 language files. The sidebar menu item's icon and click behavior are unchanged — only the label.
28
+ - **9-dots app panel accessibility**: the waffle popover now moves focus to the first app tile on open, traps Tab/Shift+Tab within the tiles while open, and restores focus to the 9-dots button on close.
29
+ - **Mailbox "read" row**: recolored to background `#CCE5FF` with a `#0073EA` left border (previously border-only).
30
+ - **`_mailbox.scss` scoping fix**: `.p-datatable-table` and `.p-paginator-page.p-paginator-page-selected` are now scoped under `.mail-content`, closing a global-leak gap the 0.20.4 dialog-scoping pass did not cover.
31
+ - **Deferred**: `appendTo="body"` for `SidePopupComponent` was requested but held back pending the parent project's specific DOM-placement symptom — no change shipped this release.
32
+
11
33
  ### 0.20.4
12
34
 
13
35
  - **Dialog/PrimeNG style scoping (breaking-leak fix)** — `_dialogs.scss` and `_primeng.scss` used to override PrimeNG's own global classes (`.p-dialog`, `.p-confirmdialog`, `.p-select`, `.p-inputtext`, `.p-multiselect`, `.p-checkbox`, `.p-tooltip`, etc.) with no library-specific scoping, so a host application's own unrelated PrimeNG dialogs/controls inherited this library's styling. Every one of those overrides is now scoped behind one of two marker classes the library applies to its own elements:
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "إعادة إنشاء",
15
15
  "Copied": "تم النسخ",
16
16
  "Action": "فعل",
17
- "ArconLearningCenter": "مركز أركون التعليمي",
17
+ "ArconCIResourceCenter": "مركز موارد ARCON CI",
18
18
  "AssetName": "اسم الأصول",
19
19
  "AssetNameFieldValidation": "الرجاء تحديد اسم الأصل",
20
20
  "AssetNamePlaceholder": "حدد اسم الأصل",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "Neu generieren",
15
15
  "Copied": "Kopiert",
16
16
  "Action": "Aktion",
17
- "ArconLearningCenter": "Arcon Lernzentrum",
17
+ "ArconCIResourceCenter": "ARCON CI-Ressourcenzentrum",
18
18
  "AssetName": "Asset-Name",
19
19
  "AssetNameFieldValidation": "Bitte Asset-Namen auswählen",
20
20
  "AssetNamePlaceholder": "Asset-Namen auswählen",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "Regenerate",
15
15
  "Copied": "Copied",
16
16
  "Action": "Action",
17
- "ArconLearningCenter": "Arcon Learning Center",
17
+ "ArconCIResourceCenter": "ARCON CI Resource Center",
18
18
  "AssetName": "Asset Name",
19
19
  "AssetNameFieldValidation": "Please Select Asset Name",
20
20
  "AssetNamePlaceholder": "Select Asset Name",
@@ -96,7 +96,7 @@
96
96
  "RequiredField": "Required field",
97
97
  "LandingPageValidation": "Please Select Application Name",
98
98
  "SettingInvalidLobIdMsg": "The LOB you are trying to set is not available.",
99
- "Successful": "Successful",
99
+ "Successful": "Success",
100
100
  "Error": "Error",
101
101
  "Warning": "Warning",
102
102
  "Information": "Information",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "Regenerar",
15
15
  "Copied": "Copiado",
16
16
  "Action": "Acción",
17
- "ArconLearningCenter": "Centro de Aprendizaje Arcon",
17
+ "ArconCIResourceCenter": "Centro de Recursos ARCON CI",
18
18
  "AssetName": "Nombre del activo",
19
19
  "AssetNameFieldValidation": "Por favor seleccione el nombre del activo",
20
20
  "AssetNamePlaceholder": "Seleccione el nombre del activo",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "Régénérer",
15
15
  "Copied": "Copié",
16
16
  "Action": "Action",
17
- "ArconLearningCenter": "Centre d’apprentissage Arcon",
17
+ "ArconCIResourceCenter": "Centre de ressources ARCON CI",
18
18
  "AssetName": "Nom de l’actif",
19
19
  "AssetNameFieldValidation": "Veuillez sélectionner le nom de l’actif",
20
20
  "AssetNamePlaceholder": "Sélectionnez le nom de l’actif",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "पुनः जनरेट करें",
15
15
  "Copied": "कॉपी किया गया",
16
16
  "Action": "क्रिया",
17
- "ArconLearningCenter": "आर्कॉन लर्निंग सेंटर",
17
+ "ArconCIResourceCenter": "आर्कॉन सीआई संसाधन केंद्र",
18
18
  "AssetName": "एसेट नाम",
19
19
  "AssetNameFieldValidation": "कृपया एसेट नाम चुनें",
20
20
  "AssetNamePlaceholder": "एसेट नाम चुनें",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "再生成",
15
15
  "Copied": "コピーしました",
16
16
  "Action": "アクション",
17
- "ArconLearningCenter": "Arcon学習センター",
17
+ "ArconCIResourceCenter": "ARCON CI リソースセンター",
18
18
  "AssetName": "アセット名",
19
19
  "AssetNameFieldValidation": "アセット名を選択してください",
20
20
  "AssetNamePlaceholder": "アセット名を選択",
@@ -14,7 +14,7 @@
14
14
  "Regenerate": "재생성",
15
15
  "Copied": "복사됨",
16
16
  "Action": "작업",
17
- "ArconLearningCenter": "Arcon 학습 센터",
17
+ "ArconCIResourceCenter": "ARCON CI 리소스 센터",
18
18
  "AssetName": "자산 이름",
19
19
  "AssetNameFieldValidation": "자산 이름을 선택하세요",
20
20
  "AssetNamePlaceholder": "자산 이름 선택",