From 5b6b09b5b4f8ca3445f1c2f380ecdf0649dd6fa5 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 27 May 2024 23:54:53 +0200 Subject: [PATCH] fix: Missing prop in SidebarPassThroughMethodOptions (#6689) --- components/doc/common/apidoc/index.json | 9 ++++++++- components/lib/sidebar/sidebar.d.ts | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 1de4a3fb2f..96fba4c6a1 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -44884,12 +44884,19 @@ "type": "SidebarPassThroughType>", "description": "Uses to pass attributes to the header's DOM element." }, + { + "name": "closeButton", + "optional": true, + "readonly": false, + "type": "SidebarPassThroughType>", + "description": "Uses to pass attributes to the close button's DOM element." + }, { "name": "closeButtonIcon", "optional": true, "readonly": false, "type": "SidebarPassThroughType>", - "description": "Uses to pass attributes to the close button's DOM element." + "description": "Uses to pass attributes to the close button icon's DOM element." }, { "name": "icons", diff --git a/components/lib/sidebar/sidebar.d.ts b/components/lib/sidebar/sidebar.d.ts index 2738e763d4..55c2ef5fd3 100644 --- a/components/lib/sidebar/sidebar.d.ts +++ b/components/lib/sidebar/sidebar.d.ts @@ -41,6 +41,10 @@ export interface SidebarPassThroughOptions { /** * Uses to pass attributes to the close button's DOM element. */ + closeButton?: SidebarPassThroughType>; + /** + * Uses to pass attributes to the close button icon's DOM element. + */ closeButtonIcon?: SidebarPassThroughType>; /** * Uses to pass attributes to the custom icons content's DOM element.