@sixbell-telco/sdk 4.5.0 → 4.6.0

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.
Files changed (125) hide show
  1. package/CHANGELOG.md +266 -986
  2. package/GLOSSARY.md +76 -0
  3. package/README.md +143 -1346
  4. package/banner.webp +0 -0
  5. package/components/badge/src/badge.component.d.ts +6 -1
  6. package/components/dropdown-menu/README.md +1 -0
  7. package/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.d.ts +2 -0
  8. package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +9 -2
  9. package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +6 -0
  10. package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +7 -0
  11. package/components/dropdown-menu/public-api.d.ts +1 -0
  12. package/components/dropdown-menu/src/directives/dropdown-menu-keyboard.directive.d.ts +54 -0
  13. package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +5 -0
  14. package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +15 -2
  15. package/components/forms/checkbox/src/checkbox.component.d.ts +12 -1
  16. package/components/status-illustration/README.md +38 -0
  17. package/components/status-illustration/index.d.ts +5 -0
  18. package/components/status-illustration/public-api.d.ts +1 -0
  19. package/components/status-illustration/src/status-illustration.component.d.ts +42 -0
  20. package/components/tab/directives/tab-content/tab-content.directive.d.ts +1 -1
  21. package/components/tree/README.md +11 -1
  22. package/components/tree/src/tree.component.d.ts +44 -5
  23. package/components/wizard/README.md +17 -0
  24. package/components/wizard/services/wizard.service.d.ts +9 -0
  25. package/components/wizard/wizard-indicator/wizard-indicator.component.d.ts +71 -0
  26. package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +24 -1
  27. package/directives/text/src/text.directive.d.ts +6 -2
  28. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +5 -5
  29. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  30. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +8 -2
  31. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  32. package/fesm2022/sixbell-telco-sdk-components-button.mjs +1 -1
  33. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  34. package/fesm2022/sixbell-telco-sdk-components-card.mjs +3 -3
  35. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  36. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +4 -4
  37. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  38. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +3 -3
  39. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  40. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +92 -25
  41. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  42. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +29 -3
  43. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
  44. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +271 -21
  45. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  46. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +2 -2
  47. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  48. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
  49. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  50. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +2 -2
  51. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  52. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +14 -3
  53. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  54. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
  55. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  56. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +2 -2
  57. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
  59. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +2 -2
  61. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +2 -2
  63. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +15 -5
  65. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  66. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +2 -2
  67. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +1 -1
  69. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs +1 -1
  71. package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +2 -2
  73. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +2 -2
  75. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-status-illustration.mjs +66 -0
  77. package/fesm2022/sixbell-telco-sdk-components-status-illustration.mjs.map +1 -0
  78. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -0
  79. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-table.mjs +4 -4
  81. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-tree.mjs +171 -51
  85. package/fesm2022/sixbell-telco-sdk-components-tree.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +123 -356
  87. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +4 -1
  89. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs +2 -2
  91. package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-layouts.mjs +55 -13
  93. package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +23 -4
  95. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  96. package/i18n/sdk/en.json +4 -1
  97. package/i18n/sdk/es.json +4 -1
  98. package/i18n/sdk/pt.json +4 -1
  99. package/layouts/README.md +16 -6
  100. package/layouts/src/page-banner/page-banner.component.d.ts +37 -6
  101. package/manifest.json +10943 -0
  102. package/package.json +53 -41
  103. package/schematics/lib/plan.cjs +179 -0
  104. package/schematics/lib/tokens.cjs +133 -0
  105. package/schematics/lib/workspace.cjs +118 -0
  106. package/schematics/manual-steps.json +90 -0
  107. package/schematics/migration.json +15 -0
  108. package/schematics/migrations/v4-0-0/assets.cjs +331 -0
  109. package/schematics/migrations/v4-0-0/canonical/enghouse_networks.json +360 -0
  110. package/schematics/migrations/v4-0-0/canonical/shell.json +25 -0
  111. package/schematics/migrations/v4-0-0/canonical/theme-assets.json +44 -0
  112. package/schematics/migrations/v4-0-0/canonical/themes.json +11 -0
  113. package/schematics/migrations/v4-0-0/index.cjs +96 -0
  114. package/schematics/migrations/v4-0-0/layout.cjs +269 -0
  115. package/schematics/migrations/v4-0-0/shell.cjs +1864 -0
  116. package/schematics/migrations/v4-6-0/index.cjs +394 -0
  117. package/src/_index.css +257 -26
  118. package/utils/theme/README.md +1 -1
  119. package/utils/theme/public-api.d.ts +1 -1
  120. package/utils/theme/src/models/theme.d.ts +10 -0
  121. package/utils/theme/src/theme-assets/theme-assets.service.d.ts +12 -1
  122. package/banner.png +0 -0
  123. package/components/wizard/wizard-marker/wizard-marker.component.d.ts +0 -85
  124. package/components/wizard/wizard-step/wizard-step.component.d.ts +0 -83
  125. package/components/wizard/wizard-sub-step/wizard-sub-step.component.d.ts +0 -95
@@ -1,6 +1,6 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, computed, InjectionToken, signal, Injectable, model, ChangeDetectionStrategy, Component, input, booleanAttribute, output, viewChild, ElementRef, afterRenderEffect, Injector, effect, untracked, afterNextRender, TemplateRef, Directive, contentChild } from '@angular/core';
3
+ import { inject, computed, InjectionToken, signal, Injectable, model, ChangeDetectionStrategy, Component, input, booleanAttribute, output, viewChild, ElementRef, afterRenderEffect, Injector, effect, untracked, afterNextRender, TemplateRef, Directive, contentChild, isDevMode } from '@angular/core';
4
4
  import { RouterLink, Router, NavigationEnd } from '@angular/router';
5
5
  import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
6
6
  import { matCheckOutline, matDarkModeOutline, matLightModeOutline, matComputerOutline, matColorLensOutline, matPersonOutline, matPasswordOutline, matLogoutOutline, matLanguageOutline, matDashboardCustomizeOutline, matFolderOutline, matSearchOutline, matMenuOpenOutline, matMenuOutline } from '@sixbell-telco/sdk/components/icon/material/outline';
