From 56efe4897c8ebdd40587756f5f0af1f045fd5b33 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, 10 May 2023 00:43:42 +0300 Subject: [PATCH] Update OrderList.d.ts --- components/lib/orderlist/OrderList.d.ts | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index 59f7f29a2..0d276f0fb 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -19,7 +19,6 @@ export declare type OrderListPassThroughOptionType = OrderListPassThroughAttribu export interface OrderListPassThroughMethodOptions { props: OrderListProps; state: OrderListState; - context: OrderListState; } /** @@ -134,22 +133,6 @@ export interface OrderListState { focusedOptionIndex: number; } -/** - * Defines current inline state in OrderList component. - */ -export interface OrderListState { - /** - * Current active state of the item as a boolean. - * @defaultValue false - */ - active: boolean; - /** - * Current focus state of the item as a boolean. - * @defaultValue false - */ - focused: boolean; -} - /** * Defines valid properties in OrderList component. */ @@ -223,6 +206,11 @@ export interface OrderListProps { * Identifier of the underlying list element. */ 'aria-labelledby'?: string | undefined; + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {OrderListPassThroughOptions} + */ + pt?: OrderListPassThroughOptions; } /**