@sixbell-telco/sdk 4.7.0 → 4.9.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 (74) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/components/accordion/README.md +1 -1
  3. package/components/accordion/src/accordion.component.d.ts +4 -0
  4. package/components/data-table/src/data-table.component.d.ts +2 -24
  5. package/components/dialog/README.md +4 -3
  6. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +2 -1
  7. package/components/dialog/src/dialog.component.d.ts +10 -5
  8. package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +1 -1
  9. package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +3 -2
  10. package/components/forms/combobox/README.md +9 -0
  11. package/components/forms/combobox/src/combobox.component.d.ts +46 -2
  12. package/components/forms/date-picker/README.md +3 -1
  13. package/components/forms/date-picker/src/date-picker.component.d.ts +8 -1
  14. package/components/forms/form-error/README.md +2 -0
  15. package/components/forms/form-error/src/form-error.component.d.ts +17 -0
  16. package/components/forms/form-hint/README.md +2 -2
  17. package/components/forms/form-item/README.md +1 -0
  18. package/components/forms/form-item/src/form-item.component.d.ts +38 -6
  19. package/components/forms/input/README.md +7 -0
  20. package/components/forms/input/src/input.component.d.ts +11 -1
  21. package/components/forms/select/README.md +8 -0
  22. package/components/forms/select/src/select.component.d.ts +40 -1
  23. package/components/forms/textarea/README.md +1 -0
  24. package/components/paginator/README.md +3 -0
  25. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +8 -3
  26. package/components/paginator/src/paginator.component.d.ts +2 -1
  27. package/components/table/src/table.component.d.ts +3 -23
  28. package/directives/only-numbers/src/only-numbers.directive.d.ts +27 -1
  29. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -1
  30. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  31. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +5 -2
  32. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  33. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +30 -13
  34. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  35. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +2 -1
  36. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  37. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +10 -4
  38. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  39. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
  40. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  41. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +1 -1
  42. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  43. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +74 -8
  44. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  45. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +17 -4
  46. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  47. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +32 -4
  48. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  49. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +74 -10
  50. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
  51. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +13 -3
  52. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  53. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +74 -6
  54. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  55. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
  56. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  57. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +2 -2
  58. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  59. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +15 -11
  60. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  61. package/fesm2022/sixbell-telco-sdk-components-table.mjs +5 -2
  62. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  63. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +49 -4
  64. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  65. package/fesm2022/sixbell-telco-sdk-layouts.mjs +33 -3
  66. package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
  67. package/i18n/sdk/en.json +7 -3
  68. package/i18n/sdk/es.json +7 -3
  69. package/i18n/sdk/pt.json +7 -3
  70. package/layouts/README.md +7 -2
  71. package/layouts/src/page-banner/page-banner.component.d.ts +10 -0
  72. package/manifest.json +95 -15
  73. package/package.json +1 -1
  74. package/src/_index.css +48 -7
@@ -739,7 +739,7 @@ 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-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 });
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", "onlyNumbersAllowNegative", "onlyNumbersAllowDecimal", "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,
@@ -887,6 +887,13 @@ 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
+ /**
891
+ * Modern layout: the brand band of `bg-modern-gradient` holds at least this far (rem) and always this gap (rem)
892
+ * below the banner title and subtitle, so a wrapped title keeps the ink behind it and the fade moves down with the
893
+ * content. scripts/banner-text-contrast.contract.test.mjs reads both values.
894
+ */
895
+ const MODERN_BAND_MIN_REM = 11;
896
+ const MODERN_BAND_GAP_REM = 1.5;
890
897
  /** @internal Dev-mode switch for the banner's console warnings; specs replace `enabled` to check prod mode. */
891
898
  const pageBannerDevMode = { enabled: () => isDevMode() };
892
899
  /**
@@ -902,6 +909,9 @@ class PageBannerComponent {
902
909
  themeAssetsService = inject(ThemeAssetsService);
903
910
  themeService = inject(ThemeService);
904
911
  router = inject(Router);
912
+ host = inject(ElementRef);
913
+ /** The modern banner text block; its bottom anchors the brand band of the layout frame. */
914
+ bandText = viewChild('bandText');
905
915
  title = input('');
906
916
  subtitle = input('');
907
917
  /** URL the back button navigates to; no button when empty. */
@@ -974,6 +984,26 @@ class PageBannerComponent {
974
984
  });
975
985
  warnedScrimWithoutTone = false;
976
986
  constructor() {
987
+ // Modern: anchor the brand band to the bottom of the title and subtitle, on the layout frame that paints it.
988
+ afterRenderEffect((onCleanup) => {
989
+ const text = this.bandText()?.nativeElement;
990
+ const frame = this.host.nativeElement.closest('.bg-modern-gradient');
991
+ if (!text || !frame || typeof ResizeObserver === 'undefined')
992
+ return;
993
+ const update = () => {
994
+ const rootPx = Number.parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
995
+ const bottomRem = (text.getBoundingClientRect().bottom - frame.getBoundingClientRect().top) / rootPx;
996
+ frame.style.setProperty('--st-modern-band-extent', `${Math.max(MODERN_BAND_MIN_REM, bottomRem + MODERN_BAND_GAP_REM)}rem`);
997
+ };
998
+ update();
999
+ const observer = new ResizeObserver(update);
1000
+ observer.observe(text);
1001
+ observer.observe(frame);
1002
+ onCleanup(() => {
1003
+ observer.disconnect();
1004
+ frame.style.removeProperty('--st-modern-band-extent');
1005
+ });
1006
+ });
977
1007
  // Opting into the scrim over art of unknown tone falls back to the caption; say so once per banner in dev mode.
978
1008
  effect(() => {
979
1009
  if (this.warnedScrimWithoutTone || this.requestedSurface() !== 'scrim' || !this.isClassic() || !this.bannerUrl() || this.imageTone())
@@ -1001,13 +1031,13 @@ class PageBannerComponent {
1001
1031
  return Object.fromEntries(keep.filter((name) => Object.hasOwn(current, name)).map((name) => [name, current[name]]));
1002
1032
  }
1003
1033
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PageBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
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 });
1034
+ 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()" } }, viewQueries: [{ propertyName: "bandText", first: true, predicate: ["bandText"], descendants: true, isSignal: true }], 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 #bandText 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 });
1005
1035
  }
1006
1036
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PageBannerComponent, decorators: [{
1007
1037
  type: Component,
1008
1038
  args: [{ selector: 'st-page-banner', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonComponent, TextDirective, TranslatePipe], host: {
1009
1039
  '[class]': 'hostClass()',
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" }]
1040
+ }, 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 #bandText 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
1041
  }], ctorParameters: () => [] });
1012
1042
 
1013
1043
  /**