@@ -634,7 +634,7 @@ class SideMenuComponent {
634
634
  * It is raised with a small shadow; hover and press mix the primary toward `base-content`, away from
635
635
  * `primary-content`, and the press drops the shadow.
636
636
  */
637
- activeLinkClass = cn('bg-primary text-primary-content shadow-shadow-primary shadow-sm active:shadow-none', 'hover:bg-[color-mix(in_oklch,var(--color-primary)_70%,var(--color-base-content))]', 'active:bg-[color-mix(in_oklch,var(--color-primary)_55%,var(--color-base-content))]', 'focus-visible:outline-primary-content focus-visible:-outline-offset-4');
637
+ activeLinkClass = cn('bg-primary text-primary-content shadow-raised active:shadow-none', 'hover:bg-[color-mix(in_oklch,var(--color-primary)_70%,var(--color-base-content))]', 'active:bg-[color-mix(in_oklch,var(--color-primary)_55%,var(--color-base-content))]', 'focus-visible:outline-primary-content focus-visible:-outline-offset-4');
638
638
  inactiveLinkClass = cn(entryStateClass, 'focus-visible:outline-primary focus-visible:-outline-offset-2');
639
639
  groupStateClass = entryStateClass;
640
640
  chevronIcon = matKeyboardArrowDown;
@@ -739,14 +739,14 @@ class SideMenuComponent {
739
739
  return globalThis.matchMedia?.('(prefers-reduced-motion: reduce)').matches ?? false;
740
740
  }
741
741
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SideMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
742
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: SideMenuComponent, isStandalone: true, selector: "st-side-menu", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, topLevelGroups: { classPropertyName: "topLevelGroups", publicName: "topLevelGroups", isSignal: true, isRequired: false, transformFunction: null }, activeMatch: { classPropertyName: "activeMatch", publicName: "activeMatch", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, searchable: { classPropertyName: "searchable", publicName: "searchable", isSignal: true, isRequired: false, transformFunction: null }, showCollapseToggle: { classPropertyName: "showCollapseToggle", publicName: "showCollapseToggle", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, search: { classPropertyName: "search", publicName: "search", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { search: "searchChange" }, host: { properties: { "class": "hostClass()", "attr.data-collapsed": "isCollapsed()" } }, ngImport: i0, template: "@let collapsedVar = isCollapsed();\n@let searchLabel = 'sdk.layout.search' | translate;\n\n<div class=\"flex min-h-0 flex-1 flex-col gap-4\">\n\t@if (searchable()) {\n\t\t<div\n\t\t\tclass=\"flex shrink-0 items-center\"\n\t\t\t[class.justify-center]=\"collapsedVar\"\n\t\t\t[attr.role]=\"collapsedVar ? null : 'search'\"\n\t\t\t[attr.aria-label]=\"collapsedVar ? null : searchLabel\"\n\t\t>\n\t\t\t@if (collapsedVar) {\n\t\t\t\t<st-tooltip [label]=\"searchLabel\" position=\"right\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tdata-st-side-menu-search-trigger\n\t\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"searchIcon\"\n\t\t\t\t\t\t(triggered)=\"openSearch()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ searchLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t} @else {\n\t\t\t\t<st-input class=\"w-full\" data-st-side-menu-search [placeholder]=\"searchLabel\" [(value)]=\"search\">\n\t\t\t\t\t<st-input-content alignment=\"start\">\n\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"searchIcon\" />\n\t\t\t\t\t</st-input-content>\n\t\t\t\t</st-input>\n\t\t\t}\n\t\t</div>\n\t\t<div class=\"bg-base-300 h-px shrink-0\" aria-hidden=\"true\"></div>\n\t}\n\n\t<nav class=\"min-h-0 flex-1 scrollbar-gutter-stable overflow-x-hidden overflow-y-auto\" [attr.aria-label]=\"'sdk.layout.navigation' | translate\">\n\t\t@if (collapsedVar) {\n\t\t\t<ul class=\"flex flex-col items-center gap-2 py-1\" data-st-side-menu-rail>\n\t\t\t\t@for (entry of railEntries(); track entry.item.id) {\n\t\t\t\t\t@let onTrail = isOnTrail(entry.item);\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<st-tooltip [label]=\"entry.item.label\" position=\"right\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\tclass=\"rounded-field grid size-10 place-items-center transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t\t\t\t\t\t[class]=\"onTrail ? activeLinkClass : inactiveLinkClass\"\n\t\t\t\t\t\t\t\t[routerLink]=\"entry.target.route\"\n\t\t\t\t\t\t\t\t[queryParams]=\"linkQueryParams(entry.target)\"\n\t\t\t\t\t\t\t\t[attr.aria-current]=\"railCurrent(entry)\"\n\t\t\t\t\t\t\t\t[attr.aria-label]=\"entry.item.label\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"entry.item.icon || fallbackIcon\" size=\"md\" />\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</st-tooltip>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t} @else {\n\t\t\t<ul class=\"flex min-w-0 flex-col gap-1 pe-1\" data-st-side-menu-tree>\n\t\t\t\t@for (section of sections(); track section.item.id) {\n\t\t\t\t\t<li class=\"min-w-0\">\n\t\t\t\t\t\t@if (section.kind === 'label') {\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\tclass=\"text-base-content/60 block px-3 pt-4 pb-1 text-xs font-semibold tracking-wide uppercase select-none\"\n\t\t\t\t\t\t\t\tdata-st-side-menu-label\n\t\t\t\t\t\t\t\t[id]=\"labelId(section.item)\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ section.item.label }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<ul class=\"flex min-w-0 flex-col gap-1\" [attr.aria-labelledby]=\"labelId(section.item)\">\n\t\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: section.children }\" />\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: section.item }\" />\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t} @empty {\n\t\t\t\t\t<li class=\"text-base-content/60 px-3 py-2 text-sm\" role=\"status\">{{ 'sdk.layout.no_results' | translate }}</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t}\n\t</nav>\n\n\t@if (showCollapseToggle()) {\n\t\t<div class=\"flex shrink-0 flex-col\">\n\t\t\t<div class=\"bg-base-300 h-px\" aria-hidden=\"true\"></div>\n\t\t\t@let pinnedCollapsedVar = isPinnedCollapsed();\n\t\t\t@let toggleLabel = (pinnedCollapsedVar ? 'sdk.layout.expand' : 'sdk.layout.collapse') | translate;\n\t\t\t<div class=\"flex items-center pt-4\" [class.justify-center]=\"collapsedVar\" [class.justify-end]=\"!collapsedVar\">\n\t\t\t\t<st-tooltip [label]=\"toggleLabel\" [position]=\"collapsedVar ? 'right' : 'top'\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\tdata-st-side-menu-toggle\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"pinnedCollapsedVar ? expandIcon : collapseIcon\"\n\t\t\t\t\t\t(triggered)=\"toggleCollapsed()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ toggleLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t}\n</div>\n\n<ng-template #entries let-items>\n\t@for (item of items; track item.id) {\n\t\t<li class=\"min-w-0\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n\t\t</li>\n\t}\n</ng-template>\n\n<ng-template #entry let-item>\n\t@if (hasChildren(item)) {\n\t\t@let state = groupState(item);\n\t\t@let onTrail = isOnTrail(item);\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"rounded-field focus-visible:outline-primary flex min-h-10 w-full min-w-0 cursor-pointer items-center gap-2 px-3 py-2 text-start transition-[color,background-color,box-shadow] focus-visible:outline-2 focus-visible:-outline-offset-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"groupStateClass\"\n\t\t\t[class.font-semibold]=\"onTrail\"\n\t\t\t[attr.aria-expanded]=\"isGroupExpanded(item)\"\n\t\t\t[attr.aria-controls]=\"groupId(item)\"\n\t\t\t(click)=\"toggleGroup(item)\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t\t<span data-st-chevron class=\"inline-flex size-[1.2em] shrink-0 items-center justify-center\">\n\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"chevronIcon\" size=\"sm\" />\n\t\t\t</span>\n\t\t</button>\n\t\t<ul\n\t\t\tclass=\"data-[state=closing]:animate-morph-out data-[state=opening]:animate-morph-in border-base-300 ms-5 mt-1 flex min-w-0 flex-col gap-1 border-s ps-2\"\n\t\t\tdata-st-menu-group\n\t\t\t[id]=\"groupId(item)\"\n\t\t\t[attr.data-state]=\"state\"\n\t\t\t[hidden]=\"state === 'closed'\"\n\t\t\t(animationend)=\"onGroupAnimationEnd($event, item)\"\n\t\t>\n\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: item.children }\" />\n\t\t</ul>\n\t} @else {\n\t\t@let activeVar = isActive(item);\n\t\t<a\n\t\t\tclass=\"rounded-field flex min-h-10 w-full min-w-0 items-center gap-2 px-3 py-2 transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"activeVar ? activeLinkClass : inactiveLinkClass\"\n\t\t\t[routerLink]=\"item.route\"\n\t\t\t[queryParams]=\"linkQueryParams(item)\"\n\t\t\t[attr.aria-current]=\"activeVar ? 'page' : null\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t</a>\n\t}\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation", "ariaLabel", "ariaExpanded", "ariaPressed", "ariaDescribedBy", "ariaControls"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }, { kind: "component", type: InputComponent, selector: "st-input", inputs: ["variant", "size", "label", "showOptional", "optionalText", "required", "type", "name", "inputId", "passwordToggle", "placeholder", "readonly", "focus", "onlyNumbers", "ghost", "value", "parentForm", "formControlName", "disabled", "stopPropagation", "debounceTime"], outputs: ["valueChange", "disabledChange", "keyDownEnter", "triggered", "clicked", "blurred", "valueDebounced"] }, { kind: "component", type: InputContentComponent, selector: "st-input-content", inputs: ["alignment"] }, { kind: "component", type: TooltipComponent, selector: "st-tooltip", inputs: ["variant", "position", "label", "icon", "iconPosition", "closeDelay"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
742
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: SideMenuComponent, isStandalone: true, selector: "st-side-menu", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, topLevelGroups: { classPropertyName: "topLevelGroups", publicName: "topLevelGroups", isSignal: true, isRequired: false, transformFunction: null }, activeMatch: { classPropertyName: "activeMatch", publicName: "activeMatch", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, searchable: { classPropertyName: "searchable", publicName: "searchable", isSignal: true, isRequired: false, transformFunction: null }, showCollapseToggle: { classPropertyName: "showCollapseToggle", publicName: "showCollapseToggle", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, search: { classPropertyName: "search", publicName: "search", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { search: "searchChange" }, host: { properties: { "class": "hostClass()", "attr.data-collapsed": "isCollapsed()" } }, ngImport: i0, template: "@let collapsedVar = isCollapsed();\n@let searchLabel = 'sdk.layout.search' | translate;\n\n<div class=\"flex min-h-0 flex-1 flex-col gap-4\">\n\t@if (searchable()) {\n\t\t<div\n\t\t\tclass=\"flex shrink-0 items-center\"\n\t\t\t[class.justify-center]=\"collapsedVar\"\n\t\t\t[attr.role]=\"collapsedVar ? null : 'search'\"\n\t\t\t[attr.aria-label]=\"collapsedVar ? null : searchLabel\"\n\t\t>\n\t\t\t@if (collapsedVar) {\n\t\t\t\t<st-tooltip [label]=\"searchLabel\" position=\"right\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tdata-st-side-menu-search-trigger\n\t\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"searchIcon\"\n\t\t\t\t\t\t(triggered)=\"openSearch()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ searchLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t} @else {\n\t\t\t\t<st-input class=\"w-full\" data-st-side-menu-search [placeholder]=\"searchLabel\" [(value)]=\"search\">\n\t\t\t\t\t<st-input-content alignment=\"start\">\n\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"searchIcon\" />\n\t\t\t\t\t</st-input-content>\n\t\t\t\t</st-input>\n\t\t\t}\n\t\t</div>\n\t\t<div class=\"bg-base-300 h-px shrink-0\" aria-hidden=\"true\"></div>\n\t}\n\n\t<nav class=\"min-h-0 flex-1 scrollbar-gutter-stable overflow-x-hidden overflow-y-auto\" [attr.aria-label]=\"'sdk.layout.navigation' | translate\">\n\t\t@if (collapsedVar) {\n\t\t\t<ul class=\"flex flex-col items-center gap-2 py-1\" data-st-side-menu-rail>\n\t\t\t\t@for (entry of railEntries(); track entry.item.id) {\n\t\t\t\t\t@let onTrail = isOnTrail(entry.item);\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<st-tooltip [label]=\"entry.item.label\" position=\"right\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\tclass=\"rounded-field grid size-10 place-items-center transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t\t\t\t\t\t[class]=\"onTrail ? activeLinkClass : inactiveLinkClass\"\n\t\t\t\t\t\t\t\t[routerLink]=\"entry.target.route\"\n\t\t\t\t\t\t\t\t[queryParams]=\"linkQueryParams(entry.target)\"\n\t\t\t\t\t\t\t\t[attr.aria-current]=\"railCurrent(entry)\"\n\t\t\t\t\t\t\t\t[attr.aria-label]=\"entry.item.label\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"entry.item.icon || fallbackIcon\" size=\"md\" />\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</st-tooltip>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t} @else {\n\t\t\t<ul class=\"flex min-w-0 flex-col gap-1 pe-1\" data-st-side-menu-tree>\n\t\t\t\t@for (section of sections(); track section.item.id) {\n\t\t\t\t\t<li class=\"min-w-0\">\n\t\t\t\t\t\t@if (section.kind === 'label') {\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\tclass=\"text-base-content-muted block px-3 pt-4 pb-1 text-xs font-semibold tracking-wide uppercase select-none\"\n\t\t\t\t\t\t\t\tdata-st-side-menu-label\n\t\t\t\t\t\t\t\t[id]=\"labelId(section.item)\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ section.item.label }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<ul class=\"flex min-w-0 flex-col gap-1\" [attr.aria-labelledby]=\"labelId(section.item)\">\n\t\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: section.children }\" />\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: section.item }\" />\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t} @empty {\n\t\t\t\t\t<li class=\"text-base-content-muted px-3 py-2 text-sm\" role=\"status\">{{ 'sdk.layout.no_results' | translate }}</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t}\n\t</nav>\n\n\t@if (showCollapseToggle()) {\n\t\t<div class=\"flex shrink-0 flex-col\">\n\t\t\t<div class=\"bg-base-300 h-px\" aria-hidden=\"true\"></div>\n\t\t\t@let pinnedCollapsedVar = isPinnedCollapsed();\n\t\t\t@let toggleLabel = (pinnedCollapsedVar ? 'sdk.layout.expand' : 'sdk.layout.collapse') | translate;\n\t\t\t<div class=\"flex items-center pt-4\" [class.justify-center]=\"collapsedVar\" [class.justify-end]=\"!collapsedVar\">\n\t\t\t\t<st-tooltip [label]=\"toggleLabel\" [position]=\"collapsedVar ? 'right' : 'top'\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\tdata-st-side-menu-toggle\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"pinnedCollapsedVar ? expandIcon : collapseIcon\"\n\t\t\t\t\t\t(triggered)=\"toggleCollapsed()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ toggleLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t}\n</div>\n\n<ng-template #entries let-items>\n\t@for (item of items; track item.id) {\n\t\t<li class=\"min-w-0\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n\t\t</li>\n\t}\n</ng-template>\n\n<ng-template #entry let-item>\n\t@if (hasChildren(item)) {\n\t\t@let state = groupState(item);\n\t\t@let onTrail = isOnTrail(item);\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"rounded-field focus-visible:outline-primary flex min-h-10 w-full min-w-0 cursor-pointer items-center gap-2 px-3 py-2 text-start transition-[color,background-color,box-shadow] focus-visible:outline-2 focus-visible:-outline-offset-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"groupStateClass\"\n\t\t\t[class.font-semibold]=\"onTrail\"\n\t\t\t[attr.aria-expanded]=\"isGroupExpanded(item)\"\n\t\t\t[attr.aria-controls]=\"groupId(item)\"\n\t\t\t(click)=\"toggleGroup(item)\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t\t<span data-st-chevron class=\"inline-flex size-[1.2em] shrink-0 items-center justify-center\">\n\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"chevronIcon\" size=\"sm\" />\n\t\t\t</span>\n\t\t</button>\n\t\t<ul\n\t\t\tclass=\"data-[state=closing]:animate-morph-out data-[state=opening]:animate-morph-in border-base-300 ms-5 mt-1 flex min-w-0 flex-col gap-1 border-s ps-2\"\n\t\t\tdata-st-menu-group\n\t\t\t[id]=\"groupId(item)\"\n\t\t\t[attr.data-state]=\"state\"\n\t\t\t[hidden]=\"state === 'closed'\"\n\t\t\t(animationend)=\"onGroupAnimationEnd($event, item)\"\n\t\t>\n\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: item.children }\" />\n\t\t</ul>\n\t} @else {\n\t\t@let activeVar = isActive(item);\n\t\t<a\n\t\t\tclass=\"rounded-field flex min-h-10 w-full min-w-0 items-center gap-2 px-3 py-2 transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"activeVar ? activeLinkClass : inactiveLinkClass\"\n\t\t\t[routerLink]=\"item.route\"\n\t\t\t[queryParams]=\"linkQueryParams(item)\"\n\t\t\t[attr.aria-current]=\"activeVar ? 'page' : null\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t</a>\n\t}\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation", "ariaLabel", "ariaExpanded", "ariaPressed", "ariaDescribedBy", "ariaControls"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }, { kind: "component", type: InputComponent, selector: "st-input", inputs: ["variant", "size", "label", "showOptional", "optionalText", "required", "type", "name", "inputId", "passwordToggle", "placeholder", "readonly", "focus", "onlyNumbers", "ghost", "value", "parentForm", "formControlName", "disabled", "stopPropagation", "debounceTime"], outputs: ["valueChange", "disabledChange", "keyDownEnter", "triggered", "clicked", "blurred", "valueDebounced"] }, { kind: "component", type: InputContentComponent, selector: "st-input-content", inputs: ["alignment"] }, { kind: "component", type: TooltipComponent, selector: "st-tooltip", inputs: ["variant", "position", "label", "icon", "iconPosition", "closeDelay"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
743
743
  }
744
744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SideMenuComponent, decorators: [{
745
745
  type: Component,
746
746
  args: [{ selector: 'st-side-menu', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, RouterLink, ButtonComponent, IconComponent, InputComponent, InputContentComponent, TooltipComponent, TranslatePipe], host: {
747
747
  '[class]': 'hostClass()',
748
748
  '[attr.data-collapsed]': 'isCollapsed()',
749
- }, template: "@let collapsedVar = isCollapsed();\n@let searchLabel = 'sdk.layout.search' | translate;\n\n<div class=\"flex min-h-0 flex-1 flex-col gap-4\">\n\t@if (searchable()) {\n\t\t<div\n\t\t\tclass=\"flex shrink-0 items-center\"\n\t\t\t[class.justify-center]=\"collapsedVar\"\n\t\t\t[attr.role]=\"collapsedVar ? null : 'search'\"\n\t\t\t[attr.aria-label]=\"collapsedVar ? null : searchLabel\"\n\t\t>\n\t\t\t@if (collapsedVar) {\n\t\t\t\t<st-tooltip [label]=\"searchLabel\" position=\"right\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tdata-st-side-menu-search-trigger\n\t\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"searchIcon\"\n\t\t\t\t\t\t(triggered)=\"openSearch()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ searchLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t} @else {\n\t\t\t\t<st-input class=\"w-full\" data-st-side-menu-search [placeholder]=\"searchLabel\" [(value)]=\"search\">\n\t\t\t\t\t<st-input-content alignment=\"start\">\n\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"searchIcon\" />\n\t\t\t\t\t</st-input-content>\n\t\t\t\t</st-input>\n\t\t\t}\n\t\t</div>\n\t\t<div class=\"bg-base-300 h-px shrink-0\" aria-hidden=\"true\"></div>\n\t}\n\n\t<nav class=\"min-h-0 flex-1 scrollbar-gutter-stable overflow-x-hidden overflow-y-auto\" [attr.aria-label]=\"'sdk.layout.navigation' | translate\">\n\t\t@if (collapsedVar) {\n\t\t\t<ul class=\"flex flex-col items-center gap-2 py-1\" data-st-side-menu-rail>\n\t\t\t\t@for (entry of railEntries(); track entry.item.id) {\n\t\t\t\t\t@let onTrail = isOnTrail(entry.item);\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<st-tooltip [label]=\"entry.item.label\" position=\"right\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\tclass=\"rounded-field grid size-10 place-items-center transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t\t\t\t\t\t[class]=\"onTrail ? activeLinkClass : inactiveLinkClass\"\n\t\t\t\t\t\t\t\t[routerLink]=\"entry.target.route\"\n\t\t\t\t\t\t\t\t[queryParams]=\"linkQueryParams(entry.target)\"\n\t\t\t\t\t\t\t\t[attr.aria-current]=\"railCurrent(entry)\"\n\t\t\t\t\t\t\t\t[attr.aria-label]=\"entry.item.label\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"entry.item.icon || fallbackIcon\" size=\"md\" />\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</st-tooltip>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t} @else {\n\t\t\t<ul class=\"flex min-w-0 flex-col gap-1 pe-1\" data-st-side-menu-tree>\n\t\t\t\t@for (section of sections(); track section.item.id) {\n\t\t\t\t\t<li class=\"min-w-0\">\n\t\t\t\t\t\t@if (section.kind === 'label') {\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\tclass=\"text-base-content/60 block px-3 pt-4 pb-1 text-xs font-semibold tracking-wide uppercase select-none\"\n\t\t\t\t\t\t\t\tdata-st-side-menu-label\n\t\t\t\t\t\t\t\t[id]=\"labelId(section.item)\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ section.item.label }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<ul class=\"flex min-w-0 flex-col gap-1\" [attr.aria-labelledby]=\"labelId(section.item)\">\n\t\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: section.children }\" />\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: section.item }\" />\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t} @empty {\n\t\t\t\t\t<li class=\"text-base-content/60 px-3 py-2 text-sm\" role=\"status\">{{ 'sdk.layout.no_results' | translate }}</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t}\n\t</nav>\n\n\t@if (showCollapseToggle()) {\n\t\t<div class=\"flex shrink-0 flex-col\">\n\t\t\t<div class=\"bg-base-300 h-px\" aria-hidden=\"true\"></div>\n\t\t\t@let pinnedCollapsedVar = isPinnedCollapsed();\n\t\t\t@let toggleLabel = (pinnedCollapsedVar ? 'sdk.layout.expand' : 'sdk.layout.collapse') | translate;\n\t\t\t<div class=\"flex items-center pt-4\" [class.justify-center]=\"collapsedVar\" [class.justify-end]=\"!collapsedVar\">\n\t\t\t\t<st-tooltip [label]=\"toggleLabel\" [position]=\"collapsedVar ? 'right' : 'top'\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\tdata-st-side-menu-toggle\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"pinnedCollapsedVar ? expandIcon : collapseIcon\"\n\t\t\t\t\t\t(triggered)=\"toggleCollapsed()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ toggleLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t}\n</div>\n\n<ng-template #entries let-items>\n\t@for (item of items; track item.id) {\n\t\t<li class=\"min-w-0\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n\t\t</li>\n\t}\n</ng-template>\n\n<ng-template #entry let-item>\n\t@if (hasChildren(item)) {\n\t\t@let state = groupState(item);\n\t\t@let onTrail = isOnTrail(item);\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"rounded-field focus-visible:outline-primary flex min-h-10 w-full min-w-0 cursor-pointer items-center gap-2 px-3 py-2 text-start transition-[color,background-color,box-shadow] focus-visible:outline-2 focus-visible:-outline-offset-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"groupStateClass\"\n\t\t\t[class.font-semibold]=\"onTrail\"\n\t\t\t[attr.aria-expanded]=\"isGroupExpanded(item)\"\n\t\t\t[attr.aria-controls]=\"groupId(item)\"\n\t\t\t(click)=\"toggleGroup(item)\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t\t<span data-st-chevron class=\"inline-flex size-[1.2em] shrink-0 items-center justify-center\">\n\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"chevronIcon\" size=\"sm\" />\n\t\t\t</span>\n\t\t</button>\n\t\t<ul\n\t\t\tclass=\"data-[state=closing]:animate-morph-out data-[state=opening]:animate-morph-in border-base-300 ms-5 mt-1 flex min-w-0 flex-col gap-1 border-s ps-2\"\n\t\t\tdata-st-menu-group\n\t\t\t[id]=\"groupId(item)\"\n\t\t\t[attr.data-state]=\"state\"\n\t\t\t[hidden]=\"state === 'closed'\"\n\t\t\t(animationend)=\"onGroupAnimationEnd($event, item)\"\n\t\t>\n\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: item.children }\" />\n\t\t</ul>\n\t} @else {\n\t\t@let activeVar = isActive(item);\n\t\t<a\n\t\t\tclass=\"rounded-field flex min-h-10 w-full min-w-0 items-center gap-2 px-3 py-2 transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"activeVar ? activeLinkClass : inactiveLinkClass\"\n\t\t\t[routerLink]=\"item.route\"\n\t\t\t[queryParams]=\"linkQueryParams(item)\"\n\t\t\t[attr.aria-current]=\"activeVar ? 'page' : null\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t</a>\n\t}\n</ng-template>\n" }]
749
+ }, template: "@let collapsedVar = isCollapsed();\n@let searchLabel = 'sdk.layout.search' | translate;\n\n<div class=\"flex min-h-0 flex-1 flex-col gap-4\">\n\t@if (searchable()) {\n\t\t<div\n\t\t\tclass=\"flex shrink-0 items-center\"\n\t\t\t[class.justify-center]=\"collapsedVar\"\n\t\t\t[attr.role]=\"collapsedVar ? null : 'search'\"\n\t\t\t[attr.aria-label]=\"collapsedVar ? null : searchLabel\"\n\t\t>\n\t\t\t@if (collapsedVar) {\n\t\t\t\t<st-tooltip [label]=\"searchLabel\" position=\"right\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tdata-st-side-menu-search-trigger\n\t\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t\tsize=\"md\"\n\t\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"searchIcon\"\n\t\t\t\t\t\t(triggered)=\"openSearch()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ searchLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t} @else {\n\t\t\t\t<st-input class=\"w-full\" data-st-side-menu-search [placeholder]=\"searchLabel\" [(value)]=\"search\">\n\t\t\t\t\t<st-input-content alignment=\"start\">\n\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"searchIcon\" />\n\t\t\t\t\t</st-input-content>\n\t\t\t\t</st-input>\n\t\t\t}\n\t\t</div>\n\t\t<div class=\"bg-base-300 h-px shrink-0\" aria-hidden=\"true\"></div>\n\t}\n\n\t<nav class=\"min-h-0 flex-1 scrollbar-gutter-stable overflow-x-hidden overflow-y-auto\" [attr.aria-label]=\"'sdk.layout.navigation' | translate\">\n\t\t@if (collapsedVar) {\n\t\t\t<ul class=\"flex flex-col items-center gap-2 py-1\" data-st-side-menu-rail>\n\t\t\t\t@for (entry of railEntries(); track entry.item.id) {\n\t\t\t\t\t@let onTrail = isOnTrail(entry.item);\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<st-tooltip [label]=\"entry.item.label\" position=\"right\">\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\tclass=\"rounded-field grid size-10 place-items-center transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t\t\t\t\t\t[class]=\"onTrail ? activeLinkClass : inactiveLinkClass\"\n\t\t\t\t\t\t\t\t[routerLink]=\"entry.target.route\"\n\t\t\t\t\t\t\t\t[queryParams]=\"linkQueryParams(entry.target)\"\n\t\t\t\t\t\t\t\t[attr.aria-current]=\"railCurrent(entry)\"\n\t\t\t\t\t\t\t\t[attr.aria-label]=\"entry.item.label\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"entry.item.icon || fallbackIcon\" size=\"md\" />\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</st-tooltip>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t} @else {\n\t\t\t<ul class=\"flex min-w-0 flex-col gap-1 pe-1\" data-st-side-menu-tree>\n\t\t\t\t@for (section of sections(); track section.item.id) {\n\t\t\t\t\t<li class=\"min-w-0\">\n\t\t\t\t\t\t@if (section.kind === 'label') {\n\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\tclass=\"text-base-content-muted block px-3 pt-4 pb-1 text-xs font-semibold tracking-wide uppercase select-none\"\n\t\t\t\t\t\t\t\tdata-st-side-menu-label\n\t\t\t\t\t\t\t\t[id]=\"labelId(section.item)\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ section.item.label }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<ul class=\"flex min-w-0 flex-col gap-1\" [attr.aria-labelledby]=\"labelId(section.item)\">\n\t\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: section.children }\" />\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: section.item }\" />\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t} @empty {\n\t\t\t\t\t<li class=\"text-base-content-muted px-3 py-2 text-sm\" role=\"status\">{{ 'sdk.layout.no_results' | translate }}</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t}\n\t</nav>\n\n\t@if (showCollapseToggle()) {\n\t\t<div class=\"flex shrink-0 flex-col\">\n\t\t\t<div class=\"bg-base-300 h-px\" aria-hidden=\"true\"></div>\n\t\t\t@let pinnedCollapsedVar = isPinnedCollapsed();\n\t\t\t@let toggleLabel = (pinnedCollapsedVar ? 'sdk.layout.expand' : 'sdk.layout.collapse') | translate;\n\t\t\t<div class=\"flex items-center pt-4\" [class.justify-center]=\"collapsedVar\" [class.justify-end]=\"!collapsedVar\">\n\t\t\t\t<st-tooltip [label]=\"toggleLabel\" [position]=\"collapsedVar ? 'right' : 'top'\">\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\tdata-st-side-menu-toggle\n\t\t\t\t\t\t[circle]=\"true\"\n\t\t\t\t\t\t[icon]=\"pinnedCollapsedVar ? expandIcon : collapseIcon\"\n\t\t\t\t\t\t(triggered)=\"toggleCollapsed()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span class=\"sr-only\">{{ toggleLabel }}</span>\n\t\t\t\t\t</st-button>\n\t\t\t\t</st-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t}\n</div>\n\n<ng-template #entries let-items>\n\t@for (item of items; track item.id) {\n\t\t<li class=\"min-w-0\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n\t\t</li>\n\t}\n</ng-template>\n\n<ng-template #entry let-item>\n\t@if (hasChildren(item)) {\n\t\t@let state = groupState(item);\n\t\t@let onTrail = isOnTrail(item);\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"rounded-field focus-visible:outline-primary flex min-h-10 w-full min-w-0 cursor-pointer items-center gap-2 px-3 py-2 text-start transition-[color,background-color,box-shadow] focus-visible:outline-2 focus-visible:-outline-offset-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"groupStateClass\"\n\t\t\t[class.font-semibold]=\"onTrail\"\n\t\t\t[attr.aria-expanded]=\"isGroupExpanded(item)\"\n\t\t\t[attr.aria-controls]=\"groupId(item)\"\n\t\t\t(click)=\"toggleGroup(item)\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t\t<span data-st-chevron class=\"inline-flex size-[1.2em] shrink-0 items-center justify-center\">\n\t\t\t\t<st-icon aria-hidden=\"true\" [icon]=\"chevronIcon\" size=\"sm\" />\n\t\t\t</span>\n\t\t</button>\n\t\t<ul\n\t\t\tclass=\"data-[state=closing]:animate-morph-out data-[state=opening]:animate-morph-in border-base-300 ms-5 mt-1 flex min-w-0 flex-col gap-1 border-s ps-2\"\n\t\t\tdata-st-menu-group\n\t\t\t[id]=\"groupId(item)\"\n\t\t\t[attr.data-state]=\"state\"\n\t\t\t[hidden]=\"state === 'closed'\"\n\t\t\t(animationend)=\"onGroupAnimationEnd($event, item)\"\n\t\t>\n\t\t\t<ng-container [ngTemplateOutlet]=\"entries\" [ngTemplateOutletContext]=\"{ $implicit: item.children }\" />\n\t\t</ul>\n\t} @else {\n\t\t@let activeVar = isActive(item);\n\t\t<a\n\t\t\tclass=\"rounded-field flex min-h-10 w-full min-w-0 items-center gap-2 px-3 py-2 transition-[color,background-color,box-shadow] focus-visible:outline-2 motion-reduce:transition-none\"\n\t\t\t[class]=\"activeVar ? activeLinkClass : inactiveLinkClass\"\n\t\t\t[routerLink]=\"item.route\"\n\t\t\t[queryParams]=\"linkQueryParams(item)\"\n\t\t\t[attr.aria-current]=\"activeVar ? 'page' : null\"\n\t\t>\n\t\t\t@if (item.icon) {\n\t\t\t\t<st-icon aria-hidden=\"true\" class=\"shrink-0\" [icon]=\"item.icon\" size=\"md\" />\n\t\t\t}\n\t\t\t<span class=\"block min-w-0 flex-1 wrap-anywhere\">{{ item.label }}</span>\n\t\t</a>\n\t}\n</ng-template>\n" }]
750
750
  }], ctorParameters: () => [] });
751
751
 
752
752
  const frameVariants = cva('relative grid min-h-screen', {
@@ -887,11 +887,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
887
887
  }, template: "@let collapsed = railCollapsed();\n\n<div [class]=\"frameClass()\" [attr.data-st-app-layout]=\"layout()\">\n\t@switch (layout()) {\n\t\t@case ('modern') {\n\t\t\t<header class=\"[grid-area:header]\">\n\t\t\t\t<st-navbar\n\t\t\t\t\t[homeLink]=\"homeLink()\"\n\t\t\t\t\t[logoAlt]=\"logoAlt()\"\n\t\t\t\t\t[showLanguageSelector]=\"showLanguageSelector()\"\n\t\t\t\t\t[showSchemeSelector]=\"showSchemeSelector()\"\n\t\t\t\t\t[showThemeSelector]=\"showThemeSelector()\"\n\t\t\t\t\t[showLayoutSelector]=\"showLayoutSelector()\"\n\t\t\t\t\t(openLayoutSwitcher)=\"openSwitcher()\"\n\t\t\t\t>\n\t\t\t\t\t<!-- ng-content cannot be re-projected from inside @switch, so the end slot is a template rendered here -->\n\t\t\t\t\t<ng-container ngProjectAs=\"[stNavbarEnd]\" [ngTemplateOutlet]=\"navbarEndTemplate()\" />\n\t\t\t\t</st-navbar>\n\t\t\t</header>\n\n\t\t\t<aside [class]=\"asideClass()\" (mouseenter)=\"setHovering(true)\" (mouseleave)=\"setHovering(false)\">\n\t\t\t\t<st-side-menu\n\t\t\t\t\t[items]=\"items()\"\n\t\t\t\t\t[topLevelGroups]=\"topLevelGroups()\"\n\t\t\t\t\t[activeMatch]=\"activeMatch()\"\n\t\t\t\t\t[searchable]=\"searchable()\"\n\t\t\t\t\t[collapsed]=\"collapsed\"\n\t\t\t\t/>\n\t\t\t</aside>\n\t\t}\n\t\t@default {\n\t\t\t@let headerToggle = collapseToggle() === 'header';\n\t\t\t<aside [id]=\"sidebarId\" [class]=\"asideClass()\" (mouseenter)=\"setHovering(true)\" (mouseleave)=\"setHovering(false)\">\n\t\t\t\t<div class=\"flex gap-2\" [class]=\"collapsed ? 'flex-col items-center' : 'items-center justify-between'\" data-st-app-layout-brand>\n\t\t\t\t\t<a\n\t\t\t\t\t\tclass=\"btn btn-ghost h-10 min-h-10 min-w-0 justify-start overflow-hidden\"\n\t\t\t\t\t\t[class.p-0]=\"collapsed\"\n\t\t\t\t\t\t[class.w-10]=\"collapsed\"\n\t\t\t\t\t\t[class.flex-1]=\"!collapsed\"\n\t\t\t\t\t\t[class.px-3]=\"!collapsed\"\n\t\t\t\t\t\t[routerLink]=\"homeLink()\"\n\t\t\t\t\t\tdata-st-app-layout-home\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (classicLogoUrl(); as logo) {\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t[src]=\"logo\"\n\t\t\t\t\t\t\t\t[alt]=\"logoLabel()\"\n\t\t\t\t\t\t\t\tclass=\"h-10 object-contain object-left\"\n\t\t\t\t\t\t\t\t[class.w-10]=\"collapsed\"\n\t\t\t\t\t\t\t\t[class.w-auto]=\"!collapsed\"\n\t\t\t\t\t\t\t\t[class.max-w-full]=\"!collapsed\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span class=\"truncate font-semibold\" [class.sr-only]=\"collapsed\">{{ logoLabel() }}</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t</a>\n\n\t\t\t\t\t@if (headerToggle) {\n\t\t\t\t\t\t@let classicToggleLabel = (pinnedCollapsed() ? 'sdk.layout.expand' : 'sdk.layout.collapse') | translate;\n\t\t\t\t\t\t<st-tooltip variant=\"secondary\" [label]=\"classicToggleLabel\" [position]=\"collapsed ? 'right' : 'bottom'\">\n\t\t\t\t\t\t\t<st-button\n\t\t\t\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t[square]=\"true\"\n\t\t\t\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t\t\t\tdata-st-app-layout-collapse\n\t\t\t\t\t\t\t\t[icon]=\"pinnedCollapsed() ? collapseClosedIcon : collapseOpenIcon\"\n\t\t\t\t\t\t\t\t[ariaExpanded]=\"!pinnedCollapsed()\"\n\t\t\t\t\t\t\t\t[ariaControls]=\"sidebarId\"\n\t\t\t\t\t\t\t\t(triggered)=\"toggleClassicCollapsed()\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<span class=\"sr-only\">{{ classicToggleLabel }}</span>\n\t\t\t\t\t\t\t</st-button>\n\t\t\t\t\t\t</st-tooltip>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<st-side-menu\n\t\t\t\t\t[items]=\"items()\"\n\t\t\t\t\t[topLevelGroups]=\"topLevelGroups()\"\n\t\t\t\t\t[activeMatch]=\"activeMatch()\"\n\t\t\t\t\t[searchable]=\"searchable()\"\n\t\t\t\t\t[collapsed]=\"collapsed\"\n\t\t\t\t\t[showCollapseToggle]=\"!headerToggle\"\n\t\t\t\t/>\n\n\t\t\t\t<div class=\"bg-base-300 h-px shrink-0\" aria-hidden=\"true\"></div>\n\n\t\t\t\t<st-user-menu\n\t\t\t\t\tvariant=\"sidebar\"\n\t\t\t\t\t[collapsed]=\"collapsed\"\n\t\t\t\t\t[showLanguageSelector]=\"showLanguageSelector()\"\n\t\t\t\t\t[showSchemeSelector]=\"showSchemeSelector()\"\n\t\t\t\t\t[showThemeSelector]=\"showThemeSelector()\"\n\t\t\t\t\t[showLayoutSelector]=\"showLayoutSelector()\"\n\t\t\t\t\t(openChange)=\"setUserMenuOpen($event)\"\n\t\t\t\t\t(openLayoutSwitcher)=\"openSwitcher()\"\n\t\t\t\t/>\n\t\t\t</aside>\n\t\t}\n\t}\n\n\t<main [class]=\"mainClass()\">\n\t\t<ng-content />\n\t</main>\n</div>\n\n<st-layout-switcher [(opened)]=\"switcherOpen\" />\n" }]
888
888
  }] });
