@firestitch/card 18.0.0 → 18.1.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.
@@ -2,7 +2,9 @@ import { FsCardSpan } from '../../interfaces';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * One titled panel of a page: an icon on a tile of the accent, its heading,
5
- * an optional line under it, and its content.
5
+ * an optional line under it, and its content. The heading line is an
6
+ * `fs-card-heading`; a card with no `heading` draws none, and its content
7
+ * starts its own sections with `fs-card-heading`s, as one form in one card.
6
8
  *
7
9
  * - `meta` sits beside the heading in a word or two: the window or source its
8
10
  * figures are from ("30 days").
@@ -24,6 +26,7 @@ import * as i0 from "@angular/core";
24
26
  * the heading takes only the shared heading face, weight and tracking.
25
27
  */
26
28
  export declare class FsCardComponent {
29
+ /** With none, the card draws no heading line of its own */
27
30
  heading: import("@angular/core").InputSignal<string>;
28
31
  /** A Material icon name; with none the heading starts the line */
29
32
  icon: import("@angular/core").InputSignal<string>;
@@ -42,5 +45,5 @@ export declare class FsCardComponent {
42
45
  /** Names the card's section by its heading, for screen readers */
43
46
  readonly headingId: string;
44
47
  static ɵfac: i0.ɵɵFactoryDeclaration<FsCardComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<FsCardComponent, "fs-card", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "subheading": { "alias": "subheading"; "required": false; "isSignal": true; }; "meta": { "alias": "meta"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "flushBottom": { "alias": "flushBottom"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, {}, never, ["[fsCardActions]", "fs-menu", "[fsCardSubheading]", "*"], true, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsCardComponent, "fs-card", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "subheading": { "alias": "subheading"; "required": false; "isSignal": true; }; "meta": { "alias": "meta"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "flushBottom": { "alias": "flushBottom"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, {}, never, ["[fsCardActions]", "fs-menu", "[fsCardSubheading]", "*"], true, never>;
46
49
  }
@@ -0,0 +1,41 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * A card's heading line on its own: an icon on a tile of the accent, the
4
+ * heading, a meta beside it, a line under it, and the actions and kebab at
5
+ * its right. `fs-card` draws its heading with it, and it stands anywhere
6
+ * else a section wants the same heading: several of them in one `fs-card`
7
+ * (an `fs-card` with no `heading` of its own), each starting a section of
8
+ * one form saved by one button, or over content outside any card.
9
+ *
10
+ * - `meta` sits beside the heading in a word or two: the window or source its
11
+ * figures are from ("30 days").
12
+ * - What can be done to the section is an `fs-menu` given as its content; its
13
+ * kebab sits at the right of the heading line. A button that takes the
14
+ * reader elsewhere ("Open preview") is given with an `fsCardActions`
15
+ * attribute and sits before the kebab.
16
+ * - Lines under the heading that one string cannot carry (several, or some
17
+ * shown only at times) are an element given with an `fsCardSubheading`
18
+ * attribute, its lines plain `div`s.
19
+ *
20
+ * A heading that follows content (the second section of a card) keeps a
21
+ * section's distance from it, `--fs-card-heading-gap`; the first sits where
22
+ * it is put. Its look reads the same `--fs-card-*` tokens as the card.
23
+ */
24
+ export declare class FsCardHeadingComponent {
25
+ heading: import("@angular/core").InputSignal<string>;
26
+ /** A Material icon name; with none the heading starts the line */
27
+ icon: import("@angular/core").InputSignal<string>;
28
+ /** A short line under the heading: what the section holds, or how to read it */
29
+ subheading: import("@angular/core").InputSignal<string>;
30
+ /** A word or two on the heading's line, in subheading type */
31
+ meta: import("@angular/core").InputSignal<string>;
32
+ /**
33
+ * Where the heading sits in the page's outline, for screen readers: 2 for a
34
+ * section on a page under its title, 3 for one under a section's own heading
35
+ */
36
+ headingLevel: import("@angular/core").InputSignal<number>;
37
+ /** The heading's id, for what is named by it (an fs-card's section) */
38
+ headingId: import("@angular/core").InputSignal<string>;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsCardHeadingComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsCardHeadingComponent, "fs-card-heading", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "subheading": { "alias": "subheading"; "required": false; "isSignal": true; }; "meta": { "alias": "meta"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; "headingId": { "alias": "headingId"; "required": false; "isSignal": true; }; }, {}, never, ["[fsCardActions]", "fs-menu", "[fsCardSubheading]"], true, never>;
41
+ }
@@ -1,11 +1,13 @@
1
1
  import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
- import { MatIcon } from '@angular/material/icon';
2
+ import { FsCardHeadingComponent } from '../card-heading/card-heading.component';
3
3
  import * as i0 from "@angular/core";
4
4
  // Each card's heading id, unique on the page
5
5
  let nextId = 0;
6
6
  /**
7
7
  * One titled panel of a page: an icon on a tile of the accent, its heading,
8
- * an optional line under it, and its content.
8
+ * an optional line under it, and its content. The heading line is an
9
+ * `fs-card-heading`; a card with no `heading` draws none, and its content
10
+ * starts its own sections with `fs-card-heading`s, as one form in one card.
9
11
  *
10
12
  * - `meta` sits beside the heading in a word or two: the window or source its
11
13
  * figures are from ("30 days").
@@ -27,7 +29,8 @@ let nextId = 0;
27
29
  * the heading takes only the shared heading face, weight and tracking.
28
30
  */
29
31
  export class FsCardComponent {
30
- heading = input.required();
32
+ /** With none, the card draws no heading line of its own */
33
+ heading = input('');
31
34
  /** A Material icon name; with none the heading starts the line */
32
35
  icon = input('');
33
36
  /** A short line under the heading: what the card counts, or how to read it */
@@ -43,16 +46,16 @@ export class FsCardComponent {
43
46
  */
44
47
  headingLevel = input(2);
45
48
  /** Names the card's section by its heading, for screen readers */
46
- headingId = `fs-card-heading-${nextId++}`;
49
+ headingId = `fs-card-${nextId++}-heading`;
47
50
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
48
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardComponent, isStandalone: true, selector: "fs-card", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, span: { classPropertyName: "span", publicName: "span", isSignal: true, isRequired: false, transformFunction: null }, flushBottom: { classPropertyName: "flushBottom", publicName: "flushBottom", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'fs-card-span-' + span()" } }, ngImport: i0, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"headingId\">\n <div class=\"fs-card-header\">\n <!-- The actions and kebab drop under the heading where the card is too narrow for both -->\n <div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n </div>\n @if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n }\n <!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n <div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </div>\n </div>\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}.fs-card-header{margin-bottom:20px}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardComponent, isStandalone: true, selector: "fs-card", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, span: { classPropertyName: "span", publicName: "span", isSignal: true, isRequired: false, transformFunction: null }, flushBottom: { classPropertyName: "flushBottom", publicName: "flushBottom", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'fs-card-span-' + span()" } }, ngImport: i0, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\">\n <!-- With no heading of its own, the card is a plain panel: its content\n starts its sections with fs-card-heading, and those carry any kebab -->\n @if (heading()) {\n <fs-card-heading\n [heading]=\"heading()\"\n [icon]=\"icon()\"\n [meta]=\"meta()\"\n [subheading]=\"subheading()\"\n [headingLevel]=\"headingLevel()\"\n [headingId]=\"headingId\">\n <ng-container ngProjectAs=\"[fsCardActions]\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"fs-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"[fsCardSubheading]\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </ng-container>\n </fs-card-heading>\n }\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}\n"], dependencies: [{ kind: "component", type: FsCardHeadingComponent, selector: "fs-card-heading", inputs: ["heading", "icon", "subheading", "meta", "headingLevel", "headingId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
49
52
  }
50
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardComponent, decorators: [{
51
54
  type: Component,
52
55
  args: [{ selector: 'fs-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
53
- MatIcon,
56
+ FsCardHeadingComponent,
54
57
  ], host: {
55
58
  '[class]': '\'fs-card-span-\' + span()',
56
- }, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"headingId\">\n <div class=\"fs-card-header\">\n <!-- The actions and kebab drop under the heading where the card is too narrow for both -->\n <div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n </div>\n @if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n }\n <!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n <div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </div>\n </div>\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}.fs-card-header{margin-bottom:20px}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"] }]
59
+ }, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\">\n <!-- With no heading of its own, the card is a plain panel: its content\n starts its sections with fs-card-heading, and those carry any kebab -->\n @if (heading()) {\n <fs-card-heading\n [heading]=\"heading()\"\n [icon]=\"icon()\"\n [meta]=\"meta()\"\n [subheading]=\"subheading()\"\n [headingLevel]=\"headingLevel()\"\n [headingId]=\"headingId\">\n <ng-container ngProjectAs=\"[fsCardActions]\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"fs-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"[fsCardSubheading]\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </ng-container>\n </fs-card-heading>\n }\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px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lbnVcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiZnMtbWVudVwiPjwvbmctY29udGVudD5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgPG5nLWNvbnRhaW5lciBuZ1Byb2plY3RBcz1cIltmc0NhcmRTdWJoZWFkaW5nXVwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbZnNDYXJkU3ViaGVhZGluZ11cIj48L25nLWNvbnRlbnQ+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L2ZzLWNhcmQtaGVhZGluZz5cbiAgfVxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L3NlY3Rpb24+XG4iXX0=
@@ -0,0 +1,52 @@
1
+ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
+ import { MatIcon } from '@angular/material/icon';
3
+ import * as i0 from "@angular/core";
4
+ // Each heading's id, unique on the page
5
+ let nextId = 0;
6
+ /**
7
+ * A card's heading line on its own: an icon on a tile of the accent, the
8
+ * heading, a meta beside it, a line under it, and the actions and kebab at
9
+ * its right. `fs-card` draws its heading with it, and it stands anywhere
10
+ * else a section wants the same heading: several of them in one `fs-card`
11
+ * (an `fs-card` with no `heading` of its own), each starting a section of
12
+ * one form saved by one button, or over content outside any card.
13
+ *
14
+ * - `meta` sits beside the heading in a word or two: the window or source its
15
+ * figures are from ("30 days").
16
+ * - What can be done to the section is an `fs-menu` given as its content; its
17
+ * kebab sits at the right of the heading line. A button that takes the
18
+ * reader elsewhere ("Open preview") is given with an `fsCardActions`
19
+ * attribute and sits before the kebab.
20
+ * - Lines under the heading that one string cannot carry (several, or some
21
+ * shown only at times) are an element given with an `fsCardSubheading`
22
+ * attribute, its lines plain `div`s.
23
+ *
24
+ * A heading that follows content (the second section of a card) keeps a
25
+ * section's distance from it, `--fs-card-heading-gap`; the first sits where
26
+ * it is put. Its look reads the same `--fs-card-*` tokens as the card.
27
+ */
28
+ export class FsCardHeadingComponent {
29
+ heading = input.required();
30
+ /** A Material icon name; with none the heading starts the line */
31
+ icon = input('');
32
+ /** A short line under the heading: what the section holds, or how to read it */
33
+ subheading = input('');
34
+ /** A word or two on the heading's line, in subheading type */
35
+ meta = input('');
36
+ /**
37
+ * Where the heading sits in the page's outline, for screen readers: 2 for a
38
+ * section on a page under its title, 3 for one under a section's own heading
39
+ */
40
+ headingLevel = input(2);
41
+ /** The heading's id, for what is named by it (an fs-card's section) */
42
+ headingId = input(`fs-card-heading-${nextId++}`);
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardHeadingComponent, isStandalone: true, selector: "fs-card-heading", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, headingId: { classPropertyName: "headingId", publicName: "headingId", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both -->\n<div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId()\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n</div>\n@if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n}\n<!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n<div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n</div>\n", styles: [":host{display:block;margin-bottom:20px}:host(:not(:first-child)){margin-top:var(--fs-card-heading-gap, 36px)}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, decorators: [{
47
+ type: Component,
48
+ args: [{ selector: 'fs-card-heading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
49
+ MatIcon,
50
+ ], template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both -->\n<div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId()\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n</div>\n@if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n}\n<!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n<div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n</div>\n", styles: [":host{display:block;margin-bottom:20px}:host(:not(:first-child)){margin-top:var(--fs-card-heading-gap, 36px)}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"] }]
51
+ }] });
52
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkaW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jYXJkLWhlYWRpbmcvY2FyZC1oZWFkaW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jYXJkLWhlYWRpbmcvY2FyZC1oZWFkaW5nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHakQsd0NBQXdDO0FBQ3hDLElBQ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8L2Rpdj5cbjwvZGl2PlxuQGlmIChzdWJoZWFkaW5nKCkpIHtcbiAgPGRpdiBjbGFzcz1cImZzLWNhcmQtc3ViaGVhZGluZ1wiPnt7IHN1YmhlYWRpbmcoKSB9fTwvZGl2PlxufVxuPCEtLSBMaW5lcyB1bmRlciB0aGUgaGVhZGluZyBhIHN0cmluZyBjYW5ub3QgY2Fycnk6IHNldmVyYWwgb2YgdGhlbSwgb3Igb25lcyBzaG93biBvbmx5IGF0IHRpbWVzIC0tPlxuPGRpdiBjbGFzcz1cImZzLWNhcmQtc3ViaGVhZGluZyBmcy1jYXJkLXN1YmhlYWRpbmctbGluZXNcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2ZzQ2FyZFN1YmhlYWRpbmddXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
@@ -2,13 +2,16 @@
2
2
  * Public API Surface of @firestitch/card
3
3
  *
4
4
  * A page laid out in cards: FsCardComponent (`fs-card`), one titled panel
5
- * (icon, heading, subheading, actions, content); FsCardBleedComponent
5
+ * (icon, heading, subheading, actions, content); FsCardHeadingComponent
6
+ * (`fs-card-heading`), that heading line on its own, for a card of several
7
+ * sections or a section outside a card; FsCardBleedComponent
6
8
  * (`fs-card-bleed`), content of a card that runs to its left and right edges;
7
9
  * and FsCardsComponent (`fs-cards`), the responsive grid that gives each card
8
10
  * a third, a half, two thirds or the whole line by its `span`.
9
11
  */
10
12
  export { FsCardComponent } from './app/components/card/card.component';
11
13
  export { FsCardBleedComponent } from './app/components/card-bleed/card-bleed.component';
14
+ export { FsCardHeadingComponent } from './app/components/card-heading/card-heading.component';
12
15
  export { FsCardsComponent } from './app/components/cards/cards.component';
13
16
  export * from './app/interfaces';
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWNfYXB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N0aW9uIG91dHNpZGUgYSBjYXJkOyBGc0NhcmRCbGVlZENvbXBvbmVudFxuICogKGBmcy1jYXJkLWJsZWVkYCksIGNvbnRlbnQgb2YgYSBjYXJkIHRoYXQgcnVucyB0byBpdHMgbGVmdCBhbmQgcmlnaHQgZWRnZXM7XG4gKiBhbmQgRnNDYXJkc0NvbXBvbmVudCAoYGZzLWNhcmRzYCksIHRoZSByZXNwb25zaXZlIGdyaWQgdGhhdCBnaXZlcyBlYWNoIGNhcmRcbiAqIGEgdGhpcmQsIGEgaGFsZiwgdHdvIHRoaXJkcyBvciB0aGUgd2hvbGUgbGluZSBieSBpdHMgYHNwYW5gLlxuICovXG5leHBvcnQgeyBGc0NhcmRDb21wb25lbnQgfSBmcm9tICcuL2FwcC9jb21wb25lbnRzL2NhcmQvY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0IHsgRnNDYXJkQmxlZWRDb21wb25lbnQgfSBmcm9tICcuL2FwcC9jb21wb25lbnRzL2NhcmQtYmxlZWQvY2FyZC1ibGVlZC5jb21wb25lbnQnO1xuZXhwb3J0IHsgRnNDYXJkSGVhZGluZ0NvbXBvbmVudCB9IGZyb20gJy4vYXBwL2NvbXBvbmVudHMvY2FyZC1oZWFkaW5nL2NhcmQtaGVhZGluZy5jb21wb25lbnQnO1xuZXhwb3J0IHsgRnNDYXJkc0NvbXBvbmVudCB9IGZyb20gJy4vYXBwL2NvbXBvbmVudHMvY2FyZHMvY2FyZHMuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYXBwL2ludGVyZmFjZXMnO1xuIl19
@@ -2,11 +2,62 @@ import * as i0 from '@angular/core';
2
2
  import { input, Component, ChangeDetectionStrategy } from '@angular/core';
3
3
  import { MatIcon } from '@angular/material/icon';
4
4
 
5
+ // Each heading's id, unique on the page
6
+ let nextId$1 = 0;
7
+ /**
8
+ * A card's heading line on its own: an icon on a tile of the accent, the
9
+ * heading, a meta beside it, a line under it, and the actions and kebab at
10
+ * its right. `fs-card` draws its heading with it, and it stands anywhere
11
+ * else a section wants the same heading: several of them in one `fs-card`
12
+ * (an `fs-card` with no `heading` of its own), each starting a section of
13
+ * one form saved by one button, or over content outside any card.
14
+ *
15
+ * - `meta` sits beside the heading in a word or two: the window or source its
16
+ * figures are from ("30 days").
17
+ * - What can be done to the section is an `fs-menu` given as its content; its
18
+ * kebab sits at the right of the heading line. A button that takes the
19
+ * reader elsewhere ("Open preview") is given with an `fsCardActions`
20
+ * attribute and sits before the kebab.
21
+ * - Lines under the heading that one string cannot carry (several, or some
22
+ * shown only at times) are an element given with an `fsCardSubheading`
23
+ * attribute, its lines plain `div`s.
24
+ *
25
+ * A heading that follows content (the second section of a card) keeps a
26
+ * section's distance from it, `--fs-card-heading-gap`; the first sits where
27
+ * it is put. Its look reads the same `--fs-card-*` tokens as the card.
28
+ */
29
+ class FsCardHeadingComponent {
30
+ heading = input.required();
31
+ /** A Material icon name; with none the heading starts the line */
32
+ icon = input('');
33
+ /** A short line under the heading: what the section holds, or how to read it */
34
+ subheading = input('');
35
+ /** A word or two on the heading's line, in subheading type */
36
+ meta = input('');
37
+ /**
38
+ * Where the heading sits in the page's outline, for screen readers: 2 for a
39
+ * section on a page under its title, 3 for one under a section's own heading
40
+ */
41
+ headingLevel = input(2);
42
+ /** The heading's id, for what is named by it (an fs-card's section) */
43
+ headingId = input(`fs-card-heading-${nextId$1++}`);
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
45
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardHeadingComponent, isStandalone: true, selector: "fs-card-heading", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, headingId: { classPropertyName: "headingId", publicName: "headingId", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both -->\n<div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId()\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n</div>\n@if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n}\n<!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n<div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n</div>\n", styles: [":host{display:block;margin-bottom:20px}:host(:not(:first-child)){margin-top:var(--fs-card-heading-gap, 36px)}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
+ }
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, decorators: [{
48
+ type: Component,
49
+ args: [{ selector: 'fs-card-heading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
50
+ MatIcon,
51
+ ], template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both -->\n<div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId()\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n</div>\n@if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n}\n<!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n<div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n</div>\n", styles: [":host{display:block;margin-bottom:20px}:host(:not(:first-child)){margin-top:var(--fs-card-heading-gap, 36px)}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"] }]
52
+ }] });
53
+
5
54
  // Each card's heading id, unique on the page
6
55
  let nextId = 0;
7
56
  /**
8
57
  * One titled panel of a page: an icon on a tile of the accent, its heading,
9
- * an optional line under it, and its content.
58
+ * an optional line under it, and its content. The heading line is an
59
+ * `fs-card-heading`; a card with no `heading` draws none, and its content
60
+ * starts its own sections with `fs-card-heading`s, as one form in one card.
10
61
  *
11
62
  * - `meta` sits beside the heading in a word or two: the window or source its
12
63
  * figures are from ("30 days").
@@ -28,7 +79,8 @@ let nextId = 0;
28
79
  * the heading takes only the shared heading face, weight and tracking.
29
80
  */
30
81
  class FsCardComponent {
31
- heading = input.required();
82
+ /** With none, the card draws no heading line of its own */
83
+ heading = input('');
32
84
  /** A Material icon name; with none the heading starts the line */
33
85
  icon = input('');
34
86
  /** A short line under the heading: what the card counts, or how to read it */
@@ -44,17 +96,17 @@ class FsCardComponent {
44
96
  */
45
97
  headingLevel = input(2);
46
98
  /** Names the card's section by its heading, for screen readers */
47
- headingId = `fs-card-heading-${nextId++}`;
99
+ headingId = `fs-card-${nextId++}-heading`;
48
100
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardComponent, isStandalone: true, selector: "fs-card", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, span: { classPropertyName: "span", publicName: "span", isSignal: true, isRequired: false, transformFunction: null }, flushBottom: { classPropertyName: "flushBottom", publicName: "flushBottom", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'fs-card-span-' + span()" } }, ngImport: i0, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"headingId\">\n <div class=\"fs-card-header\">\n <!-- The actions and kebab drop under the heading where the card is too narrow for both -->\n <div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n </div>\n @if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n }\n <!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n <div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </div>\n </div>\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}.fs-card-header{margin-bottom:20px}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
101
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FsCardComponent, isStandalone: true, selector: "fs-card", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, subheading: { classPropertyName: "subheading", publicName: "subheading", isSignal: true, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: true, isRequired: false, transformFunction: null }, span: { classPropertyName: "span", publicName: "span", isSignal: true, isRequired: false, transformFunction: null }, flushBottom: { classPropertyName: "flushBottom", publicName: "flushBottom", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'fs-card-span-' + span()" } }, ngImport: i0, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\">\n <!-- With no heading of its own, the card is a plain panel: its content\n starts its sections with fs-card-heading, and those carry any kebab -->\n @if (heading()) {\n <fs-card-heading\n [heading]=\"heading()\"\n [icon]=\"icon()\"\n [meta]=\"meta()\"\n [subheading]=\"subheading()\"\n [headingLevel]=\"headingLevel()\"\n [headingId]=\"headingId\">\n <ng-container ngProjectAs=\"[fsCardActions]\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"fs-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"[fsCardSubheading]\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </ng-container>\n </fs-card-heading>\n }\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}\n"], dependencies: [{ kind: "component", type: FsCardHeadingComponent, selector: "fs-card-heading", inputs: ["heading", "icon", "subheading", "meta", "headingLevel", "headingId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
102
  }
51
103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardComponent, decorators: [{
52
104
  type: Component,
53
105
  args: [{ selector: 'fs-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
54
- MatIcon,
106
+ FsCardHeadingComponent,
55
107
  ], host: {
56
108
  '[class]': '\'fs-card-span-\' + span()',
57
- }, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"headingId\">\n <div class=\"fs-card-header\">\n <!-- The actions and kebab drop under the heading where the card is too narrow for both -->\n <div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n </div>\n @if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n }\n <!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n <div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </div>\n </div>\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}.fs-card-header{margin-bottom:20px}.fs-card-heading{display:inline;font-family:var(--fs-card-heading-font, var(--fs-heading-font, inherit));font-size:var(--fs-card-heading-size, 16px);font-weight:var(--fs-card-heading-weight, var(--fs-heading-weight, normal));letter-spacing:var(--fs-heading-tracking, normal);line-height:1.3;color:var(--fs-card-heading-color, var(--fs-color-text, rgba(0, 0, 0, .87)))}.fs-card-meta,.fs-card-subheading{font-size:var(--fs-card-subheading-size, .85em);color:var(--fs-color-text-muted, rgba(0, 0, 0, .54))}.fs-card-meta{margin-left:4px}.fs-card-subheading{margin:10px 0 0;line-height:1.4}.fs-card-subheading-lines{display:block}.fs-card-subheading-lines:empty{display:none}.fs-card-title{flex:1 1 200px;min-width:0}.fs-card-actions,.fs-card-menu{display:flex;flex:none;align-items:center;height:32px}.fs-card-menu{margin-right:-12px}.fs-card-actions:empty,.fs-card-menu:empty{display:none}.fs-card-icon{--fs-card-icon-accent: var(--fs-card-icon-color, var(--fs-color-secondary, var(--fs-color-primary, #2563eb)));display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--fs-card-icon-radius, 10px);background:color-mix(in srgb,var(--fs-card-icon-accent) 10%,transparent);color:var(--fs-card-icon-accent)}.fs-card-icon mat-icon{width:20px;height:20px;font-size:20px}\n"] }]
109
+ }, template: "<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\">\n <!-- With no heading of its own, the card is a plain panel: its content\n starts its sections with fs-card-heading, and those carry any kebab -->\n @if (heading()) {\n <fs-card-heading\n [heading]=\"heading()\"\n [icon]=\"icon()\"\n [meta]=\"meta()\"\n [subheading]=\"subheading()\"\n [headingLevel]=\"headingLevel()\"\n [headingId]=\"headingId\">\n <ng-container ngProjectAs=\"[fsCardActions]\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"fs-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"[fsCardSubheading]\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </ng-container>\n </fs-card-heading>\n }\n <ng-content></ng-content>\n</section>\n", styles: ["@keyframes fs-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:host{display:block;min-width:0;animation:fs-card-rise .45s cubic-bezier(.2,.7,.3,1) .18s both}@media (prefers-reduced-motion: reduce){:host{animation:none}}:host(.fs-card-span-full){grid-column:1/-1}@container fs-cards (min-width: 0){:host{grid-column:1/-1}}@container fs-cards (min-width: 640px){:host(.fs-card-span-third),:host(.fs-card-span-half){grid-column:span 3}}@container fs-cards (min-width: 900px){:host(.fs-card-span-third){grid-column:span 2}:host(.fs-card-span-two-thirds){grid-column:span 4}}.fs-card{height:100%;box-sizing:border-box;padding:var(--fs-card-padding, 20px);border:1px solid var(--fs-card-border-color, var(--fs-hairline, #e5e7eb));border-radius:var(--fs-card-radius, var(--fs-radius-card, 14px));background:var(--fs-card-background, var(--fs-surface-background, #ffffff));box-shadow:var(--fs-card-shadow, 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18))}.fs-card-flush-bottom{padding-bottom:0}\n"] }]
58
110
  }] });
59
111
 
60
112
  /**
@@ -97,7 +149,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
97
149
  * Public API Surface of @firestitch/card
98
150
  *
99
151
  * A page laid out in cards: FsCardComponent (`fs-card`), one titled panel
100
- * (icon, heading, subheading, actions, content); FsCardBleedComponent
152
+ * (icon, heading, subheading, actions, content); FsCardHeadingComponent
153
+ * (`fs-card-heading`), that heading line on its own, for a card of several
154
+ * sections or a section outside a card; FsCardBleedComponent
101
155
  * (`fs-card-bleed`), content of a card that runs to its left and right edges;
102
156
  * and FsCardsComponent (`fs-cards`), the responsive grid that gives each card
103
157
  * a third, a half, two thirds or the whole line by its `span`.
@@ -107,5 +161,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
107
161
  * Generated bundle index. Do not edit.
108
162
  */
109
163
 
110
- export { FsCardBleedComponent, FsCardComponent, FsCardsComponent };
164
+ export { FsCardBleedComponent, FsCardComponent, FsCardHeadingComponent, FsCardsComponent };
111
165
  //# sourceMappingURL=firestitch-card.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"firestitch-card.mjs","sources":["../../src/app/components/card/card.component.ts","../../src/app/components/card/card.component.html","../../src/app/components/card-bleed/card-bleed.component.ts","../../src/app/components/cards/cards.component.ts","../../src/public_api.ts","../../src/firestitch-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\nimport { MatIcon } from '@angular/material/icon';\n\nimport { FsCardSpan } from '../../interfaces';\n\n\n// Each card's heading id, unique on the page\nlet nextId = 0;\n\n/**\n * One titled panel of a page: an icon on a tile of the accent, its heading,\n * an optional line under it, and its content.\n *\n * - `meta` sits beside the heading in a word or two: the window or source its\n * figures are from (\"30 days\").\n * - What can be done to the card is an `fs-menu` given as its content; its\n * kebab sits at the right of the heading line. A button that takes the\n * reader elsewhere (\"Open preview\") is given with an `fsCardActions`\n * attribute and sits before the kebab.\n * - Lines under the heading that one string cannot carry (several, or some\n * shown only at times) are an element given with an `fsCardSubheading`\n * attribute, its lines plain `div`s.\n * - In an `fs-cards` it takes the share of the line its `span` says.\n *\n * The card pads its content evenly on every side; `flushBottom` drops the\n * padding under it, for content that should run to the card's bottom edge.\n * Its look reads the `--fs-card-*` tokens, so an app restyles every card from\n * one place and dark mode follows the style package's surface tokens. Its\n * heading, meta and subheading set their own type rather than borrowing h3 or\n * the subheading classes, so an app's rules for those never spill into a card;\n * the heading takes only the shared heading face, weight and tracking.\n */\n@Component({\n selector: 'fs-card',\n templateUrl: './card.component.html',\n styleUrls: ['./card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n MatIcon,\n ],\n host: {\n '[class]': '\\'fs-card-span-\\' + span()',\n },\n})\nexport class FsCardComponent {\n\n public heading = input.required<string>();\n /** A Material icon name; with none the heading starts the line */\n public icon = input<string>('');\n /** A short line under the heading: what the card counts, or how to read it */\n public subheading = input<string>('');\n /** A word or two on the heading's line, in subheading type */\n public meta = input<string>('');\n public span = input<FsCardSpan>('third');\n /** No padding under the content, so it runs to the card's bottom edge */\n public flushBottom = input<boolean>(false);\n /**\n * Where the heading sits in the page's outline, for screen readers: 2 for a\n * card on a page under its title, 3 for one under a section's own heading\n */\n public headingLevel = input<number>(2);\n\n /** Names the card's section by its heading, for screen readers */\n public readonly headingId = `fs-card-heading-${nextId++}`;\n\n}\n","<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"headingId\">\n <div class=\"fs-card-header\">\n <!-- The actions and kebab drop under the heading where the card is too narrow for both -->\n <div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n </div>\n @if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n }\n <!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n <div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </div>\n </div>\n <ng-content></ng-content>\n</section>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n\n/**\n * Content of an `fs-card` that runs to the card's left and right edges: a\n * table, a list or a band of colour whose rows should meet the card's sides\n * rather than stop short at its padding. It reaches out past the padding by\n * exactly as much (`--fs-card-padding`), so nothing hard-codes the card's\n * inset, and hands that inset on to what it holds as `--fs-card-bleed-inset`:\n * pad a row's first and last cells by it and their text lines up with the\n * card's heading again. Only the sides: the card's own padding stays above\n * and under it.\n */\n@Component({\n selector: 'fs-card-bleed',\n template: '<ng-content></ng-content>',\n styleUrls: ['./card-bleed.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class FsCardBleedComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n\n/**\n * A page laid out in cards (`fs-card`), each taking the share of a line its\n * `span` says: a third, a half, two thirds or the whole line. Cards on one\n * line are as tall as the tallest of them. A card with no room beside it at\n * its share leaves the rest of the line empty, so they read in the order\n * written. The shares answer the grid's own width, not the window's, so the\n * same cards lay out the same way in a page, a dialog or a side panel.\n */\n@Component({\n selector: 'fs-cards',\n template: '<div class=\"fs-cards\"><ng-content></ng-content></div>',\n styleUrls: ['./cards.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class FsCardsComponent {}\n","/*\n * Public API Surface of @firestitch/card\n *\n * A page laid out in cards: FsCardComponent (`fs-card`), one titled panel\n * (icon, heading, subheading, actions, content); FsCardBleedComponent\n * (`fs-card-bleed`), content of a card that runs to its left and right edges;\n * and FsCardsComponent (`fs-cards`), the responsive grid that gives each card\n * a third, a half, two thirds or the whole line by its `span`.\n */\nexport { FsCardComponent } from './app/components/card/card.component';\nexport { FsCardBleedComponent } from './app/components/card-bleed/card-bleed.component';\nexport { FsCardsComponent } from './app/components/cards/cards.component';\nexport * from './app/interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAOA;AACA,IAAI,MAAM,GAAG,CAAC,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAcU,eAAe,CAAA;AAEnB,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;;AAEnC,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;;AAEzB,IAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC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":["../../src/app/components/card-heading/card-heading.component.ts","../../src/app/components/card-heading/card-heading.component.html","../../src/app/components/card/card.component.ts","../../src/app/components/card/card.component.html","../../src/app/components/card-bleed/card-bleed.component.ts","../../src/app/components/cards/cards.component.ts","../../src/public_api.ts","../../src/firestitch-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\nimport { MatIcon } from '@angular/material/icon';\n\n\n// Each heading's id, unique on the page\nlet nextId = 0;\n\n/**\n * A card's heading line on its own: an icon on a tile of the accent, the\n * heading, a meta beside it, a line under it, and the actions and kebab at\n * its right. `fs-card` draws its heading with it, and it stands anywhere\n * else a section wants the same heading: several of them in one `fs-card`\n * (an `fs-card` with no `heading` of its own), each starting a section of\n * one form saved by one button, or over content outside any card.\n *\n * - `meta` sits beside the heading in a word or two: the window or source its\n * figures are from (\"30 days\").\n * - What can be done to the section is an `fs-menu` given as its content; its\n * kebab sits at the right of the heading line. A button that takes the\n * reader elsewhere (\"Open preview\") is given with an `fsCardActions`\n * attribute and sits before the kebab.\n * - Lines under the heading that one string cannot carry (several, or some\n * shown only at times) are an element given with an `fsCardSubheading`\n * attribute, its lines plain `div`s.\n *\n * A heading that follows content (the second section of a card) keeps a\n * section's distance from it, `--fs-card-heading-gap`; the first sits where\n * it is put. Its look reads the same `--fs-card-*` tokens as the card.\n */\n@Component({\n selector: 'fs-card-heading',\n templateUrl: './card-heading.component.html',\n styleUrls: ['./card-heading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n MatIcon,\n ],\n})\nexport class FsCardHeadingComponent {\n\n public heading = input.required<string>();\n /** A Material icon name; with none the heading starts the line */\n public icon = input<string>('');\n /** A short line under the heading: what the section holds, or how to read it */\n public subheading = input<string>('');\n /** A word or two on the heading's line, in subheading type */\n public meta = input<string>('');\n /**\n * Where the heading sits in the page's outline, for screen readers: 2 for a\n * section on a page under its title, 3 for one under a section's own heading\n */\n public headingLevel = input<number>(2);\n /** The heading's id, for what is named by it (an fs-card's section) */\n public headingId = input<string>(`fs-card-heading-${nextId++}`);\n\n}\n","<!-- The actions and kebab drop under the heading where the line is too narrow for both -->\n<div class=\"fs-row.gap-sm.wrap\">\n <div class=\"fs-row.gap-sm fs-card-title\">\n @if (icon()) {\n <span class=\"fs-card-icon\">\n <mat-icon>{{ icon() }}</mat-icon>\n </span>\n }\n <div class=\"fs-flex\">\n <!-- A div in a heading's role, not an h3, so an app's own h3 rules never reach it -->\n <div\n class=\"fs-card-heading\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"headingId()\">\n {{ heading() }}\n </div>\n @if (meta()) {\n <span class=\"fs-card-meta\">{{ meta() }}</span>\n }\n </div>\n </div>\n <div class=\"fs-card-actions\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </div>\n <div class=\"fs-card-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </div>\n</div>\n@if (subheading()) {\n <div class=\"fs-card-subheading\">{{ subheading() }}</div>\n}\n<!-- Lines under the heading a string cannot carry: several of them, or ones shown only at times -->\n<div class=\"fs-card-subheading fs-card-subheading-lines\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\nimport { FsCardSpan } from '../../interfaces';\nimport { FsCardHeadingComponent } from '../card-heading/card-heading.component';\n\n\n// Each card's heading id, unique on the page\nlet nextId = 0;\n\n/**\n * One titled panel of a page: an icon on a tile of the accent, its heading,\n * an optional line under it, and its content. The heading line is an\n * `fs-card-heading`; a card with no `heading` draws none, and its content\n * starts its own sections with `fs-card-heading`s, as one form in one card.\n *\n * - `meta` sits beside the heading in a word or two: the window or source its\n * figures are from (\"30 days\").\n * - What can be done to the card is an `fs-menu` given as its content; its\n * kebab sits at the right of the heading line. A button that takes the\n * reader elsewhere (\"Open preview\") is given with an `fsCardActions`\n * attribute and sits before the kebab.\n * - Lines under the heading that one string cannot carry (several, or some\n * shown only at times) are an element given with an `fsCardSubheading`\n * attribute, its lines plain `div`s.\n * - In an `fs-cards` it takes the share of the line its `span` says.\n *\n * The card pads its content evenly on every side; `flushBottom` drops the\n * padding under it, for content that should run to the card's bottom edge.\n * Its look reads the `--fs-card-*` tokens, so an app restyles every card from\n * one place and dark mode follows the style package's surface tokens. Its\n * heading, meta and subheading set their own type rather than borrowing h3 or\n * the subheading classes, so an app's rules for those never spill into a card;\n * the heading takes only the shared heading face, weight and tracking.\n */\n@Component({\n selector: 'fs-card',\n templateUrl: './card.component.html',\n styleUrls: ['./card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n FsCardHeadingComponent,\n ],\n host: {\n '[class]': '\\'fs-card-span-\\' + span()',\n },\n})\nexport class FsCardComponent {\n\n /** With none, the card draws no heading line of its own */\n public heading = input<string>('');\n /** A Material icon name; with none the heading starts the line */\n public icon = input<string>('');\n /** A short line under the heading: what the card counts, or how to read it */\n public subheading = input<string>('');\n /** A word or two on the heading's line, in subheading type */\n public meta = input<string>('');\n public span = input<FsCardSpan>('third');\n /** No padding under the content, so it runs to the card's bottom edge */\n public flushBottom = input<boolean>(false);\n /**\n * Where the heading sits in the page's outline, for screen readers: 2 for a\n * card on a page under its title, 3 for one under a section's own heading\n */\n public headingLevel = input<number>(2);\n\n /** Names the card's section by its heading, for screen readers */\n public readonly headingId = `fs-card-${nextId++}-heading`;\n\n}\n","<section\n class=\"fs-card\"\n [class.fs-card-flush-bottom]=\"flushBottom()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\">\n <!-- With no heading of its own, the card is a plain panel: its content\n starts its sections with fs-card-heading, and those carry any kebab -->\n @if (heading()) {\n <fs-card-heading\n [heading]=\"heading()\"\n [icon]=\"icon()\"\n [meta]=\"meta()\"\n [subheading]=\"subheading()\"\n [headingLevel]=\"headingLevel()\"\n [headingId]=\"headingId\">\n <ng-container ngProjectAs=\"[fsCardActions]\">\n <ng-content select=\"[fsCardActions]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"fs-menu\">\n <ng-content select=\"fs-menu\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"[fsCardSubheading]\">\n <ng-content select=\"[fsCardSubheading]\"></ng-content>\n </ng-container>\n </fs-card-heading>\n }\n <ng-content></ng-content>\n</section>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n\n/**\n * Content of an `fs-card` that runs to the card's left and right edges: a\n * table, a list or a band of colour whose rows should meet the card's sides\n * rather than stop short at its padding. It reaches out past the padding by\n * exactly as much (`--fs-card-padding`), so nothing hard-codes the card's\n * inset, and hands that inset on to what it holds as `--fs-card-bleed-inset`:\n * pad a row's first and last cells by it and their text lines up with the\n * card's heading again. Only the sides: the card's own padding stays above\n * and under it.\n */\n@Component({\n selector: 'fs-card-bleed',\n template: '<ng-content></ng-content>',\n styleUrls: ['./card-bleed.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class FsCardBleedComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n\n/**\n * A page laid out in cards (`fs-card`), each taking the share of a line its\n * `span` says: a third, a half, two thirds or the whole line. Cards on one\n * line are as tall as the tallest of them. A card with no room beside it at\n * its share leaves the rest of the line empty, so they read in the order\n * written. The shares answer the grid's own width, not the window's, so the\n * same cards lay out the same way in a page, a dialog or a side panel.\n */\n@Component({\n selector: 'fs-cards',\n template: '<div class=\"fs-cards\"><ng-content></ng-content></div>',\n styleUrls: ['./cards.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class FsCardsComponent {}\n","/*\n * Public API Surface of @firestitch/card\n *\n * A page laid out in cards: FsCardComponent (`fs-card`), one titled panel\n * (icon, heading, subheading, actions, content); FsCardHeadingComponent\n * (`fs-card-heading`), that heading line on its own, for a card of several\n * sections or a section outside a card; FsCardBleedComponent\n * (`fs-card-bleed`), content of a card that runs to its left and right edges;\n * and FsCardsComponent (`fs-cards`), the responsive grid that gives each card\n * a third, a half, two thirds or the whole line by its `span`.\n */\nexport { FsCardComponent } from './app/components/card/card.component';\nexport { FsCardBleedComponent } from './app/components/card-bleed/card-bleed.component';\nexport { FsCardHeadingComponent } from './app/components/card-heading/card-heading.component';\nexport { FsCardsComponent } from './app/components/cards/cards.component';\nexport * from './app/interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["nextId"],"mappings":";;;;AAKA;AACA,IAAIA,QAAM,GAAG,CAAC,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;AAqBG;MAWU,sBAAsB,CAAA;AAE1B,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;;AAEnC,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;;AAEzB,IAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;;AAE/B,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAChC;;;AAGG;AACI,IAAA,YAAY,GAAG,KAAK,CAAS,CAAC,CAAC,CAAC;;IAEhC,SAAS,GAAG,KAAK,CAAS,CAAA,gBAAA,EAAmBA,QAAM,EAAE,CAAA,CAAE,CAAC,CAAC;wGAfrD,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EA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AAA,UAAA,EAAA,CAAA;kBAP5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,YACV,uDAAuD,EAAA,eAAA,EAEhD,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,MAAA,EAAA,CAAA,0JAAA,CAAA,EAAA,CAAA;;;AChBlB;;;;;;;;;;AAUG;;ACVH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestitch/card",
3
- "version": "18.0.0",
3
+ "version": "18.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-card"
package/public_api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { FsCardComponent } from './app/components/card/card.component';
2
2
  export { FsCardBleedComponent } from './app/components/card-bleed/card-bleed.component';
3
+ export { FsCardHeadingComponent } from './app/components/card-heading/card-heading.component';
3
4
  export { FsCardsComponent } from './app/components/cards/cards.component';
4
5
  export * from './app/interfaces';