From f624aa2b9f8ae156ea005283dc80182774ce2213 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: Tue, 9 May 2023 11:57:03 +0300 Subject: [PATCH] Refactor #3922 - For ToggleButton --- components/lib/togglebutton/ToggleButton.d.ts | 16 +++++------ components/lib/togglebutton/ToggleButton.vue | 4 +-- doc/togglebutton/pt/PTDoc.vue | 28 ++++++++----------- 3 files changed, 22 insertions(+), 26 deletions(-) diff --git a/components/lib/togglebutton/ToggleButton.d.ts b/components/lib/togglebutton/ToggleButton.d.ts index e2c8df251..648a4ea63 100755 --- a/components/lib/togglebutton/ToggleButton.d.ts +++ b/components/lib/togglebutton/ToggleButton.d.ts @@ -29,14 +29,6 @@ export interface ToggleButtonPassThroughOptions { * Uses to pass attributes to the root's DOM element. */ root?: ToggleButtonPassThroughOptionType; - /** - * Uses to pass attributes to the input aria's DOM element. - */ - inputAria?: ToggleButtonPassThroughOptionType; - /** - * Uses to pass attributes to the input's DOM element. - */ - input?: ToggleButtonPassThroughOptionType; /** * Uses to pass attributes to the icon's DOM element. */ @@ -45,6 +37,14 @@ export interface ToggleButtonPassThroughOptions { * Uses to pass attributes to the label's DOM element. */ label?: ToggleButtonPassThroughOptionType; + /** + * Uses to pass attributes to the hidden input wrapper's DOM element. + */ + hiddenInputWrapper?: ToggleButtonPassThroughOptionType; + /** + * Uses to pass attributes to the hidden input's DOM element. + */ + hiddenInput?: ToggleButtonPassThroughOptionType; } /** diff --git a/components/lib/togglebutton/ToggleButton.vue b/components/lib/togglebutton/ToggleButton.vue index a5b68e52b..c1ff13a6d 100755 --- a/components/lib/togglebutton/ToggleButton.vue +++ b/components/lib/togglebutton/ToggleButton.vue @@ -1,6 +1,6 @@