diff --git a/components/lib/progressspinner/BaseProgressSpinner.vue b/components/lib/progressspinner/BaseProgressSpinner.vue new file mode 100644 index 000000000..def707578 --- /dev/null +++ b/components/lib/progressspinner/BaseProgressSpinner.vue @@ -0,0 +1,70 @@ + diff --git a/components/lib/progressspinner/ProgressSpinner.d.ts b/components/lib/progressspinner/ProgressSpinner.d.ts index 23fb36c1d..2deea45cb 100755 --- a/components/lib/progressspinner/ProgressSpinner.d.ts +++ b/components/lib/progressspinner/ProgressSpinner.d.ts @@ -67,6 +67,11 @@ export interface ProgressSpinnerProps { * @type {ProgressSpinnerPassThroughOptions} */ pt?: ProgressSpinnerPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/progressspinner/ProgressSpinner.vue b/components/lib/progressspinner/ProgressSpinner.vue index c10da4e18..29c654914 100755 --- a/components/lib/progressspinner/ProgressSpinner.vue +++ b/components/lib/progressspinner/ProgressSpinner.vue @@ -1,7 +1,7 @@ @@ -12,20 +12,6 @@ import BaseComponent from 'primevue/basecomponent'; export default { name: 'ProgressSpinner', extends: BaseComponent, - props: { - strokeWidth: { - type: String, - default: '2' - }, - fill: { - type: String, - default: 'none' - }, - animationDuration: { - type: String, - default: '2s' - } - }, computed: { svgStyle() { return { @@ -35,31 +21,3 @@ export default { } }; - -