From d364278ab146632905487ebfe9b06abadb39296f Mon Sep 17 00:00:00 2001 From: Leo Largillet Date: Tue, 22 Aug 2023 10:43:12 +0200 Subject: [PATCH] feat(arch): move && simplify component progress-bar --- .../src/components/osds-progress-bar/core/controller.ts | 2 +- .../src/components/osds-progress-bar/osds-progress-bar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages-new/components/progress-bar/src/components/osds-progress-bar/core/controller.ts b/packages-new/components/progress-bar/src/components/osds-progress-bar/core/controller.ts index cd630a3c9d..26d87eee8b 100644 --- a/packages-new/components/progress-bar/src/components/osds-progress-bar/core/controller.ts +++ b/packages-new/components/progress-bar/src/components/osds-progress-bar/core/controller.ts @@ -1,4 +1,4 @@ -import { OsdsProgressBar } from '../osds-progress-bar'; +import type { OsdsProgressBar } from '../osds-progress-bar'; import { OdsLogger } from '@ovhcloud/ods-common-core'; /** diff --git a/packages-new/components/progress-bar/src/components/osds-progress-bar/osds-progress-bar.tsx b/packages-new/components/progress-bar/src/components/osds-progress-bar/osds-progress-bar.tsx index d37fefc754..6c4fc716bd 100644 --- a/packages-new/components/progress-bar/src/components/osds-progress-bar/osds-progress-bar.tsx +++ b/packages-new/components/progress-bar/src/components/osds-progress-bar/osds-progress-bar.tsx @@ -11,9 +11,9 @@ import { OdsProgressBarController } from './core/controller'; styleUrl: 'osds-progress-bar.scss', shadow: true }) + export class OsdsProgressBar implements OdsProgressBarAttribute { controller: OdsProgressBarController = new OdsProgressBarController(this); - @Element() el!: HTMLElement; /** @see OdsProgressBarAttributes.max */ @Prop({ reflect: true }) public max?: string | number = DEFAULT_ATTRIBUTE.max;