889
889
 
890
+ /** @internal Dev-mode switch for the banner's console warnings; specs replace `enabled` to check prod mode. */
891
+ const pageBannerDevMode = { enabled: () => isDevMode() };
890
892
  /**
891
893
  * Page header for the SDK layouts. Classic shows the title over a theme banner image (or a plain
892
894
  * surface when the theme has no such asset); modern shows it as light text on the brand gradient.
893
- * Over an image, the title color follows the image tone the theme declares in its catalog
894
- * (`tone`); when no tone is known, a caption gradient darkens only the corner behind white text.
895
+ * Over an image, the text sits on a caption fade from the bottom-left corner, like a photo caption, matched to
896
+ * the image tone the theme declares in its catalog (`tone`). The catalog can prefer the scrim for an asset
897
+ * (`textSurface`), and the `bannerTextSurface` input overrides both.
895
898
  * Projected content (usually a `router-outlet`) fills the remaining height.
896
899
  */
897
900
  class PageBannerComponent {
@@ -909,10 +912,15 @@ class PageBannerComponent {
909
912
  * every param, `[]` keeps none. A param written in `backLink` itself always wins.
910
913
  */
911
914
  backQueryParams = input([MENU_QUERY_PARAM]);
912
- /** Theme asset key of the classic banner image; `null` for a plain surface. */
913
- bannerAsset = input('banner');
915
+ /** Theme asset key of the classic banner image (default `network-banner`, the product banner); `null` for a plain surface. */
916
+ bannerAsset = input('network-banner');
914
917
  /** Luminance of the banner image; overrides the tone the theme declares for the asset. */
915
918
  bannerTone = input(null);
919
+ /**
920
+ * Surface behind the classic text over art. Unset (`null`), the theme catalog's preference for the asset
921
+ * (`textSurface`) applies, else `caption`.
922
+ */
923
+ bannerTextSurface = input(null);
916
924
  class = input('');
917
925
  backIcon = matKeyboardBackspace;
918
926
  /**
@@ -927,14 +935,35 @@ class PageBannerComponent {
927
935
  frostedBackClass = cn(this.backFocusClass, '[&_.btn]:bg-base-100/80 [&_.btn]:border-base-content/10 [&_.btn:hover]:bg-base-100 [&_.btn]:backdrop-blur-sm');
928
936
  /** Frosted back button pinned to the top-right corner of the art. */
929
937
  backClass = computed(() => cn('absolute top-5 right-6 z-1 flex gap-3', this.frostedBackClass));
930
- /** Title color over the art: dark art and unknown tone (over the caption gradient) get white, light art gets black. */
931
- textClass = computed(() => cn('relative z-1 flex min-w-0 flex-col wrap-break-word text-shadow-sm', this.imageTone() === 'light' ? 'text-black text-shadow-white/30' : 'text-white text-shadow-black/40'));
938
+ /**
939
+ * The surface in use. The scrim needs a known tone (`auto` and `scrim` alike); without one the caption is used,
940
+ * so the text is never left on a scrim of the wrong tone.
941
+ */
942
+ textSurface = computed(() => this.requestedSurface() !== 'caption' && this.imageTone() ? 'scrim' : 'caption');
943
+ /** Tone of the scrim, when the scrim is in use. */
944
+ scrimTone = computed(() => (this.textSurface() === 'scrim' ? this.imageTone() : null));
945
+ /** Tone of the caption fade, when the caption is in use: the image tone, dark when unknown. */
946
+ captionTone = computed(() => (this.textSurface() === 'caption' ? (this.imageTone() ?? 'dark') : null));
947
+ /** Text scope (`[data-st-banner-text]` re-points base-content and secondary): `caption-<tone>`, or the scrim tone. */
948
+ textScope = computed(() => this.scrimTone() ?? `caption-${this.captionTone()}`);
949
+ textClass = 'text-base-content relative z-1 flex min-w-0 flex-col wrap-break-word';
932
950
  hostClass = computed(() => cn('flex min-h-full flex-1 flex-col', this.class()));
933
951
  isClassic = computed(() => this.layoutService.selectedLayout() === 'classic');
934
952
  bannerUrl = computed(() => {
935
953
  const asset = this.bannerAsset();
936
954
  return asset ? this.themeAssetsService.getAssetUrl(this.themeService.selectedTheme(), asset, this.themeService.resolvedScheme()) : null;
937
955
  });
956
+ /** Surface asked for: the input, else the catalog's preference for the asset, else the caption. */
957
+ requestedSurface = computed(() => {
958
+ const input = this.bannerTextSurface();
959
+ if (input)
960
+ return input;
961
+ const asset = this.bannerAsset();
962
+ const preferred = asset
963
+ ? this.themeAssetsService.getAssetTextSurface(this.themeService.selectedTheme(), asset, this.themeService.resolvedScheme())
964
+ : null;
965
+ return preferred ?? 'caption';
966
+ });
938
967
  /** Tone of the image shown; `null` when neither the input nor the theme declares it. */
939
968
  imageTone = computed(() => {
940
969
  const override = this.bannerTone();
@@ -943,6 +972,19 @@ class PageBannerComponent {
943
972
  const asset = this.bannerAsset();
944
973
  return asset ? this.themeAssetsService.getAssetTone(this.themeService.selectedTheme(), asset, this.themeService.resolvedScheme()) : null;
945
974
  });
975
+ warnedScrimWithoutTone = false;
976
+ constructor() {
977
+ // Opting into the scrim over art of unknown tone falls back to the caption; say so once per banner in dev mode.
978
+ effect(() => {
979
+ if (this.warnedScrimWithoutTone || this.requestedSurface() !== 'scrim' || !this.isClassic() || !this.bannerUrl() || this.imageTone())
980
+ return;
981
+ if (!pageBannerDevMode.enabled())
982
+ return;
983
+ this.warnedScrimWithoutTone = true;
984
+ console.warn(`st-page-banner: the 'scrim' text surface (bannerTextSurface or the catalog textSurface) needs the image tone, but the banner asset "${this.bannerAsset()}" declares none and no bannerTone is set. ` +
985
+ 'Showing the caption gradient instead. Declare a tone for the asset in the theme catalog (or pass bannerTone), or drop the scrim opt-in.');
986
+ });
987
+ }
946
988
  goBack() {
947
989
  const url = this.backLink();
948
990
  if (!url)
@@ -959,14 +1001,14 @@ class PageBannerComponent {
959
1001
  return Object.fromEntries(keep.filter((name) => Object.hasOwn(current, name)).map((name) => [name, current[name]]));
960
1002
  }
961
1003
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PageBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
962
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: PageBannerComponent, isStandalone: true, selector: "st-page-banner", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, backLink: { classPropertyName: "backLink", publicName: "backLink", isSignal: true, isRequired: false, transformFunction: null }, backQueryParams: { classPropertyName: "backQueryParams", publicName: "backQueryParams", isSignal: true, isRequired: false, transformFunction: null }, bannerAsset: { classPropertyName: "bannerAsset", publicName: "bannerAsset", isSignal: true, isRequired: false, transformFunction: null }, bannerTone: { classPropertyName: "bannerTone", publicName: "bannerTone", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClass()" } }, ngImport: i0, template: "@if (isClassic()) {\n\t@if (bannerUrl(); as url) {\n\t\t<div\n\t\t\tdata-st-banner=\"image\"\n\t\t\t[style.background-image]=\"'url(' + url + ')'\"\n\t\t\tclass=\"rounded-box bg-neutral relative mb-6 flex h-30 items-end justify-between bg-cover bg-center px-6 py-5\"\n\t\t>\n\t\t\t@if (!imageTone()) {\n\t\t\t\t<!-- Unknown image tone: a caption gradient darkens only the corner behind the title, so white text reads over any photo and the rest of the art stays untouched -->\n\t\t\t\t<div\n\t\t\t\t\tdata-st-banner-scrim\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\tclass=\"rounded-box pointer-events-none absolute inset-0 z-0 bg-linear-to-r from-black/70 via-black/40 via-60% to-transparent\"\n\t\t\t\t></div>\n\t\t\t}\n\n\t\t\t@if (backLink()) {\n\t\t\t\t<!-- Over art the button sits on a frosted base-100 surface with base-content text, so the label keeps 4.5:1 over any pixel in either scheme -->\n\t\t\t\t<div data-st-banner-back [class]=\"backClass()\">\n\t\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- Fixed white/black opposite to the image luminance (unknown tone = white over the caption gradient), with a soft halo of the opposite color for busy art -->\n\t\t\t<div [class]=\"textClass()\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"opacity-80\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<div data-st-banner=\"plain\" class=\"rounded-box bg-base-200 relative mb-6 flex h-30 items-end justify-between px-6 py-5\">\n\t\t\t@if (backLink()) {\n\t\t\t\t<div data-st-banner-back class=\"absolute top-5 right-6 flex gap-3\" [class]=\"backFocusClass\">\n\t\t\t\t\t<st-button variant=\"tertiary\" size=\"sm\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content/80\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n} @else if (title()) {\n\t<!-- Modern: on the brand gradient, primary-gradient-content stays light in both schemes -->\n\t<div data-st-banner=\"modern\" class=\"mb-4 flex items-end justify-between\">\n\t\t<div class=\"text-primary-gradient-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t@if (subtitle()) {\n\t\t\t\t<p class=\"text-primary-gradient-content/70\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (backLink()) {\n\t\t\t<div data-st-banner-back [class]=\"frostedBackClass\">\n\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n}\n\n<!-- Stretch the routed page (a sibling of router-outlet) so feature cards can fill the shell -->\n<div\n\tclass=\"flex min-h-0 flex-1 flex-col [&>*:not(router-outlet)]:flex [&>*:not(router-outlet)]:min-h-full [&>*:not(router-outlet)]:flex-1 [&>*:not(router-outlet)]:flex-col\"\n>\n\t<ng-content />\n</div>\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation", "ariaLabel", "ariaExpanded", "ariaPressed", "ariaDescribedBy", "ariaControls"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1004
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: PageBannerComponent, isStandalone: true, selector: "st-page-banner", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, backLink: { classPropertyName: "backLink", publicName: "backLink", isSignal: true, isRequired: false, transformFunction: null }, backQueryParams: { classPropertyName: "backQueryParams", publicName: "backQueryParams", isSignal: true, isRequired: false, transformFunction: null }, bannerAsset: { classPropertyName: "bannerAsset", publicName: "bannerAsset", isSignal: true, isRequired: false, transformFunction: null }, bannerTone: { classPropertyName: "bannerTone", publicName: "bannerTone", isSignal: true, isRequired: false, transformFunction: null }, bannerTextSurface: { classPropertyName: "bannerTextSurface", publicName: "bannerTextSurface", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClass()" } }, ngImport: i0, template: "@if (isClassic()) {\n\t@if (bannerUrl(); as url) {\n\t\t<div\n\t\t\tdata-st-banner=\"image\"\n\t\t\t[style.background-image]=\"'url(' + url + ')'\"\n\t\t\tclass=\"rounded-box bg-neutral relative mb-6 flex h-30 items-end justify-between bg-cover bg-center px-6 py-5\"\n\t\t>\n\t\t\t@if (scrimTone(); as tone) {\n\t\t\t\t<!-- Tone-matched veil (theme token --color-banner-scrim-<tone>), solid behind the text column and fading out to the right -->\n\t\t\t\t<div [attr.data-st-banner-scrim]=\"tone\" aria-hidden=\"true\" class=\"rounded-box pointer-events-none absolute inset-0 z-0\"></div>\n\t\t\t} @else {\n\t\t\t\t<!-- Caption fade from the bottom-left corner, matched to the image tone (theme token --color-banner-caption-<tone>) -->\n\t\t\t\t<div [attr.data-st-banner-caption]=\"captionTone()\" aria-hidden=\"true\" class=\"rounded-box pointer-events-none absolute inset-0 z-0\"></div>\n\t\t\t}\n\n\t\t\t@if (backLink()) {\n\t\t\t\t<!-- Over art the button sits on a frosted base-100 surface with base-content text, so the label keeps 4.5:1 over any pixel in either scheme -->\n\t\t\t\t<div data-st-banner-back [class]=\"backClass()\">\n\t\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- The [data-st-banner-text] scope makes base-content white over dark art and near-black (caption) or black (scrim) over light art -->\n\t\t\t<div [class]=\"textClass\" [attr.data-st-banner-text]=\"textScope()\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<div data-st-banner=\"plain\" class=\"rounded-box bg-base-200 relative mb-6 flex h-30 items-end justify-between px-6 py-5\">\n\t\t\t@if (backLink()) {\n\t\t\t\t<div data-st-banner-back class=\"absolute top-5 right-6 flex gap-3\" [class]=\"backFocusClass\">\n\t\t\t\t\t<st-button variant=\"tertiary\" size=\"sm\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n} @else if (title()) {\n\t<!-- Modern: on the brand gradient, primary-gradient-content stays light in both schemes. The band-text scope re-points base-content and base-content-secondary to it. -->\n\t<div data-st-banner=\"modern\" class=\"mb-4 flex items-end justify-between\">\n\t\t<div data-st-banner-band-text class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t@if (subtitle()) {\n\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (backLink()) {\n\t\t\t<div data-st-banner-back [class]=\"frostedBackClass\">\n\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n}\n\n<!-- Stretch the routed page (a sibling of router-outlet) so feature cards can fill the shell -->\n<div\n\tclass=\"flex min-h-0 flex-1 flex-col [&>*:not(router-outlet)]:flex [&>*:not(router-outlet)]:min-h-full [&>*:not(router-outlet)]:flex-1 [&>*:not(router-outlet)]:flex-col\"\n>\n\t<ng-content />\n</div>\n", dependencies: [{ kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation", "ariaLabel", "ariaExpanded", "ariaPressed", "ariaDescribedBy", "ariaControls"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
963
1005
  }
964
1006
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PageBannerComponent, decorators: [{
965
1007
  type: Component,
966
1008
  args: [{ selector: 'st-page-banner', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonComponent, TextDirective, TranslatePipe], host: {
967
1009
  '[class]': 'hostClass()',
968
- }, template: "@if (isClassic()) {\n\t@if (bannerUrl(); as url) {\n\t\t<div\n\t\t\tdata-st-banner=\"image\"\n\t\t\t[style.background-image]=\"'url(' + url + ')'\"\n\t\t\tclass=\"rounded-box bg-neutral relative mb-6 flex h-30 items-end justify-between bg-cover bg-center px-6 py-5\"\n\t\t>\n\t\t\t@if (!imageTone()) {\n\t\t\t\t<!-- Unknown image tone: a caption gradient darkens only the corner behind the title, so white text reads over any photo and the rest of the art stays untouched -->\n\t\t\t\t<div\n\t\t\t\t\tdata-st-banner-scrim\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\tclass=\"rounded-box pointer-events-none absolute inset-0 z-0 bg-linear-to-r from-black/70 via-black/40 via-60% to-transparent\"\n\t\t\t\t></div>\n\t\t\t}\n\n\t\t\t@if (backLink()) {\n\t\t\t\t<!-- Over art the button sits on a frosted base-100 surface with base-content text, so the label keeps 4.5:1 over any pixel in either scheme -->\n\t\t\t\t<div data-st-banner-back [class]=\"backClass()\">\n\t\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- Fixed white/black opposite to the image luminance (unknown tone = white over the caption gradient), with a soft halo of the opposite color for busy art -->\n\t\t\t<div [class]=\"textClass()\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"opacity-80\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<div data-st-banner=\"plain\" class=\"rounded-box bg-base-200 relative mb-6 flex h-30 items-end justify-between px-6 py-5\">\n\t\t\t@if (backLink()) {\n\t\t\t\t<div data-st-banner-back class=\"absolute top-5 right-6 flex gap-3\" [class]=\"backFocusClass\">\n\t\t\t\t\t<st-button variant=\"tertiary\" size=\"sm\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content/80\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n} @else if (title()) {\n\t<!-- Modern: on the brand gradient, primary-gradient-content stays light in both schemes -->\n\t<div data-st-banner=\"modern\" class=\"mb-4 flex items-end justify-between\">\n\t\t<div class=\"text-primary-gradient-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t@if (subtitle()) {\n\t\t\t\t<p class=\"text-primary-gradient-content/70\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (backLink()) {\n\t\t\t<div data-st-banner-back [class]=\"frostedBackClass\">\n\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n}\n\n<!-- Stretch the routed page (a sibling of router-outlet) so feature cards can fill the shell -->\n<div\n\tclass=\"flex min-h-0 flex-1 flex-col [&>*:not(router-outlet)]:flex [&>*:not(router-outlet)]:min-h-full [&>*:not(router-outlet)]:flex-1 [&>*:not(router-outlet)]:flex-col\"\n>\n\t<ng-content />\n</div>\n" }]
969
- }] });
1010
+ }, template: "@if (isClassic()) {\n\t@if (bannerUrl(); as url) {\n\t\t<div\n\t\t\tdata-st-banner=\"image\"\n\t\t\t[style.background-image]=\"'url(' + url + ')'\"\n\t\t\tclass=\"rounded-box bg-neutral relative mb-6 flex h-30 items-end justify-between bg-cover bg-center px-6 py-5\"\n\t\t>\n\t\t\t@if (scrimTone(); as tone) {\n\t\t\t\t<!-- Tone-matched veil (theme token --color-banner-scrim-<tone>), solid behind the text column and fading out to the right -->\n\t\t\t\t<div [attr.data-st-banner-scrim]=\"tone\" aria-hidden=\"true\" class=\"rounded-box pointer-events-none absolute inset-0 z-0\"></div>\n\t\t\t} @else {\n\t\t\t\t<!-- Caption fade from the bottom-left corner, matched to the image tone (theme token --color-banner-caption-<tone>) -->\n\t\t\t\t<div [attr.data-st-banner-caption]=\"captionTone()\" aria-hidden=\"true\" class=\"rounded-box pointer-events-none absolute inset-0 z-0\"></div>\n\t\t\t}\n\n\t\t\t@if (backLink()) {\n\t\t\t\t<!-- Over art the button sits on a frosted base-100 surface with base-content text, so the label keeps 4.5:1 over any pixel in either scheme -->\n\t\t\t\t<div data-st-banner-back [class]=\"backClass()\">\n\t\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- The [data-st-banner-text] scope makes base-content white over dark art and near-black (caption) or black (scrim) over light art -->\n\t\t\t<div [class]=\"textClass\" [attr.data-st-banner-text]=\"textScope()\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<div data-st-banner=\"plain\" class=\"rounded-box bg-base-200 relative mb-6 flex h-30 items-end justify-between px-6 py-5\">\n\t\t\t@if (backLink()) {\n\t\t\t\t<div data-st-banner-back class=\"absolute top-5 right-6 flex gap-3\" [class]=\"backFocusClass\">\n\t\t\t\t\t<st-button variant=\"tertiary\" size=\"sm\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t\t</st-button>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t\t@if (subtitle()) {\n\t\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n} @else if (title()) {\n\t<!-- Modern: on the brand gradient, primary-gradient-content stays light in both schemes. The band-text scope re-points base-content and base-content-secondary to it. -->\n\t<div data-st-banner=\"modern\" class=\"mb-4 flex items-end justify-between\">\n\t\t<div data-st-banner-band-text class=\"text-base-content flex min-w-0 flex-col wrap-break-word\">\n\t\t\t<h1 stText=\"1\" stTextWeight=\"medium\">{{ title() }}</h1>\n\t\t\t@if (subtitle()) {\n\t\t\t\t<p class=\"text-base-content-secondary\" stText=\"7\" stTextWeight=\"medium\" stTextLineClamp=\"2\">{{ subtitle() }}</p>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (backLink()) {\n\t\t\t<div data-st-banner-back [class]=\"frostedBackClass\">\n\t\t\t\t<st-button variant=\"base\" size=\"sm\" [ghost]=\"true\" [icon]=\"backIcon\" (clicked)=\"goBack()\">\n\t\t\t\t\t{{ 'sdk.layout.back' | translate }}\n\t\t\t\t</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n}\n\n<!-- Stretch the routed page (a sibling of router-outlet) so feature cards can fill the shell -->\n<div\n\tclass=\"flex min-h-0 flex-1 flex-col [&>*:not(router-outlet)]:flex [&>*:not(router-outlet)]:min-h-full [&>*:not(router-outlet)]:flex-1 [&>*:not(router-outlet)]:flex-col\"\n>\n\t<ng-content />\n</div>\n" }]
1011
+ }], ctorParameters: () => [] });
970
1012
 
971
1013
  /**
972
1014
  * Generated bundle index. Do not edit.