From 98dba883604a29d465bdc2f593cecab73922134a Mon Sep 17 00:00:00 2001 From: Dylan Hyun Date: Wed, 4 Mar 2026 15:57:08 -0500 Subject: [PATCH 1/5] HDS-6078 Card carbonization showcase page --- .../components/card/index.gts | 131 ++++++++++++++++++ showcase/app/index.html | 1 + showcase/app/router.ts | 1 + showcase/app/templates/index.gts | 5 + .../page-carbonization/components/card.gts | 13 ++ 5 files changed, 151 insertions(+) create mode 100644 showcase/app/components/page-carbonization/components/card/index.gts create mode 100644 showcase/app/templates/page-carbonization/components/card.gts diff --git a/showcase/app/components/page-carbonization/components/card/index.gts b/showcase/app/components/page-carbonization/components/card/index.gts new file mode 100644 index 00000000000..d7087bfc5e8 --- /dev/null +++ b/showcase/app/components/page-carbonization/components/card/index.gts @@ -0,0 +1,131 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + +import type { TemplateOnlyComponent } from '@ember/component/template-only'; +import { pageTitle } from 'ember-page-title'; +import style from 'ember-style-modifier'; + +import ShwTextH1 from 'showcase/components/shw/text/h1'; +import ShwTextH2 from 'showcase/components/shw/text/h2'; +import ShwTextBody from 'showcase/components/shw/text/body'; +import ShwFlex from 'showcase/components/shw/flex'; +import ShwDivider from 'showcase/components/shw/divider'; +import ShwCarbonizationComparisonGrid from 'showcase/components/shw/carbonization/comparison-grid'; +import ShwPlaceholder from 'showcase/components/shw/placeholder'; + +import { + HdsCardContainer, + HdsTextBody, +} from '@hashicorp/design-system-components/components'; +import { + BACKGROUNDS, + LEVELS, +} from '@hashicorp/design-system-components/components/hds/card/container'; + +const CardCarbonizationIndex: TemplateOnlyComponent = ; + +export default CardCarbonizationIndex; diff --git a/showcase/app/index.html b/showcase/app/index.html index 74978589221..13372d47a59 100644 --- a/showcase/app/index.html +++ b/showcase/app/index.html @@ -88,6 +88,7 @@ cds-radio-tile:not(:defined), cds-text-input:not(:defined), cds-tag:not(:defined), + cds-tile:not(:defined), cds-tile-group:not(:defined), cds-dismissible-tag:not(:defined), cds-operational-tag:not(:defined), diff --git a/showcase/app/router.ts b/showcase/app/router.ts index c68519da860..a9ceb752431 100644 --- a/showcase/app/router.ts +++ b/showcase/app/router.ts @@ -175,6 +175,7 @@ Router.map(function () { this.route('badge'); this.route('badge-count'); this.route('button'); + this.route('card'); this.route('form', function (): void { this.route('text-input'); this.route('radio-card'); diff --git a/showcase/app/templates/index.gts b/showcase/app/templates/index.gts index 2a972c4610a..5b73ab08c61 100644 --- a/showcase/app/templates/index.gts +++ b/showcase/app/templates/index.gts @@ -437,6 +437,11 @@ const Index: TemplateOnlyComponent =