From 0eddc7f2eb0beab0bda8572b2c70dfe98781a19d 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, 27 Jul 2022 13:15:38 +0300 Subject: [PATCH] Refactor #2801 - RadioButton --- src/components/radiobutton/RadioButton.d.ts | 24 +++++++++++++++---- src/components/radiobutton/RadioButton.vue | 23 ++++++++---------- src/views/radiobutton/RadioButtonDoc.vue | 26 +++++++++++++++++---- 3 files changed, 52 insertions(+), 21 deletions(-) diff --git a/src/components/radiobutton/RadioButton.d.ts b/src/components/radiobutton/RadioButton.d.ts index 5d56a6f51..51f867ada 100755 --- a/src/components/radiobutton/RadioButton.d.ts +++ b/src/components/radiobutton/RadioButton.d.ts @@ -10,13 +10,29 @@ export interface RadioButtonProps { */ modelValue?: any; /** - * Style class of the component input field. + * Name of the input element. */ - class?: any; + name?: string | undefined; /** - * Inline style of the component. + * When present, it specifies that the component should be disabled. */ - style?: any; + disabled?: boolean | undefined; + /** + * Identifier of the underlying input element. + */ + inputId?: string | undefined; + /** + * Inline style of the input field. + */ + inputStyle?: any; + /** + * Style class of the input field. + */ + inputClass?: any; + /** + * + */ + inputProps?: object | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/radiobutton/RadioButton.vue b/src/components/radiobutton/RadioButton.vue index 4b195e8c3..dddf5a4db 100755 --- a/src/components/radiobutton/RadioButton.vue +++ b/src/components/radiobutton/RadioButton.vue @@ -1,7 +1,8 @@