Skip to content

Commit

Permalink
fix(d.ts): Rename type
Browse files Browse the repository at this point in the history
  • Loading branch information
marker-dao committed Sep 7, 2023
1 parent 005862b commit a15526f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme-angular/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-react/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme/js/ui/tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
Orientation,
SingleOrMultiple,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
} from '../common';

export type ItemLike = string | Item | any;
Expand All @@ -27,7 +27,7 @@ export {
SingleOrMultiple,
Orientation,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
};

/**
Expand Down Expand Up @@ -198,7 +198,7 @@ export interface dxTabsBaseOptions<
* @default 'primary'
* @public
*/
stylingMode?: TabsStylingMode;
stylingMode?: TabsStyle;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/tabs_types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export {
SingleOrMultiple,
Orientation,
TabsIconPosition,
TabsStylingMode,
TabsStyle,
ContentReadyEvent,
DisposingEvent,
InitializedEvent,
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/ts/dx.all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down Expand Up @@ -25759,7 +25759,7 @@ declare module DevExpress.ui {
/**
* [descr:dxTabsOptions.stylingMode]
*/
stylingMode?: DevExpress.common.TabsStylingMode;
stylingMode?: DevExpress.common.TabsStyle;
}
/**
* @deprecated Use Item instead
Expand Down

0 comments on commit a15526f

Please sign in to comment.