From 092713bc63865655579eb73294b434c4a7567037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Thu, 25 May 2023 19:32:25 +0300 Subject: [PATCH] Refactor #3965 - For ProgressBar --- .../lib/progressbar/BaseProgressBar.vue | 159 ++++++++++++++++++ components/lib/progressbar/ProgressBar.d.ts | 5 + components/lib/progressbar/ProgressBar.vue | 148 +--------------- 3 files changed, 171 insertions(+), 141 deletions(-) create mode 100644 components/lib/progressbar/BaseProgressBar.vue diff --git a/components/lib/progressbar/BaseProgressBar.vue b/components/lib/progressbar/BaseProgressBar.vue new file mode 100644 index 000000000..666f500b9 --- /dev/null +++ b/components/lib/progressbar/BaseProgressBar.vue @@ -0,0 +1,159 @@ + diff --git a/components/lib/progressbar/ProgressBar.d.ts b/components/lib/progressbar/ProgressBar.d.ts index 2fbee93be..8da5d0885 100755 --- a/components/lib/progressbar/ProgressBar.d.ts +++ b/components/lib/progressbar/ProgressBar.d.ts @@ -68,6 +68,11 @@ export interface ProgressBarProps { * @type {ProgressBarPassThroughOptions} */ pt?: ProgressBarPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/progressbar/ProgressBar.vue b/components/lib/progressbar/ProgressBar.vue index 4d3eb56e9..60fab4ec7 100755 --- a/components/lib/progressbar/ProgressBar.vue +++ b/components/lib/progressbar/ProgressBar.vue @@ -1,46 +1,23 @@ - -