diff --git a/components/lib/progressbar/ProgressBar.d.ts b/components/lib/progressbar/ProgressBar.d.ts index 5c4018282..24d05c07a 100755 --- a/components/lib/progressbar/ProgressBar.d.ts +++ b/components/lib/progressbar/ProgressBar.d.ts @@ -45,10 +45,6 @@ export interface ProgressBarPassThroughOptions { * Used to pass attributes to the root's DOM element. */ root?: ProgressBarPassThroughOptionType; - /** - * Used to pass attributes to the indeterminate container's DOM element. - */ - indeterminateContainer?: ProgressBarPassThroughOptionType; /** * Used to pass attributes to the value's DOM element. */ diff --git a/components/lib/progressbar/ProgressBar.spec.js b/components/lib/progressbar/ProgressBar.spec.js index c7f14bc56..fccc0f496 100644 --- a/components/lib/progressbar/ProgressBar.spec.js +++ b/components/lib/progressbar/ProgressBar.spec.js @@ -30,10 +30,4 @@ describe('ProgressBar.vue', () => { expect(wrapper.find('.p-progressbar-label').exists()).toBe(false); }); - - it('should be indeterminated', async () => { - await wrapper.setProps({ mode: 'indeterminate' }); - - expect(wrapper.find('.p-progressbar-indeterminate-container').exists()).toBe(true); - }); }); diff --git a/components/lib/progressbar/ProgressBar.vue b/components/lib/progressbar/ProgressBar.vue index ca49b2926..71a9a45b4 100755 --- a/components/lib/progressbar/ProgressBar.vue +++ b/components/lib/progressbar/ProgressBar.vue @@ -5,9 +5,7 @@ {{ value + '%' }} -
-
-
+
diff --git a/components/lib/progressbar/style/ProgressBarStyle.d.ts b/components/lib/progressbar/style/ProgressBarStyle.d.ts index b65a251ad..998db1d7a 100644 --- a/components/lib/progressbar/style/ProgressBarStyle.d.ts +++ b/components/lib/progressbar/style/ProgressBarStyle.d.ts @@ -14,10 +14,6 @@ export enum ProgressBarClasses { * Class name of the root element */ root = 'p-progressbar', - /** - * Class name of the indeterminate container element - */ - indeterminateContainer = 'p-progressbar-indeterminate-container', /** * Class name of the value element */ diff --git a/components/lib/progressbar/style/ProgressBarStyle.js b/components/lib/progressbar/style/ProgressBarStyle.js index 3ff288e92..f4cb3237f 100644 --- a/components/lib/progressbar/style/ProgressBarStyle.js +++ b/components/lib/progressbar/style/ProgressBarStyle.js @@ -125,7 +125,6 @@ const classes = { 'p-progressbar-indeterminate': instance.indeterminate } ], - indeterminateContainer: 'p-progressbar-indeterminate-container', value: 'p-progressbar-value', label: 'p-progressbar-label' }; diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index cc9ef257b..9908937c2 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -58165,14 +58165,6 @@ "default": "", "description": "Used to pass attributes to the root's DOM element." }, - { - "name": "indeterminateContainer", - "optional": true, - "readonly": false, - "type": "ProgressBarPassThroughOptionType", - "default": "", - "description": "Used to pass attributes to the indeterminate container's DOM element." - }, { "name": "value", "optional": true, @@ -58416,13 +58408,6 @@ "value": "\"p-progressbar\"", "description": "Class name of the root element" }, - { - "name": "indeterminateContainer", - "optional": false, - "readonly": false, - "value": "\"p-progressbar-indeterminate-container\"", - "description": "Class name of the indeterminate container element" - }, { "name": "value", "optional": false,