@@ -87,7 +87,6 @@ import ToggleWrapper from './toggle';
87
87
import ToggleButtonWrapper from './toggle-button';
88
88
import TokenGroupWrapper from './token-group';
89
89
import TopNavigationWrapper from './top-navigation';
90
- import TreeViewWrapper from './tree-view';
91
90
import TutorialPanelWrapper from './tutorial-panel';
92
91
import WizardWrapper from './wizard';
93
92
@@ -170,7 +169,6 @@ export { ToggleWrapper };
170
169
export { ToggleButtonWrapper };
171
170
export { TokenGroupWrapper };
172
171
export { TopNavigationWrapper };
173
- export { TreeViewWrapper };
174
172
export { TutorialPanelWrapper };
175
173
export { WizardWrapper };
176
174
@@ -1659,25 +1657,6 @@ findTopNavigation(selector?: string): TopNavigationWrapper | null;
1659
1657
* @returns {Array<TopNavigationWrapper>}
1660
1658
*/
1661
1659
findAllTopNavigations(selector?: string): Array<TopNavigationWrapper>;
1662
- /**
1663
- * Returns the wrapper of the first TreeView that matches the specified CSS selector.
1664
- * If no CSS selector is specified, returns the wrapper of the first TreeView.
1665
- * If no matching TreeView is found, returns \`null\`.
1666
- *
1667
- * @param {string} [selector] CSS Selector
1668
- * @returns {TreeViewWrapper | null}
1669
- */
1670
- findTreeView(selector?: string): TreeViewWrapper | null;
1671
-
1672
- /**
1673
- * Returns an array of TreeView wrapper that matches the specified CSS selector.
1674
- * If no CSS selector is specified, returns all of the TreeViews inside the current wrapper.
1675
- * If no matching TreeView is found, returns an empty array.
1676
- *
1677
- * @param {string} [selector] CSS Selector
1678
- * @returns {Array<TreeViewWrapper>}
1679
- */
1680
- findAllTreeViews(selector?: string): Array<TreeViewWrapper>;
1681
1660
/**
1682
1661
* Returns the wrapper of the first TutorialPanel that matches the specified CSS selector.
1683
1662
* If no CSS selector is specified, returns the wrapper of the first TutorialPanel.
@@ -2500,16 +2479,6 @@ ElementWrapper.prototype.findTopNavigation = function(selector) {
2500
2479
ElementWrapper.prototype.findAllTopNavigations = function(selector) {
2501
2480
return this.findAllComponents(TopNavigationWrapper, selector);
2502
2481
};
2503
- ElementWrapper.prototype.findTreeView = function(selector) {
2504
- const rootSelector = \`.\${TreeViewWrapper.rootSelector}\`;
2505
- // casting to 'any' is needed to avoid this issue with generics
2506
- // https://github.com/microsoft/TypeScript/issues/29132
2507
- return (this as any).findComponent(selector ? appendSelector(selector, rootSelector) : rootSelector, TreeViewWrapper);
2508
- };
2509
-
2510
- ElementWrapper.prototype.findAllTreeViews = function(selector) {
2511
- return this.findAllComponents(TreeViewWrapper, selector);
2512
- };
2513
2482
ElementWrapper.prototype.findTutorialPanel = function(selector) {
2514
2483
const rootSelector = \`.\${TutorialPanelWrapper.rootSelector}\`;
2515
2484
// casting to 'any' is needed to avoid this issue with generics
@@ -2628,7 +2597,6 @@ import ToggleWrapper from './toggle';
2628
2597
import ToggleButtonWrapper from './toggle-button';
2629
2598
import TokenGroupWrapper from './token-group';
2630
2599
import TopNavigationWrapper from './top-navigation';
2631
- import TreeViewWrapper from './tree-view';
2632
2600
import TutorialPanelWrapper from './tutorial-panel';
2633
2601
import WizardWrapper from './wizard';
2634
2602
@@ -2711,7 +2679,6 @@ export { ToggleWrapper };
2711
2679
export { ToggleButtonWrapper };
2712
2680
export { TokenGroupWrapper };
2713
2681
export { TopNavigationWrapper };
2714
- export { TreeViewWrapper };
2715
2682
export { TutorialPanelWrapper };
2716
2683
export { WizardWrapper };
2717
2684
@@ -4044,23 +4011,6 @@ findTopNavigation(selector?: string): TopNavigationWrapper;
4044
4011
* @returns {MultiElementWrapper<TopNavigationWrapper>}
4045
4012
*/
4046
4013
findAllTopNavigations(selector?: string): MultiElementWrapper<TopNavigationWrapper>;
4047
- /**
4048
- * Returns a wrapper that matches the TreeViews with the specified CSS selector.
4049
- * If no CSS selector is specified, returns a wrapper that matches TreeViews.
4050
- *
4051
- * @param {string} [selector] CSS Selector
4052
- * @returns {TreeViewWrapper}
4053
- */
4054
- findTreeView(selector?: string): TreeViewWrapper;
4055
-
4056
- /**
4057
- * Returns a multi-element wrapper that matches TreeViews with the specified CSS selector.
4058
- * If no CSS selector is specified, returns a multi-element wrapper that matches TreeViews.
4059
- *
4060
- * @param {string} [selector] CSS Selector
4061
- * @returns {MultiElementWrapper<TreeViewWrapper>}
4062
- */
4063
- findAllTreeViews(selector?: string): MultiElementWrapper<TreeViewWrapper>;
4064
4014
/**
4065
4015
* Returns a wrapper that matches the TutorialPanels with the specified CSS selector.
4066
4016
* If no CSS selector is specified, returns a wrapper that matches TutorialPanels.
@@ -4879,16 +4829,6 @@ ElementWrapper.prototype.findTopNavigation = function(selector) {
4879
4829
ElementWrapper.prototype.findAllTopNavigations = function(selector) {
4880
4830
return this.findAllComponents(TopNavigationWrapper, selector);
4881
4831
};
4882
- ElementWrapper.prototype.findTreeView = function(selector) {
4883
- const rootSelector = \`.\${TreeViewWrapper.rootSelector}\`;
4884
- // casting to 'any' is needed to avoid this issue with generics
4885
- // https://github.com/microsoft/TypeScript/issues/29132
4886
- return (this as any).findComponent(selector ? appendSelector(selector, rootSelector) : rootSelector, TreeViewWrapper);
4887
- };
4888
-
4889
- ElementWrapper.prototype.findAllTreeViews = function(selector) {
4890
- return this.findAllComponents(TreeViewWrapper, selector);
4891
- };
4892
4832
ElementWrapper.prototype.findTutorialPanel = function(selector) {
4893
4833
const rootSelector = \`.\${TutorialPanelWrapper.rootSelector}\`;
4894
4834
// casting to 'any' is needed to avoid this issue with generics
0 commit comments