• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IgniteUI / igniteui-webcomponents / 15753383816

19 Jun 2025 08:33AM UTC coverage: 98.266% (+0.009%) from 98.257%
15753383816

Pull #1746

github

web-flow
Merge f7f9c96b3 into 56a6e7062
Pull Request #1746: refactor: Dropped themes decorator for explicit initialization

4943 of 5189 branches covered (95.26%)

Branch coverage included in aggregate %.

435 of 447 new or added lines in 71 files covered. (97.32%)

8 existing lines in 1 file now uncovered.

31497 of 31894 relevant lines covered (98.76%)

1728.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.69
/src/components/card/card.actions.ts
1
import { html, LitElement } from 'lit';
9✔
2
import { property } from 'lit/decorators.js';
9✔
3

9✔
4
import { addThemingController } from '../../theming/theming-controller.js';
9✔
5
import { registerComponent } from '../common/definitions/register.js';
9✔
6
import type { ContentOrientation } from '../types.js';
9✔
7
import { all } from './themes/actions.js';
9✔
8
import { styles } from './themes/card.actions.base.css.js';
9✔
9

9✔
10
/** A container for card action items like buttons
9✔
11
 * @element igc-card-actions
9✔
12
 *
9✔
13
 * @slot start - Renders items at the beginning of actions area
9✔
14
 * @slot - Renders items at the middle of actions area
9✔
15
 * @slot end - Renders items at the end of actions area
9✔
16
 */
9✔
17
export default class IgcCardActionsComponent extends LitElement {
9✔
18
  public static readonly tagName = 'igc-card-actions';
9✔
19
  public static override styles = styles;
9✔
20

9✔
21
  /* blazorSuppress */
9✔
22
  public static register(): void {
9✔
23
    registerComponent(IgcCardActionsComponent);
1✔
24
  }
1✔
25

9✔
26
  constructor() {
9✔
NEW
27
    super();
×
NEW
28
    addThemingController(this, all);
×
NEW
29
  }
×
30

9✔
31
  /**
9✔
32
   * The orientation of the actions.
9✔
33
   * @attr
9✔
34
   */
9✔
35
  @property({ reflect: true })
9✔
36
  public orientation: ContentOrientation = 'horizontal';
9✔
37

9✔
38
  protected override render() {
9✔
39
    return html`
×
40
      <slot name="start"></slot>
×
41
      <slot></slot>
×
42
      <slot name="end"></slot>
×
43
    `;
×
44
  }
×
45
}
9✔
46

9✔
47
declare global {
9✔
48
  interface HTMLElementTagNameMap {
9✔
49
    'igc-card-actions': IgcCardActionsComponent;
9✔
50
  }
9✔
51
}
9✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc