@mintplayer/ng-bootstrap 22.23.0 → 22.25.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,6 +2,16 @@ import * as i0 from '@angular/core';
2
2
  import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { Color } from '@mintplayer/ng-bootstrap';
4
4
 
5
+ // `.badge` paints white text, and `bg-{color}` sets only the background: white
6
+ // on warning was 1.63:1. Bootstrap's `text-bg-{color}` pairs each theme colour
7
+ // with the text colour color-contrast() picks (black on warning, info and light).
8
+ // It exists for the eight theme colours only; the other three pair a background
9
+ // with a text utility, the way `<bs-card [color]>` colours them.
10
+ const pairedColorClasses = {
11
+ [Color.body]: 'bg-body text-body',
12
+ [Color.white]: 'bg-white text-black',
13
+ [Color.transparent]: 'bg-transparent text-reset',
14
+ };
5
15
  class BsBadgeComponent {
6
16
  constructor() {
7
17
  this.colors = Color;
@@ -16,7 +26,7 @@ class BsBadgeComponent {
16
26
  /** Purely decorative badges leave the accessibility tree entirely. */
17
27
  this.decorative = input(false, /* @ts-ignore */
18
28
  ...(ngDevMode ? [{ debugName: "decorative" }] : /* istanbul ignore next */ []));
19
- this.colorClass = computed(() => `bg-${this.colors[this.type()]}`, /* @ts-ignore */
29
+ this.colorClass = computed(() => pairedColorClasses[this.type()] ?? `text-bg-${this.colors[this.type()]}`, /* @ts-ignore */
20
30
  ...(ngDevMode ? [{ debugName: "colorClass" }] : /* istanbul ignore next */ []));
21
31
  }
22
32
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-badge.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/badge/src/badge.component.ts","../../../../libs/mintplayer-ng-bootstrap/badge/src/badge.component.html","../../../../libs/mintplayer-ng-bootstrap/badge/mintplayer-ng-bootstrap-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n\n@Component({\n selector: 'bs-badge',\n templateUrl: './badge.component.html',\n styleUrls: ['./badge.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsBadgeComponent {\n colors = Color;\n\n type = input<Color>(Color.primary);\n /**\n * What the number counts ('unread messages'): a bare '3' badge is\n * meaningless out of visual context. Appended visually hidden.\n */\n unit = input<string | null>(null);\n /** Purely decorative badges leave the accessibility tree entirely. */\n decorative = input(false);\n\n colorClass = computed(() => `bg-${this.colors[this.type()]}`);\n}\n","<span class=\"badge\" [class]=\"colorClass()\" [attr.aria-hidden]=\"decorative() ? 'true' : null\">\n <ng-content></ng-content>\n @if (unit(); as u) {\n <span class=\"visually-hidden-unit\">&ngsp;{{ u }}</span>\n }\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,gBAAgB,CAAA;AAN7B,IAAA,WAAA,GAAA;QAOE,IAAA,CAAA,MAAM,GAAG,KAAK;AAEd,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAQ,KAAK,CAAC,OAAO;iFAAC;AAClC;;;AAGG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAgB,IAAI;iFAAC;;QAEjC,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK;uFAAC;AAEzB,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAA,GAAA,EAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA,CAAE;uFAAC;AAC9D,IAAA;8GAbY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,icCT7B,mPAMA,EAAA,MAAA,EAAA,CAAA,uvBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDGa,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;+BACE,UAAU,EAAA,eAAA,EAGH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mPAAA,EAAA,MAAA,EAAA,CAAA,uvBAAA,CAAA,EAAA;;;AEPjD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-badge.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/badge/src/badge.component.ts","../../../../libs/mintplayer-ng-bootstrap/badge/src/badge.component.html","../../../../libs/mintplayer-ng-bootstrap/badge/mintplayer-ng-bootstrap-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n\n// `.badge` paints white text, and `bg-{color}` sets only the background: white\n// on warning was 1.63:1. Bootstrap's `text-bg-{color}` pairs each theme colour\n// with the text colour color-contrast() picks (black on warning, info and light).\n// It exists for the eight theme colours only; the other three pair a background\n// with a text utility, the way `<bs-card [color]>` colours them.\nconst pairedColorClasses: Partial<Record<Color, string>> = {\n [Color.body]: 'bg-body text-body',\n [Color.white]: 'bg-white text-black',\n [Color.transparent]: 'bg-transparent text-reset',\n};\n\n@Component({\n selector: 'bs-badge',\n templateUrl: './badge.component.html',\n styleUrls: ['./badge.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsBadgeComponent {\n colors = Color;\n\n type = input<Color>(Color.primary);\n /**\n * What the number counts ('unread messages'): a bare '3' badge is\n * meaningless out of visual context. Appended visually hidden.\n */\n unit = input<string | null>(null);\n /** Purely decorative badges leave the accessibility tree entirely. */\n decorative = input(false);\n\n colorClass = computed(() => pairedColorClasses[this.type()] ?? `text-bg-${this.colors[this.type()]}`);\n}\n","<span class=\"badge\" [class]=\"colorClass()\" [attr.aria-hidden]=\"decorative() ? 'true' : null\">\n <ng-content></ng-content>\n @if (unit(); as u) {\n <span class=\"visually-hidden-unit\">&ngsp;{{ u }}</span>\n }\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,kBAAkB,GAAmC;AACzD,IAAA,CAAC,KAAK,CAAC,IAAI,GAAG,mBAAmB;AACjC,IAAA,CAAC,KAAK,CAAC,KAAK,GAAG,qBAAqB;AACpC,IAAA,CAAC,KAAK,CAAC,WAAW,GAAG,2BAA2B;CACjD;MAQY,gBAAgB,CAAA;AAN7B,IAAA,WAAA,GAAA;QAOE,IAAA,CAAA,MAAM,GAAG,KAAK;AAEd,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAQ,KAAK,CAAC,OAAO;iFAAC;AAClC;;;AAGG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAgB,IAAI;iFAAC;;QAEjC,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK;uFAAC;QAEzB,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,CAAA,QAAA,EAAW,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA,CAAE;uFAAC;AACtG,IAAA;8GAbY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,icCpB7B,mPAMA,EAAA,MAAA,EAAA,CAAA,uvBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDca,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;+BACE,UAAU,EAAA,eAAA,EAGH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mPAAA,EAAA,MAAA,EAAA,CAAA,uvBAAA,CAAA,EAAA;;;AElBjD;;AAEG;;;;"}
@@ -10,9 +10,9 @@ import { NgTemplateOutlet } from '@angular/common';
10
10
  *
11
11
  * Renders an inner `<mp-card>` — the single card web component, which owns the
12
12
  * card chrome (border / radius / background) in its shadow DOM. Projected
13
- * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via
14
- * the WC's `::slotted()` rules (header / body / footer / img) plus the global
15
- * typography sheet (title / text). This is what makes the card render
13
+ * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled by
14
+ * the WC's card-anchored document sheet (header / body / footer / img / title /
15
+ * text). This is what makes the card render
16
16
  * correctly even when itself slotted inside another web component.
17
17
  */
18
18
  class BsCardComponent {
@@ -327,16 +327,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
327
327
 
328
328
  class BsCardGroupComponent {
329
329
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
330
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardGroupComponent, isStandalone: true, selector: "bs-card-group", host: { classAttribute: "card-group" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
330
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardGroupComponent, isStandalone: true, selector: "bs-card-group", host: { classAttribute: "card-group" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
331
331
  }
332
332
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, decorators: [{
333
333
  type: Component,
334
- args: [{
335
- selector: 'bs-card-group',
336
- template: '<ng-content></ng-content>',
337
- host: { class: 'card-group' },
338
- changeDetection: ChangeDetectionStrategy.OnPush,
339
- }]
334
+ args: [{ selector: 'bs-card-group', template: '<ng-content></ng-content>', host: { class: 'card-group' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
340
335
  }] });
341
336
 
342
337
  // Angular wrappers (M2). The legacy `card/` + `card-header/` directories
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via\n * the WC's `::slotted()` rules (header / body / footer / img) plus the global\n * typography sheet (title / text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n class: 'card-title',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` (in\n * `mp-card.element.scss`) so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWA;;;;;;;;;AASG;MAQU,eAAe,CAAA;AAP5B,IAAA,WAAA,GAAA;QAQW,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AAC3C,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;AACtB,YAAA,OAAO,CAAC,KAAK,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;QAC1C,CAAC;sFAAC;AACH,IAAA;8GARY,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,qUALhB,CAAA,8GAAA,CAAgH,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAK/G,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;+BACE,SAAS,EAAA,QAAA,EACT,gHAAgH,EAAA,OAAA,EAEjH,CAAC,sBAAsB,CAAC,EAAA,eAAA,EAChB,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;ACTjD;;;;;;;;AAQG;MAOU,qBAAqB,CAAA;AAOhC,IAAA,WAAA,GAAA;AANiB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A,MAAA,EAAA,CAAA,CAAA;;2FA2Bf,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBA7B9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;oBACvB,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC3B,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;AAsBT,EAAA,CAAA;AACD,oBAAA,IAAI,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE;oBAClC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;MCzCY,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,iHAJrB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC7B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACPD;AACA;AACA;AACA;;ACHA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled by\n * the WC's card-anchored document sheet (header / body / footer / img / title /\n * text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n class: 'card-title',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` (in\n * `mp-card.element.scss`) so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n // The group wraps cards, so mp-card's card-anchored document sheet cannot\n // reach it (#432); the host is an inline custom element without this.\n styles: ':host { display: block; }',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWA;;;;;;;;;AASG;MAQU,eAAe,CAAA;AAP5B,IAAA,WAAA,GAAA;QAQW,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AAC3C,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;AACtB,YAAA,OAAO,CAAC,KAAK,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;QAC1C,CAAC;sFAAC;AACH,IAAA;8GARY,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SA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AA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAO1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAThC,SAAS;+BACE,eAAe,EAAA,QAAA,EACf,2BAA2B,EAAA,IAAA,EAI/B,EAAE,KAAK,EAAE,YAAY,EAAE,EAAA,eAAA,EACZ,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;ACTjD;AACA;AACA;AACA;;ACHA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "22.23.0",
4
+ "version": "22.25.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -424,7 +424,7 @@
424
424
  "@mintplayer/ng-animations": "^22.0.0",
425
425
  "@mintplayer/pagination": "^2.3.0",
426
426
  "@mintplayer/ng-focus-on-load": "^22.0.0",
427
- "@mintplayer/web-components": "^2.19.0",
427
+ "@mintplayer/web-components": "^2.20.0",
428
428
  "lit": "^3.3.0"
429
429
  },
430
430
  "dependencies": {
@@ -8,9 +8,9 @@ export * from '@mintplayer/web-components/card';
8
8
  *
9
9
  * Renders an inner `<mp-card>` — the single card web component, which owns the
10
10
  * card chrome (border / radius / background) in its shadow DOM. Projected
11
- * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via
12
- * the WC's `::slotted()` rules (header / body / footer / img) plus the global
13
- * typography sheet (title / text). This is what makes the card render
11
+ * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled by
12
+ * the WC's card-anchored document sheet (header / body / footer / img / title /
13
+ * text). This is what makes the card render
14
14
  * correctly even when itself slotted inside another web component.
15
15
  */
16
16
  declare class BsCardComponent {