From a15526f7f5dd5c819e34ed22c5ec46ec1aa8118a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE=20=7C=20Roman=20Ty?= Date: Thu, 7 Sep 2023 13:27:35 +0400 Subject: [PATCH] fix(d.ts): Rename type --- packages/devextreme-angular/src/common/index.ts | 2 +- packages/devextreme-react/src/common/index.ts | 2 +- packages/devextreme-vue/src/common/index.ts | 2 +- packages/devextreme/js/common.d.ts | 2 +- packages/devextreme/js/ui/tabs.d.ts | 6 +++--- packages/devextreme/js/ui/tabs_types.d.ts | 2 +- packages/devextreme/ts/dx.all.d.ts | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/devextreme-angular/src/common/index.ts b/packages/devextreme-angular/src/common/index.ts index 93ee40ec25e0..8bf03d75991c 100644 --- a/packages/devextreme-angular/src/common/index.ts +++ b/packages/devextreme-angular/src/common/index.ts @@ -51,7 +51,7 @@ export { StringLengthRule, SubmenuShowMode, TabsIconPosition, - TabsStylingMode, + TabsStyle, TextBoxPredefinedButton, TextEditorButton, TextEditorButtonLocation, diff --git a/packages/devextreme-react/src/common/index.ts b/packages/devextreme-react/src/common/index.ts index 3b8816fbf65a..83397af54a21 100644 --- a/packages/devextreme-react/src/common/index.ts +++ b/packages/devextreme-react/src/common/index.ts @@ -51,7 +51,7 @@ export { StringLengthRule, SubmenuShowMode, TabsIconPosition, - TabsStylingMode, + TabsStyle, TextBoxPredefinedButton, TextEditorButton, TextEditorButtonLocation, diff --git a/packages/devextreme-vue/src/common/index.ts b/packages/devextreme-vue/src/common/index.ts index 3b8816fbf65a..83397af54a21 100644 --- a/packages/devextreme-vue/src/common/index.ts +++ b/packages/devextreme-vue/src/common/index.ts @@ -51,7 +51,7 @@ export { StringLengthRule, SubmenuShowMode, TabsIconPosition, - TabsStylingMode, + TabsStyle, TextBoxPredefinedButton, TextEditorButton, TextEditorButtonLocation, diff --git a/packages/devextreme/js/common.d.ts b/packages/devextreme/js/common.d.ts index 63b19a642370..864995683650 100644 --- a/packages/devextreme/js/common.d.ts +++ b/packages/devextreme/js/common.d.ts @@ -714,7 +714,7 @@ export type TabsIconPosition = 'top' | 'end' | 'bottom' | 'start'; * @public * @namespace DevExpress.common */ -export type TabsStylingMode = 'primary' | 'secondary'; +export type TabsStyle = 'primary' | 'secondary'; /** * @public diff --git a/packages/devextreme/js/ui/tabs.d.ts b/packages/devextreme/js/ui/tabs.d.ts index 12fbb83d53d4..0f3f91b30c33 100644 --- a/packages/devextreme/js/ui/tabs.d.ts +++ b/packages/devextreme/js/ui/tabs.d.ts @@ -18,7 +18,7 @@ import { Orientation, SingleOrMultiple, TabsIconPosition, - TabsStylingMode, + TabsStyle, } from '../common'; export type ItemLike = string | Item | any; @@ -27,7 +27,7 @@ export { SingleOrMultiple, Orientation, TabsIconPosition, - TabsStylingMode, + TabsStyle, }; /** @@ -198,7 +198,7 @@ export interface dxTabsBaseOptions< * @default 'primary' * @public */ - stylingMode?: TabsStylingMode; + stylingMode?: TabsStyle; } /** diff --git a/packages/devextreme/js/ui/tabs_types.d.ts b/packages/devextreme/js/ui/tabs_types.d.ts index 200ccd109178..5e5540da6550 100644 --- a/packages/devextreme/js/ui/tabs_types.d.ts +++ b/packages/devextreme/js/ui/tabs_types.d.ts @@ -2,7 +2,7 @@ export { SingleOrMultiple, Orientation, TabsIconPosition, - TabsStylingMode, + TabsStyle, ContentReadyEvent, DisposingEvent, InitializedEvent, diff --git a/packages/devextreme/ts/dx.all.d.ts b/packages/devextreme/ts/dx.all.d.ts index 59a44a99db70..04d8a0c032d5 100644 --- a/packages/devextreme/ts/dx.all.d.ts +++ b/packages/devextreme/ts/dx.all.d.ts @@ -1764,7 +1764,7 @@ declare module DevExpress.common { }; export type SubmenuShowMode = 'onClick' | 'onHover'; export type TabsIconPosition = 'top' | 'end' | 'bottom' | 'start'; - export type TabsStylingMode = 'primary' | 'secondary'; + export type TabsStyle = 'primary' | 'secondary'; export type TextBoxPredefinedButton = 'clear'; /** @@ -25759,7 +25759,7 @@ declare module DevExpress.ui { /** * [descr:dxTabsOptions.stylingMode] */ - stylingMode?: DevExpress.common.TabsStylingMode; + stylingMode?: DevExpress.common.TabsStyle; } /** * @deprecated Use Item instead