From e18b9b0b0bd078eb19cfaa227a01d2ca9b6ba779 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 15:29:06 +0300 Subject: [PATCH] Update #3965 - For RadioButton --- .../lib/radiobutton/BaseRadioButton.vue | 112 ++++++++++++++++++ components/lib/radiobutton/RadioButton.d.ts | 10 ++ components/lib/radiobutton/RadioButton.vue | 75 ++---------- 3 files changed, 129 insertions(+), 68 deletions(-) create mode 100644 components/lib/radiobutton/BaseRadioButton.vue diff --git a/components/lib/radiobutton/BaseRadioButton.vue b/components/lib/radiobutton/BaseRadioButton.vue new file mode 100644 index 000000000..e944f4112 --- /dev/null +++ b/components/lib/radiobutton/BaseRadioButton.vue @@ -0,0 +1,112 @@ + diff --git a/components/lib/radiobutton/RadioButton.d.ts b/components/lib/radiobutton/RadioButton.d.ts index 22b13b872..591f5462f 100755 --- a/components/lib/radiobutton/RadioButton.d.ts +++ b/components/lib/radiobutton/RadioButton.d.ts @@ -110,6 +110,16 @@ export interface RadioButtonProps { * Establishes a string value that labels the component. */ 'aria-label'?: string | undefined; + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {RadioButtonPassThroughMethodOptions} + */ + pt?: RadioButtonPassThroughMethodOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } export interface RadioButtonSlots {} diff --git a/components/lib/radiobutton/RadioButton.vue b/components/lib/radiobutton/RadioButton.vue index 6eddfab2e..868e6186b 100755 --- a/components/lib/radiobutton/RadioButton.vue +++ b/components/lib/radiobutton/RadioButton.vue @@ -1,73 +1,22 @@