Skip to content

Commit

Permalink
feat(regenerate-all)
Browse files Browse the repository at this point in the history
  • Loading branch information
marker-dao committed Sep 4, 2023
1 parent d199258 commit c4bf662
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
21 changes: 21 additions & 0 deletions packages/devextreme-angular/src/ui/tabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,19 @@ export class DxTabsComponent extends DxComponent implements OnDestroy, OnChanges
}


/**
* [descr:dxTabsOptions.stylingMode]
*/
@Input()
get stylingMode(): string {
return this._getOption('stylingMode');
}
set stylingMode(value: string) {
this._setOption('stylingMode', value);
}


/**
* [descr:WidgetOptions.tabIndex]
Expand Down Expand Up @@ -675,6 +688,13 @@ export class DxTabsComponent extends DxComponent implements OnDestroy, OnChanges
*/
@Output() showNavButtonsChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() stylingModeChange: EventEmitter<string>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
Expand Down Expand Up @@ -754,6 +774,7 @@ export class DxTabsComponent extends DxComponent implements OnDestroy, OnChanges
{ emit: 'selectedItemsChange' },
{ emit: 'selectionModeChange' },
{ emit: 'showNavButtonsChange' },
{ emit: 'stylingModeChange' },
{ emit: 'tabIndexChange' },
{ emit: 'visibleChange' },
{ emit: 'widthChange' }
Expand Down
6 changes: 6 additions & 0 deletions packages/devextreme-react/src/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ class Tabs<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildre
"multiple"])
]),
showNavButtons: PropTypes.bool,
stylingMode: PropTypes.oneOfType([
PropTypes.string,
PropTypes.oneOf([
"primary",
"secondary"])
]),
tabIndex: PropTypes.number,
visible: PropTypes.bool,
width: PropTypes.oneOfType([
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme-vue/src/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type AccessibleOptions = Pick<Properties,
"selectedItems" |
"selectionMode" |
"showNavButtons" |
"stylingMode" |
"tabIndex" |
"visible" |
"width"
Expand Down Expand Up @@ -82,6 +83,7 @@ const DxTabs = createComponent({
selectedItems: Array,
selectionMode: String,
showNavButtons: Boolean,
stylingMode: String,
tabIndex: Number,
visible: Boolean,
width: [Function, Number, String]
Expand Down Expand Up @@ -123,6 +125,7 @@ const DxTabs = createComponent({
"update:selectedItems": null,
"update:selectionMode": null,
"update:showNavButtons": null,
"update:stylingMode": null,
"update:tabIndex": null,
"update:visible": null,
"update:width": null,
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/js/ui/tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ export interface dxTabsBaseOptions<
*/
showNavButtons?: boolean;
/**
* @docid dxTabsOptions.iconPosition
* @default 'start'
* @docid dxTabsOptions.stylingMode
* @default 'primary'
* @public
*/
stylingMode?: TabsStylingMode;
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/ts/dx.all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25753,7 +25753,7 @@ declare module DevExpress.ui {
*/
showNavButtons?: boolean;
/**
* [descr:dxTabsOptions.iconPosition]
* [descr:dxTabsOptions.stylingMode]
*/
stylingMode?: DevExpress.common.TabsStylingMode;
}
Expand Down
3 changes: 3 additions & 0 deletions packages/vue2-strategy/src/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type AccessibleOptions = Pick<Properties,
"selectedItems" |
"selectionMode" |
"showNavButtons" |
"stylingMode" |
"tabIndex" |
"visible" |
"width"
Expand Down Expand Up @@ -82,6 +83,7 @@ const DxTabs = createComponent({
selectedItems: Array,
selectionMode: String,
showNavButtons: Boolean,
stylingMode: String,
tabIndex: Number,
visible: Boolean,
width: [Function, Number, String]
Expand Down Expand Up @@ -123,6 +125,7 @@ const DxTabs = createComponent({
"update:selectedItems": null,
"update:selectionMode": null,
"update:showNavButtons": null,
"update:stylingMode": null,
"update:tabIndex": null,
"update:visible": null,
"update:width": null,
Expand Down

0 comments on commit c4bf662

Please sign in to comment.