Skip to content

Commit

Permalink
feat(d.ts): Update d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marker-dao committed Sep 5, 2023
1 parent 0f5a4e2 commit 78d2e71
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/devextreme-angular/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
1 change: 1 addition & 0 deletions packages/devextreme-react/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
1 change: 1 addition & 0 deletions packages/devextreme-vue/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
6 changes: 6 additions & 0 deletions packages/devextreme/js/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,12 @@ export type SubmenuShowMode = 'onClick' | 'onHover';
*/
export type TabsIconPosition = 'top' | 'end' | 'bottom' | 'start';

/**
* @public
* @namespace DevExpress.common
*/
export type TabsStylingMode = 'primary' | 'secondary';

/**
* @public
* @namespace DevExpress.common
Expand Down
8 changes: 8 additions & 0 deletions packages/devextreme/js/ui/tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
Orientation,
SingleOrMultiple,
TabsIconPosition,
TabsStylingMode,
} from '../common';

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

/**
Expand Down Expand Up @@ -191,6 +193,12 @@ export interface dxTabsBaseOptions<
* @public
*/
showNavButtons?: boolean;
/**
* @docid dxTabsOptions.iconPosition
* @default 'start'
* @public
*/
stylingMode?: TabsStylingMode;
}

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

/**
Expand Down Expand Up @@ -25751,6 +25752,10 @@ declare module DevExpress.ui {
* [descr:dxTabsOptions.showNavButtons]
*/
showNavButtons?: boolean;
/**
* [descr:dxTabsOptions.iconPosition]
*/
stylingMode?: DevExpress.common.TabsStylingMode;
}
/**
* @deprecated Use Item instead
Expand Down
1 change: 1 addition & 0 deletions packages/vue2-strategy/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export {
StringLengthRule,
SubmenuShowMode,
TabsIconPosition,
TabsStylingMode,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down

0 comments on commit 78d2e71

Please sign in to comment.