@@ -109,7 +109,7 @@ describe('va-featured-content', () => {
Have a service-connected disability rating of at least 10% from VA, and
Apply for VR&E services
-
+
`);
});
@@ -117,9 +117,9 @@ describe('va-featured-content', () => {
const heading = "If I'm a Veteran, can I get VR&E benefits and services?";
const page = await newE2EPage();
await page.setContent(`
-
+
${heading}
-
+
`);
const element = await page.find('h3');
expect(element).not.toBeNull();
@@ -129,7 +129,7 @@ describe('va-featured-content', () => {
it('passes an axe check', async () => {
const page = await newE2EPage();
await page.setContent(`
-
+
If I'm a Veteran, can I get VR&E benefits and services?
@@ -140,7 +140,7 @@ describe('va-featured-content', () => {
Have a service-connected disability rating of at least 10% from VA, and
Apply for VR&E services
-
+
`);
await axeCheck(page);
diff --git a/packages/web-components/src/components/va-featured-content/va-featured-content.scss b/packages/web-components/src/components/va-summary-box/va-summary-box.scss
similarity index 100%
rename from packages/web-components/src/components/va-featured-content/va-featured-content.scss
rename to packages/web-components/src/components/va-summary-box/va-summary-box.scss
diff --git a/packages/web-components/src/components/va-featured-content/va-featured-content.tsx b/packages/web-components/src/components/va-summary-box/va-summary-box.tsx
similarity index 92%
rename from packages/web-components/src/components/va-featured-content/va-featured-content.tsx
rename to packages/web-components/src/components/va-summary-box/va-summary-box.tsx
index 0f534b1fc..8d91a3bb3 100644
--- a/packages/web-components/src/components/va-featured-content/va-featured-content.tsx
+++ b/packages/web-components/src/components/va-summary-box/va-summary-box.tsx
@@ -1,16 +1,16 @@
import { Component, Host, h, Prop, Element, State } from '@stencil/core';
/**
- * @componentName Featured content
+ * @componentName Summary box
* @maturityCategory use
* @maturityLevel deployed
*/
@Component({
- tag: 'va-featured-content',
- styleUrl: 'va-featured-content.scss',
+ tag: 'va-summary-box',
+ styleUrl: 'va-summary-box.scss',
shadow: true,
})
-export class VaFeaturedContent {
+export class VaSummaryBox {
/**
* Whether or not the component will use USWDS v3 styling.
*/