Skip to content

Commit

Permalink
Shw::Label - Convert to GTS (HDS-3834) (#2475)
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner authored Oct 2, 2024
1 parent 88e621d commit 6387ff6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
21 changes: 21 additions & 0 deletions showcase/app/components/shw/label/index.gts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import Component from '@glimmer/component';

export interface ShwLabelSignature {
Blocks: {
default: [];
};
Element: HTMLParagraphElement;
}

export default class ShwLabel extends Component<ShwLabelSignature> {
<template>
<p class="shw-label shw-text-body-small" ...attributes>
{{yield}}
</p>
</template>
}
8 changes: 0 additions & 8 deletions showcase/app/components/shw/label/index.hbs

This file was deleted.

17 changes: 0 additions & 17 deletions showcase/app/components/shw/label/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion showcase/types/template-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import ShwFlexItem from '../app/components/shw/flex/item';
import ShwFrame from '../app/components/shw/frame';
import ShwGrid from '../app/components/shw/grid';
import ShwGridItem from '../app/components/shw/grid/item';
import ShwLabel from '../app/components/shw/label';
import ShwLabel from '../app/components/shw/label/index';
import ShwLogoDesignSystem from '../app/components/shw/logo/design-system';
import ShwOutliner from '../app/components/shw/outliner/index';
import ShwPlaceholder from '../app/components/shw/placeholder/index';
Expand Down

0 comments on commit 6387ff6

Please sign in to comment.