From 7b191cae4d10e21081423f9b1d5a88b6b5fd0ab7 Mon Sep 17 00:00:00 2001 From: phoebus-84 <83974413+phoebus-84@users.noreply.github.com> Date: Fri, 14 Feb 2025 21:39:54 +0100 Subject: [PATCH] fix: remove unused description prop in list-item (#208) --- src/components.d.ts | 4 ---- src/components/activity-card/activity.stories.ts | 3 --- src/components/activity-card/d-activity-card.tsx | 3 +-- .../credential-service/credential-services.stories.ts | 2 -- src/components/credential-service/d-credential-service.tsx | 2 -- src/components/d-list-item/d-list-item.tsx | 1 - 6 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index 7344437..697947e 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -12,7 +12,6 @@ export { Tab } from "./components/tab-button/d-tab-button"; export namespace Components { interface DActivityCard { "date": string; - "description": string; "href"?: string; "logo": string; "message": string; @@ -137,7 +136,6 @@ export namespace Components { } interface DListItem { "background"?: boolean; - "description"?: string; "href"?: string; "issuer"?: string; "logoSrc"?: string; @@ -626,7 +624,6 @@ declare global { declare namespace LocalJSX { interface DActivityCard { "date"?: string; - "description"?: string; "href"?: string; "logo"?: string; "message"?: string; @@ -759,7 +756,6 @@ declare namespace LocalJSX { } interface DListItem { "background"?: boolean; - "description"?: string; "href"?: string; "issuer"?: string; "logoSrc"?: string; diff --git a/src/components/activity-card/activity.stories.ts b/src/components/activity-card/activity.stories.ts index 33ebc35..30b4db1 100644 --- a/src/components/activity-card/activity.stories.ts +++ b/src/components/activity-card/activity.stories.ts @@ -7,7 +7,6 @@ const meta = { ` - +
{!this.read && } diff --git a/src/components/credential-service/credential-services.stories.ts b/src/components/credential-service/credential-services.stories.ts index 33c742c..3be5dea 100644 --- a/src/components/credential-service/credential-services.stories.ts +++ b/src/components/credential-service/credential-services.stories.ts @@ -6,7 +6,6 @@ const meta = { render: args => ``, @@ -18,7 +17,6 @@ type Story = StoryObj; export const Default: Story = { args: { name: 'Over 18', - description: 'Age Validation', issuer: 'Italian Government', logoSrc: `https://api.dicebear.com/9.x/icons/svg?seed=${new Date()}`, }, diff --git a/src/components/credential-service/d-credential-service.tsx b/src/components/credential-service/d-credential-service.tsx index 4866ab8..adc769c 100644 --- a/src/components/credential-service/d-credential-service.tsx +++ b/src/components/credential-service/d-credential-service.tsx @@ -10,7 +10,6 @@ export class DCredentialService { @Prop() issuer: string; @Prop({ attribute: 'logo-src' }) logoSrc?: string; @Prop() organization?: string; - @Prop() description?: string; @Prop({ reflect: true }) href?: string; @@ -21,7 +20,6 @@ export class DCredentialService { name={this.name} issuer={this.issuer} logo-src={this.logoSrc} - description={this.description} href={this.href} background > diff --git a/src/components/d-list-item/d-list-item.tsx b/src/components/d-list-item/d-list-item.tsx index 4d0c171..f193159 100644 --- a/src/components/d-list-item/d-list-item.tsx +++ b/src/components/d-list-item/d-list-item.tsx @@ -9,7 +9,6 @@ export class DListItem { @Prop() name: string; @Prop() issuer?: string; @Prop({ attribute: 'logo-src' }) logoSrc?: string; - @Prop() description?: string; @Prop({ reflect: true }) href?: string; @Prop() background?: boolean;