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;