From aabf445f9169b53288c8a268b01168349b92e825 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: Fri, 2 Jun 2023 10:00:36 +0300 Subject: [PATCH] Refactor #3965 - For DataTable & Column & ColumnGroup & Row .d.ts --- components/lib/column/Column.d.ts | 5 +++++ components/lib/columngroup/ColumnGroup.d.ts | 5 +++++ components/lib/datatable/DataTable.d.ts | 5 +++++ components/lib/row/Row.d.ts | 8 +++++++- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index a317a521f..7cbe89a5b 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -572,6 +572,11 @@ export interface ColumnProps { * @type {ColumnPassThroughOptions} */ pt?: ColumnPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/columngroup/ColumnGroup.d.ts b/components/lib/columngroup/ColumnGroup.d.ts index b74ba60f3..443c3c055 100755 --- a/components/lib/columngroup/ColumnGroup.d.ts +++ b/components/lib/columngroup/ColumnGroup.d.ts @@ -49,6 +49,11 @@ export interface ColumnGroupProps { * @type {ColumnGroupPassThroughOptions} */ pt?: ColumnGroupPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index e81542fdc..486cec708 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -1016,6 +1016,11 @@ export interface DataTableProps { * @type {DataTablePassThroughOptions} */ pt?: DataTablePassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/row/Row.d.ts b/components/lib/row/Row.d.ts index 6c15b16d8..54f830268 100755 --- a/components/lib/row/Row.d.ts +++ b/components/lib/row/Row.d.ts @@ -39,7 +39,13 @@ export interface RowPassThroughAttributes { /** * Defines valid properties in Row component. */ -export interface RowProps {} +export interface RowProps { + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; +} /** * Defines valid slots in Row component.