From fb0c4cfc97bee7029fa9d4a042a32566b255761b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 24 May 2023 12:27:50 +0300 Subject: [PATCH] Refactor #3965 - For Chips --- components/lib/chips/BaseChips.vue | 145 +++++++++++++++++++++++++++++ components/lib/chips/Chips.d.ts | 5 + components/lib/chips/Chips.vue | 138 +++------------------------ components/lib/config/PrimeVue.js | 2 +- 4 files changed, 162 insertions(+), 128 deletions(-) create mode 100644 components/lib/chips/BaseChips.vue diff --git a/components/lib/chips/BaseChips.vue b/components/lib/chips/BaseChips.vue new file mode 100644 index 000000000..dc217a0d5 --- /dev/null +++ b/components/lib/chips/BaseChips.vue @@ -0,0 +1,145 @@ + diff --git a/components/lib/chips/Chips.d.ts b/components/lib/chips/Chips.d.ts index b0bc570a4..6e3492b77 100755 --- a/components/lib/chips/Chips.d.ts +++ b/components/lib/chips/Chips.d.ts @@ -176,6 +176,11 @@ export interface ChipsProps { * @type {ChipsPassThroughOptions} */ pt?: ChipsPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** * Defines valid slots in Chips slots. diff --git a/components/lib/chips/Chips.vue b/components/lib/chips/Chips.vue index 8541b82a3..891888429 100755 --- a/components/lib/chips/Chips.vue +++ b/components/lib/chips/Chips.vue @@ -1,8 +1,8 @@