@firestitch/card 18.1.0 → 18.1.1
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.
|
@@ -37,5 +37,5 @@ export declare class FsCardHeadingComponent {
|
|
|
37
37
|
/** The heading's id, for what is named by it (an fs-card's section) */
|
|
38
38
|
headingId: import("@angular/core").InputSignal<string>;
|
|
39
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"
|
|
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, ["[fsCardSubheading]", "[fsCardActions]", "fs-menu"], true, never>;
|
|
41
41
|
}
|
|
@@ -41,12 +41,12 @@ export class FsCardHeadingComponent {
|
|
|
41
41
|
/** The heading's id, for what is named by it (an fs-card's section) */
|
|
42
42
|
headingId = input(`fs-card-heading-${nextId++}`);
|
|
43
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
|
|
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 Top-aligned, so lines under the heading never move it off the icon's, actions' and kebab's line -->\n<div class=\"fs-row.gap-sm.wrap.align-start\">\n <div class=\"fs-row.gap-sm.align-start 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 <!-- The icon's height, the heading centered in it, so it is level with the icon, actions and kebab -->\n <div class=\"fs-row fs-card-heading-line\">\n <div>\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 @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 </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", 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-heading-line{min-height:32px}.fs-card-subheading{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
45
|
}
|
|
46
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{ selector: 'fs-card-heading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
49
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
|
|
50
|
+
], template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both.\n Top-aligned, so lines under the heading never move it off the icon's, actions' and kebab's line -->\n<div class=\"fs-row.gap-sm.wrap.align-start\">\n <div class=\"fs-row.gap-sm.align-start 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 <!-- The icon's height, the heading centered in it, so it is level with the icon, actions and kebab -->\n <div class=\"fs-row fs-card-heading-line\">\n <div>\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 @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 </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", 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-heading-line{min-height:32px}.fs-card-subheading{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
51
|
}] });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkaW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jYXJkLWhlYWRpbmcvY2FyZC1oZWFkaW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jYXJkLWhlYWRpbmcvY2FyZC1oZWFkaW5nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHakQsd0NBQXdDO0FBQ3hDLElBQUksTUFBTSxHQUFHLENBQUMsQ0FBQztBQUVmOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FxQkc7QUFXSCxNQUFNLE9BQU8sc0JBQXNCO0lBRTFCLE9BQU8sR0FBRyxLQUFLLENBQUMsUUFBUSxFQUFVLENBQUM7SUFDMUMsa0VBQWtFO0lBQzNELElBQUksR0FBRyxLQUFLLENBQVMsRUFBRSxDQUFDLENBQUM7SUFDaEMsZ0ZBQWdGO0lBQ3pF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BjbGFzcz1cImZzLWNhcmQtc3ViaGVhZGluZ1wiPnt7IHN1YmhlYWRpbmcoKSB9fTwvZGl2PlxuICAgICAgfVxuICAgICAgPCEtLSBMaW5lcyB1bmRlciB0aGUgaGVhZGluZyBhIHN0cmluZyBjYW5ub3QgY2Fycnk6IHNldmVyYWwgb2YgdGhlbSwgb3Igb25lcyBzaG93biBvbmx5IGF0IHRpbWVzIC0tPlxuICAgICAgPGRpdiBjbGFzcz1cImZzLWNhcmQtc3ViaGVhZGluZyBmcy1jYXJkLXN1YmhlYWRpbmctbGluZXNcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2ZzQ2FyZFN1YmhlYWRpbmddXCI+PC9uZy1jb250ZW50PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICA8ZGl2IGNsYXNzPVwiZnMtY2FyZC1hY3Rpb25zXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2ZzQ2FyZEFjdGlvbnNdXCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImZzLWNhcmQtbWVudVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImZzLW1lbnVcIj48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -42,13 +42,13 @@ class FsCardHeadingComponent {
|
|
|
42
42
|
/** The heading's id, for what is named by it (an fs-card's section) */
|
|
43
43
|
headingId = input(`fs-card-heading-${nextId$1++}`);
|
|
44
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
|
|
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 Top-aligned, so lines under the heading never move it off the icon's, actions' and kebab's line -->\n<div class=\"fs-row.gap-sm.wrap.align-start\">\n <div class=\"fs-row.gap-sm.align-start 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 <!-- The icon's height, the heading centered in it, so it is level with the icon, actions and kebab -->\n <div class=\"fs-row fs-card-heading-line\">\n <div>\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 @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 </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", 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-heading-line{min-height:32px}.fs-card-subheading{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
46
|
}
|
|
47
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FsCardHeadingComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ selector: 'fs-card-heading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
50
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
|
|
51
|
+
], template: "<!-- The actions and kebab drop under the heading where the line is too narrow for both.\n Top-aligned, so lines under the heading never move it off the icon's, actions' and kebab's line -->\n<div class=\"fs-row.gap-sm.wrap.align-start\">\n <div class=\"fs-row.gap-sm.align-start 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 <!-- The icon's height, the heading centered in it, so it is level with the icon, actions and kebab -->\n <div class=\"fs-row fs-card-heading-line\">\n <div>\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 @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 </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", 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-heading-line{min-height:32px}.fs-card-subheading{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
52
|
}] });
|
|
53
53
|
|
|
54
54
|
// Each card's heading id, unique on the page
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firestitch-card.mjs","sources":["../../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,S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,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,oEALjB,uDAAuD,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,0JAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAKtD,gBAAgB,EAAA,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;;;;"}
|
|
1
|
+
{"version":3,"file":"firestitch-card.mjs","sources":["../../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 Top-aligned, so lines under the heading never move it off the icon's, actions' and kebab's line -->\n<div class=\"fs-row.gap-sm.wrap.align-start\">\n <div class=\"fs-row.gap-sm.align-start 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 <!-- The icon's height, the heading centered in it, so it is level with the icon, actions and kebab -->\n <div class=\"fs-row fs-card-heading-line\">\n <div>\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 @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 </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","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,C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