From c855d1035c3282d8b18fa5934e854e65a81b3519 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 14:23:36 +0300 Subject: [PATCH] Refactor #3965 - For InputText --- .../lib/cascadeselect/BaseCascadeSelect.vue | 1 + components/lib/inputtext/BaseInputText.vue | 139 ++++++++++++++++++ components/lib/inputtext/InputText.d.ts | 5 + components/lib/inputtext/InputText.vue | 9 +- 4 files changed, 148 insertions(+), 6 deletions(-) create mode 100644 components/lib/cascadeselect/BaseCascadeSelect.vue create mode 100644 components/lib/inputtext/BaseInputText.vue diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue new file mode 100644 index 000000000..4d2938aed --- /dev/null +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -0,0 +1 @@ + flex-shrink: 0; diff --git a/components/lib/inputtext/BaseInputText.vue b/components/lib/inputtext/BaseInputText.vue new file mode 100644 index 000000000..edce7469d --- /dev/null +++ b/components/lib/inputtext/BaseInputText.vue @@ -0,0 +1,139 @@ + diff --git a/components/lib/inputtext/InputText.d.ts b/components/lib/inputtext/InputText.d.ts index 65afbd458..853995c84 100755 --- a/components/lib/inputtext/InputText.d.ts +++ b/components/lib/inputtext/InputText.d.ts @@ -43,6 +43,11 @@ export interface InputTextProps extends InputHTMLAttributes { * @type {InputTextPassThroughOptions} */ pt?: InputTextPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/inputtext/InputText.vue b/components/lib/inputtext/InputText.vue index d15a15b4c..353d7df84 100755 --- a/components/lib/inputtext/InputText.vue +++ b/components/lib/inputtext/InputText.vue @@ -1,17 +1,14 @@