@ferrlabs/ui-ng 1.37.1 → 1.38.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.
@@ -11797,6 +11797,7 @@ var PageHeaderComponent = class PageHeaderComponent {
11797
11797
  this.count = input(null, ...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
11798
11798
  this.sub = input(null, ...ngDevMode ? [{ debugName: "sub" }] : /* istanbul ignore next */ []);
11799
11799
  this.breadcrumbs = input([], ...ngDevMode ? [{ debugName: "breadcrumbs" }] : /* istanbul ignore next */ []);
11800
+ this.helpHref = input(null, ...ngDevMode ? [{ debugName: "helpHref" }] : /* istanbul ignore next */ []);
11800
11801
  }
11801
11802
  static {
11802
11803
  this.ɵfac = i0.ɵɵngDeclareFactory({
@@ -11850,6 +11851,13 @@ var PageHeaderComponent = class PageHeaderComponent {
11850
11851
  isSignal: true,
11851
11852
  isRequired: false,
11852
11853
  transformFunction: null
11854
+ },
11855
+ helpHref: {
11856
+ classPropertyName: "helpHref",
11857
+ publicName: "helpHref",
11858
+ isSignal: true,
11859
+ isRequired: false,
11860
+ transformFunction: null
11853
11861
  }
11854
11862
  },
11855
11863
  ngImport: i0,
@@ -11890,11 +11898,37 @@ var PageHeaderComponent = class PageHeaderComponent {
11890
11898
  <p class="flr-ph__sub">{{ sub() }}</p>
11891
11899
  }
11892
11900
  </div>
11893
- <div class="flr-ph__actions"><ng-content select="[page-header-actions]" /></div>
11901
+ <div class="flr-ph__actions">
11902
+ <ng-content select="[page-header-actions]" />
11903
+ @if (helpHref(); as href) {
11904
+ <a
11905
+ class="flr-ph__help"
11906
+ [href]="href"
11907
+ target="_blank"
11908
+ rel="noopener"
11909
+ aria-label="Open the documentation"
11910
+ title="Documentation"
11911
+ >
11912
+ <svg
11913
+ viewBox="0 0 24 24"
11914
+ fill="none"
11915
+ stroke="currentColor"
11916
+ stroke-width="1.75"
11917
+ stroke-linecap="round"
11918
+ stroke-linejoin="round"
11919
+ aria-hidden="true"
11920
+ >
11921
+ <circle cx="12" cy="12" r="9" />
11922
+ <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
11923
+ <line x1="12" y1="17" x2="12.01" y2="17" />
11924
+ </svg>
11925
+ </a>
11926
+ }
11927
+ </div>
11894
11928
  </div>
11895
11929
  `,
11896
11930
  isInline: true,
11897
- styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;gap:10px;flex-wrap:wrap}.flr-ph__actions:empty{display:none}\n"],
11931
+ styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.flr-ph__help{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;color:var(--color-ink-3, #64748b);transition:color .12s ease,background-color .12s ease}.flr-ph__help:hover{color:var(--color-ink, #1e293b);background:var(--color-app-nav-active, rgba(30, 41, 59, .06))}.flr-ph__help:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:2px}.flr-ph__help svg{width:18px;height:18px}.flr-ph__actions:empty{display:none}\n"],
11898
11932
  changeDetection: i0.ChangeDetectionStrategy.OnPush
11899
11933
  });
11900
11934
  }
@@ -11946,10 +11980,36 @@ i0.ɵɵngDeclareClassMetadata({
11946
11980
  <p class="flr-ph__sub">{{ sub() }}</p>
11947
11981
  }
11948
11982
  </div>
11949
- <div class="flr-ph__actions"><ng-content select="[page-header-actions]" /></div>
11983
+ <div class="flr-ph__actions">
11984
+ <ng-content select="[page-header-actions]" />
11985
+ @if (helpHref(); as href) {
11986
+ <a
11987
+ class="flr-ph__help"
11988
+ [href]="href"
11989
+ target="_blank"
11990
+ rel="noopener"
11991
+ aria-label="Open the documentation"
11992
+ title="Documentation"
11993
+ >
11994
+ <svg
11995
+ viewBox="0 0 24 24"
11996
+ fill="none"
11997
+ stroke="currentColor"
11998
+ stroke-width="1.75"
11999
+ stroke-linecap="round"
12000
+ stroke-linejoin="round"
12001
+ aria-hidden="true"
12002
+ >
12003
+ <circle cx="12" cy="12" r="9" />
12004
+ <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
12005
+ <line x1="12" y1="17" x2="12.01" y2="17" />
12006
+ </svg>
12007
+ </a>
12008
+ }
12009
+ </div>
11950
12010
  </div>
11951
12011
  `,
11952
- styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;gap:10px;flex-wrap:wrap}.flr-ph__actions:empty{display:none}\n"]
12012
+ styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.flr-ph__help{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;color:var(--color-ink-3, #64748b);transition:color .12s ease,background-color .12s ease}.flr-ph__help:hover{color:var(--color-ink, #1e293b);background:var(--color-app-nav-active, rgba(30, 41, 59, .06))}.flr-ph__help:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:2px}.flr-ph__help svg{width:18px;height:18px}.flr-ph__actions:empty{display:none}\n"]
11953
12013
  }]
11954
12014
  }],
11955
12015
  propDecorators: {
@@ -11992,6 +12052,14 @@ i0.ɵɵngDeclareClassMetadata({
11992
12052
  alias: "breadcrumbs",
11993
12053
  required: false
11994
12054
  }]
12055
+ }],
12056
+ helpHref: [{
12057
+ type: i0.Input,
12058
+ args: [{
12059
+ isSignal: true,
12060
+ alias: "helpHref",
12061
+ required: false
12062
+ }]
11995
12063
  }]
11996
12064
  }
11997
12065
  });