Skip to content

Commit

Permalink
Revert "fix missing type and event class"
Browse files Browse the repository at this point in the history
This reverts commit 0b41b8c.
  • Loading branch information
nielslyngsoe committed May 4, 2021
1 parent 5524560 commit 4c0ae77
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 30 deletions.
3 changes: 1 addition & 2 deletions src/components/basics/uui-card-grid/uui-card-grid.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { property } from 'lit/decorators';
* @element uui-card-grid
*
*/
import { CardType } from '../uui-card/UuiCardType';
import { CardType } from '../../../type/CardType';
export class UUICardGridElement extends LitElement {
static styles = [
css`
Expand All @@ -23,7 +23,6 @@ export class UUICardGridElement extends LitElement {
`,
];

// TODO: consider wether we should tread all cards the same, to provide the flexibility to combine as we like.
@property({ reflect: true })
type: CardType = null;

Expand Down
19 changes: 0 additions & 19 deletions src/components/basics/uui-card/UuiCardType.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/basics/uui-card/uui-card.element.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LitElement, html, css, unsafeCSS } from 'lit';
import { property, query } from 'lit/decorators';
import { CardType, CardTypeNames } from './UuiCardType';
import { UUICardEvent } from './uui-card.event';
import { CardType, CardTypeNames } from '../../../type/CardType';
import { UUICardEvent } from './UUICardEvents';

/**
* @element uui-card
Expand Down
7 changes: 0 additions & 7 deletions src/components/basics/uui-card/uui-card.event.ts

This file was deleted.

0 comments on commit 4c0ae77

Please sign in to comment.