From 1dc3f7c6f1b4146ceb64669d1b6b74df40299543 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Thu, 17 Oct 2024 12:40:51 +1300 Subject: [PATCH] feat(addon/components/paper-card-title-text): migrates to tagless native class. --- addon/components/paper-card-title-text.hbs | 10 ++++++---- addon/components/paper-card-title-text.js | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/addon/components/paper-card-title-text.hbs b/addon/components/paper-card-title-text.hbs index 99c80930b..8498d188d 100644 --- a/addon/components/paper-card-title-text.hbs +++ b/addon/components/paper-card-title-text.hbs @@ -1,4 +1,6 @@ -{{yield (hash - headline=(component "paper-card-header-headline") - subhead=(component "paper-card-header-subhead") -)}} \ No newline at end of file + + {{yield (hash + headline=(component "paper-card-header-headline") + subhead=(component "paper-card-header-subhead") + )}} + \ No newline at end of file diff --git a/addon/components/paper-card-title-text.js b/addon/components/paper-card-title-text.js index 30a5182c5..5aa1ee7aa 100644 --- a/addon/components/paper-card-title-text.js +++ b/addon/components/paper-card-title-text.js @@ -1,4 +1,4 @@ -/* eslint-disable ember/no-classic-components, ember/require-tagless-components */ +/* eslint-disable ember/no-classic-components */ /** * @module ember-paper */ @@ -8,6 +8,6 @@ import Component from '@ember/component'; * @class PaperCardTitleText * @extends Ember.Component */ -export default Component.extend({ - tagName: 'md-card-title-text', -}); +export default class PaperCardTitleText extends Component { + tagName = ''; +}